avr: add MODE variable to sk6812 module.

this allows for better control over led strips.

Modes:
- AUTO: allow other modules to switch LED strip
- OFF:  force LED strip off
- ON:   force LED strip on
This commit is contained in:
Martin Preuss
2025-10-01 23:24:50 +02:00
parent dafe32792a
commit 81e9078b80
6 changed files with 89 additions and 24 deletions

View File

@@ -90,6 +90,7 @@
.equ VALUE_ID_MAL_SOURCE2 = 0x87
.equ VALUE_ID_MAL_BSOURCE = 0x89
.equ VALUE_ID_MAL_BVALUE = 0x8a
.equ VALUE_ID_LED_MODE = 0x8b
.equ VALUE_ID_LEDSIMPLE_TIMING = 0x88