n25: use pin PA5 to select led strip driver to use

does nothing for now but will later allow to select between SK6812 and SPI.
This commit is contained in:
Martin Preuss
2025-06-25 00:05:19 +02:00
parent cbf88e05fe
commit bf50871208

View File

@@ -17,7 +17,7 @@
; PB3 4 11 PA2
; PB2 5 10 PA3 LED
; COM_ATTN PA7 6 9 PA4 LED_CLK
; LED_DATA PA6 7 8 PA5
; LED_DATA PA6 7 8 PA5 LED_Mode (0 for SPI)
; --------
;
; ***************************************************************************
@@ -80,6 +80,16 @@
.equ OWI_PINNUM = PORTB0
; ---------------------------------------------------------------------------
; LED mode pin
.equ LED_MODE_DDR = DDRA
.equ LED_MODE_PORTOUT = PORTA
.equ LED_MODE_PORTIN = PINA
.equ LED_MODE_PINNUM = PORTA5
; ---------------------------------------------------------------------------
; SK6812