ws2812: add support for the ESP32-C3 processor

This adds support to the WS2812 for the ESP32-C3 processor
which is a RISC-V processor from Espressif.

Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
deadprogram
2026-03-07 10:27:10 +01:00
committed by Ron Evans
parent 04acd8e666
commit 1d695a231a
9 changed files with 478 additions and 394 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
//go:build !digispark && !arduino && !arduino_uno
//go:build !digispark && !arduino && !arduino_uno && !xiao_esp32c3
package main
+11
View File
@@ -0,0 +1,11 @@
//go:build xiao_esp32c3
package main
import "machine"
func init() {
// Replace neo in the code below to match the pin
// that you are using if different.
neo = machine.D6
}