Skip to content
Snippets Groups Projects
Commit 6fec4e00 authored by rahix's avatar rahix
Browse files

fix(ws2812): Fix first write making the first pixel green


The first epic_ws2812_write() call will set the first pixel to 0x008000
(bright green).  This is caused by the GPIO line being pulled down on
mode-setting (epic_gpio_set_pin_mode).  Wait before writing the values
to reset the bus and thus properly set the pixels to the correct colors
on first write.

Signed-off-by: default avatarRahix <rahix@rahix.de>
parent c779e543
No related branches found
No related tags found
Loading
Checking pipeline status
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment