init led problem fix
This commit is contained in:
@@ -78,6 +78,7 @@ void sendByte(uint8_t byte) {
|
|||||||
|
|
||||||
void ws2812_init(void) {
|
void ws2812_init(void) {
|
||||||
palSetLineMode(WS2812_DI_PIN, WS2812_OUTPUT_MODE);
|
palSetLineMode(WS2812_DI_PIN, WS2812_OUTPUT_MODE);
|
||||||
|
gpio_write_pin_low(WS2812_DI_PIN);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Setleds for standard RGB
|
// Setleds for standard RGB
|
||||||
|
|||||||
Reference in New Issue
Block a user