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

@@ -52,22 +52,13 @@
; ---------------------------------------------------------------------------
; LED module
.equ LED_SIMPLE_ONTIME = 1 ; shorter
.equ LED_SIMPLE_OFFTIME = 50 ; longer
.equ LED_SIMPLE_DDR = DDRB
.equ LED_SIMPLE_PORT = PORTB
.equ LED_SIMPLE_PORTIN = PINB
.equ LED_SIMPLE_PINNUM = PORTB0
; ---------------------------------------------------------------------------
; LED activity module
.equ LED_ACTIVITY_DDR = DDRB
.equ LED_ACTIVITY_PORT = PORTB
.equ LED_ACTIVITY_PORTIN = PINB
.equ LED_ACTIVITY_PINNUM = PORTB1
.equ LED1_DEFAULT_ONTIME = 1 ; shorter
.equ LED1_DEFAULT_OFFTIME = 99 ; longer
.equ LED1_DEFAULT_REPEATS = 0 ; continous
.equ LED1_DDR = DDRB
.equ LED1_PORT = PORTB
.equ LED1_PORTIN = PINB
.equ LED1_PINNUM = PORTB0