avr: fixed definitions to use updated LED module.

This commit is contained in:
Martin Preuss
2026-05-04 14:35:55 +02:00
parent 67d5d1687d
commit 44bb477680
50 changed files with 213 additions and 233 deletions

View File

@@ -39,22 +39,32 @@
; ---------------------------------------------------------------------------
; LED module
.equ LED_SIMPLE_ONTIME = 1 ; shorter
.equ LED_SIMPLE_OFFTIME = 99 ; longer
.equ LED_SIMPLE_DDR = DDRA
.equ LED_SIMPLE_PORT = PORTA
.equ LED_SIMPLE_PORTIN = PINA
.equ LED_SIMPLE_PINNUM = PORTA3
; green LED
.equ LED1_DEFAULT_ONTIME = 1 ; shorter
.equ LED1_DEFAULT_OFFTIME = 99 ; longer
.equ LED1_DEFAULT_REPEATS = 0 ; continous
.equ LED1_DDR = DDRA
.equ LED1_PORT = PORTA
.equ LED1_PORTIN = PINA
.equ LED1_PINNUM = PORTA3
; yellow LED
.equ LED2_DEFAULT_ONTIME = 1
.equ LED2_DEFAULT_OFFTIME = 99
.equ LED2_DEFAULT_REPEATS = 0
.equ LED2_DDR = DDRA
.equ LED2_PORT = PORTA
.equ LED2_PORTIN = PINA
.equ LED2_PINNUM = PORTA0
; ---------------------------------------------------------------------------
; LED Activity module
.equ LED_ACTIVITY_DDR = DDRA
.equ LED_ACTIVITY_PORT = PORTA
.equ LED_ACTIVITY_PORTIN = PINA
.equ LED_ACTIVITY_PINNUM = PORTA3
; red LED
.equ LED3_DEFAULT_ONTIME = 1
.equ LED3_DEFAULT_OFFTIME = 99
.equ LED3_DEFAULT_REPEATS = 0
.equ LED3_DDR = DDRA
.equ LED3_PORT = PORTA
.equ LED3_PORTIN = PINA
.equ LED3_PINNUM = PORTA2