Skip to content

Add WS2812 LED strip sample and overlays#12

Open
EstebanMenti wants to merge 2 commits intoiomico-public:mainfrom
EstebanMenti:main
Open

Add WS2812 LED strip sample and overlays#12
EstebanMenti wants to merge 2 commits intoiomico-public:mainfrom
EstebanMenti:main

Conversation

@EstebanMenti
Copy link
Copy Markdown

Introduce a WS2812 LED strip sample: add Kconfig options for update delay and brightness, enable LED strip/I2S/DMA in prj.conf, and implement a new main.cpp that drives an LED strip via the Zephyr led_strip API (I2S + DMA). Add device-tree overlay (and a matching zip) for esp32s3 DevKitC to configure I2S, DMA and a ws2812 node. Update west.yml to prefer the espressif HAL. These changes wire up board/device configuration and sample application code to run a simple moving-color pattern on a WS2812 strip.

Introduce a WS2812 LED strip sample: add Kconfig options for update delay and brightness, enable LED strip/I2S/DMA in prj.conf, and implement a new main.cpp that drives an LED strip via the Zephyr led_strip API (I2S + DMA). Add device-tree overlay (and a matching zip) for esp32s3 DevKitC to configure I2S, DMA and a ws2812 node. Update west.yml to prefer the espressif HAL. These changes wire up board/device configuration and sample application code to run a simple moving-color pattern on a WS2812 strip.
Introduce APP_LED_SUBSYSTEM menuconfig and include deps/Kconfig.deps; reorganize WS2812 LED settings under a new 'Board Configuration -> LED WS2812' menu. Widen SAMPLE_LED_UPDATE_DELAY range to 10-1000 and keep SAMPLE_LED_BRIGHTNESS. Add an 'Options' menu with a blink-period choice (1000ms / 500ms) and a PERIOD_BLINKING config to control blinking behavior. Update prj.conf to set CONFIG_APP_LED_INT_SAMPLE_BRIGHTNESS=75 and enable CONFIG_APP_LED_ENABLE_CUSTOM_BLINK_PATTERN.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant