diff --git a/avr/devices/n00/n00_main.asm b/avr/devices/n00/n00_main.asm index 11dd1dd..18ef59f 100644 --- a/avr/devices/n00/n00_main.asm +++ b/avr/devices/n00/n00_main.asm @@ -70,12 +70,12 @@ ; --------------------------------------------------------------------------- ; defines for values -.equ VALUE_ID_TEMP1 = 0x01 -.equ VALUE_ID_HUM1 = 0x02 +.equ VALUE_ID_SI7021_TEMP = 0x01 +.equ VALUE_ID_SI7021_HUM = 0x02 -.equ VALUE_ID_ADC = 0x03 -.equ VALUE_ID_REED1 = 0x04 -.equ VALUE_ID_REED2 = 0x05 +.equ VALUE_ID_ADC = 0x03 +.equ VALUE_ID_REED1 = 0x04 +.equ VALUE_ID_REED2 = 0x05 diff --git a/avr/devices/n06/n06_main.asm b/avr/devices/n06/n06_main.asm index 5a942bf..e76a440 100644 --- a/avr/devices/n06/n06_main.asm +++ b/avr/devices/n06/n06_main.asm @@ -70,12 +70,12 @@ ; --------------------------------------------------------------------------- ; defines for values -.equ VALUE_ID_TEMP1 = 0x01 -.equ VALUE_ID_HUM1 = 0x02 +.equ VALUE_ID_SI7021_TEMP = 0x01 +.equ VALUE_ID_SI7021_HUM = 0x02 -.equ VALUE_ID_ADC = 0x03 -.equ VALUE_ID_REED1 = 0x04 -.equ VALUE_ID_REED2 = 0x05 +.equ VALUE_ID_ADC = 0x03 +.equ VALUE_ID_REED1 = 0x04 +.equ VALUE_ID_REED2 = 0x05 diff --git a/avr/devices/n11/n11_main.asm b/avr/devices/n11/n11_main.asm index f8a77fa..1e2d887 100644 --- a/avr/devices/n11/n11_main.asm +++ b/avr/devices/n11/n11_main.asm @@ -71,14 +71,16 @@ ; --------------------------------------------------------------------------- ; defines for values -.equ VALUE_ID_TEMP1 = 0x01 -.equ VALUE_ID_HUM1 = 0x02 +.equ VALUE_ID_SI7021_TEMP = 0x01 +.equ VALUE_ID_SI7021_HUM = 0x02 .equ VALUE_ID_ADC = 0x03 .equ VALUE_ID_REED1 = 0x04 .equ VALUE_ID_REED2 = 0x05 .equ VALUE_ID_DS18B20_TEMP = 0x06 +.equ VALUE_ID_REED_CONF = 0x81 + ; *************************************************************************** @@ -216,10 +218,11 @@ sramTimerEnqueueValues: .byte 2 .cseg +#ifdef MODULES_LED ledA3Flash: .db DDRA+0x20, PORTA+0x20, PINA+0x20, (1<