From 6cb0ecd9ba655585578df6fbfa5c374407bf61a3 Mon Sep 17 00:00:00 2001 From: Martin Preuss Date: Fri, 8 May 2026 00:28:07 +0200 Subject: [PATCH] gui: added some text ressources. --- avr/devices/c03/main/ressources.asm | 22 +++++++++++++++++++++- avr/devices/c03/main/ressources.inc | 5 +++++ 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/avr/devices/c03/main/ressources.asm b/avr/devices/c03/main/ressources.asm index bcc57ae..dd44ff1 100644 --- a/avr/devices/c03/main/ressources.asm +++ b/avr/devices/c03/main/ressources.asm @@ -24,7 +24,7 @@ .org RESSOURCE_ADDR RessourceTable: - .dw 55 ; num of ressources + .dw 60 ; num of ressources .dw (resImageNetwork*2) ; 0: RESSOURCE_IMG_NETWORK .dw (resImageCloud*2) ; 1: RESSOURCE_IMG_CLOUD .dw (resImageTemp*2) ; 2: RESSOURCE_IMG_TEMP @@ -87,6 +87,12 @@ RessourceTable: .dw (resTextLesserThan*2) ; 53: RESSOURCE_TXT_LESSERTHAN_C .dw (resTextGreaterThan*2) ; 54: RESSOURCE_TXT_GREATERTHAN_C + .dw (resTextNodeAddr*2) ; 55: RESSOURCE_TXT_NODEADDR + .dw (resTextValueId*2) ; 56: RESSOURCE_TXT_VALUEID + .dw (resTextMotionSensor1*2) ; 57: RESSOURCE_TXT_MOTIONSENSOR1 + .dw (resTextMotionSensor2*2) ; 58: RESSOURCE_TXT_MOTIONSENSOR2 + .dw (resTextLightSensor*2) ; 59: RESSOURCE_TXT_LIGHTSENSOR + resImageNetwork: .dw DISPLAY_IMAGETYPE_IDX2RLE @@ -1187,6 +1193,20 @@ resTextLesserThan: resTextGreaterThan: .db ">", 0 +resTextNodeAddr: + .db "Adresse", 0 + +resTextValueId: + .db "Variable", 0, 0 + +resTextMotionSensor1: + .db "Bew.-Sensor 1", 0 + +resTextMotionSensor2: + .db "Bew.-Sensor 2", 0 + +resTextLightSensor: + .db "Lichtsensor", 0 diff --git a/avr/devices/c03/main/ressources.inc b/avr/devices/c03/main/ressources.inc index eceada1..066cf2e 100644 --- a/avr/devices/c03/main/ressources.inc +++ b/avr/devices/c03/main/ressources.inc @@ -69,6 +69,11 @@ .equ RESSOURCE_TXT_LESSERTHAN_C = 53 .equ RESSOURCE_TXT_GREATERTHAN_C = 54 +.equ RESSOURCE_TXT_NODEADDR = 55 +.equ RESSOURCE_TXT_VALUEID = 56 +.equ RESSOURCE_TXT_MOTIONSENSOR1 = 57 +.equ RESSOURCE_TXT_MOTIONSENSOR2 = 58 +.equ RESSOURCE_TXT_LIGHTSENSOR = 59 #endif ; AQH_AVR_DEVICE_C03_RESSOURCES_INC