Files
2026-03-26 21:49:06 -04:00

30 lines
877 B
Plaintext

menu "Calendink LED Configuration"
choice CALENDINK_LED_TYPE
prompt "LED Type"
default CALENDINK_LED_TYPE_STRIP
help
Select the type of LED used on the board.
config CALENDINK_LED_TYPE_STRIP
bool "Addressable RGB LED Strip (e.g. WS2812)"
config CALENDINK_LED_TYPE_SIMPLE
bool "Simple GPIO LED (On/Off)"
endchoice
config CALENDINK_LED_GPIO
int "LED GPIO"
default 21
help
GPIO pin for the LED.
config CALENDINK_LED_ACTIVE_LOW
bool "LED is Active Low (0 turns it ON)"
depends on CALENDINK_LED_TYPE_SIMPLE
default y
help
Select this if your LED turns ON when the GPIO is driven low (0V).
Many development boards wire LEDs between VCC and the GPIO pin, making them active low.
endmenu