c03: implemented setdata message handling for SensorWatch

storing/restoring data from EEPROM doesn't work, yet.
This commit is contained in:
Martin Preuss
2026-01-21 22:48:44 +01:00
parent e5a999e9b6
commit d64157f7ef
5 changed files with 294 additions and 97 deletions

View File

@@ -99,7 +99,20 @@
.equ VALUE_ID_LEDSIMPLE_TIMING = 0x88
.equ VALUE_ID_SENSOR_CO2_BASE = 0x90
.equ VALUE_ID_SENSOR_CO2_SOURCE = 0x90
.equ VALUE_ID_SENSOR_CO2_LIMWARN = 0x91
.equ VALUE_ID_SENSOR_CO2_LIMCRIT = 0x92
.equ VALUE_ID_SENSOR_TEMP_BASE = 0x93
.equ VALUE_ID_SENSOR_TEMP_SOURCE = 0x93
.equ VALUE_ID_SENSOR_TEMP_LIMWARN = 0x94
.equ VALUE_ID_SENSOR_TEMP_LIMCRIT = 0x95
.equ VALUE_ID_SENSOR_HUM_BASE = 0x96
.equ VALUE_ID_SENSOR_HUM_SOURCE = 0x96
.equ VALUE_ID_SENSOR_HUM_LIMWARN = 0x97
.equ VALUE_ID_SENSOR_HUM_LIMCRIT = 0x98
@@ -301,6 +314,10 @@ test:
;.include "modules/lcd2/ili9341/font12x20_1.asm"
;.include "common/list_t.asm"
;.include "common/tree_t.asm"
.include "common/eeprom_tlv.asm"
;.include "common/eeprom-r.asm"
.include "common/divide.asm"
.include "common/itoa.asm"
.include "common/ressource.asm"