mirror of
https://github.com/eddyem/stm32samples.git
synced 2026-02-28 03:44:30 +03:00
fixed address changing
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user