Initial commit.
Some checks failed
Sync remain PRs to Jira / Sync PRs to Jira (push) Has been cancelled
Some checks failed
Sync remain PRs to Jira / Sync PRs to Jira (push) Has been cancelled
This commit is contained in:
19
examples/common/ws2812_led/Kconfig
Normal file
19
examples/common/ws2812_led/Kconfig
Normal file
@@ -0,0 +1,19 @@
|
||||
menu "WS2812 RGB LED"
|
||||
|
||||
config WS2812_LED_ENABLE
|
||||
bool "Enable RGB LED"
|
||||
default n if IDF_TARGET_ESP32 || !SOC_RMT_SUPPORTED
|
||||
default y
|
||||
help
|
||||
Disable the WS2812 RGB LED.
|
||||
|
||||
config WS2812_LED_GPIO
|
||||
int "WS2812 LED GPIO"
|
||||
default 8 if IDF_TARGET_ESP32C3 || IDF_TARGET_ESP32C6 || IDF_TARGET_ESP32H2
|
||||
default 48 if IDF_TARGET_ESP32S3
|
||||
default 18
|
||||
depends on WS2812_LED_ENABLE
|
||||
help
|
||||
Set the WS2812 RGB LED GPIO.
|
||||
|
||||
endmenu
|
||||
Reference in New Issue
Block a user