fixed address changing

This commit is contained in:
Edward Emelianov
2025-09-22 20:34:14 +03:00
parent dc2897e783
commit c29508df6c
3 changed files with 33 additions and 5 deletions

View File

@@ -43,7 +43,6 @@
#define REG_CONTROL_SUBPSEL (1<<3)
#define REG_CONTROL_DATAHOLD (1<<2)
#define REG_CONTROL_SUBPEN (1<<0)
#define REG_MLXADDR 0x8010
#define REG_MLXADDR_MASK (0xff)
// default value
@@ -53,6 +52,9 @@
#define REG_CALIDATA 0x2400
#define REG_CALIDATA_LEN 832
// address in EEPROM (writing to 0x8010 will only change address in RAM)
#define REG_MLXADDR 0x240f
#define REG_APTATOCCS 0x2410
#define REG_OSAVG 0x2411
#define REG_OCCROW14 0x2412