ws2812: add support for m5stamp-c3

This commit is contained in:
sago35
2022-01-27 18:03:00 +09:00
committed by Ron Evans
parent ad3ef92cfe
commit 10bd48c39d
3 changed files with 13 additions and 7 deletions
+11
View File
@@ -0,0 +1,11 @@
//go:build qtpy || m5stamp_c3
// +build qtpy m5stamp_c3
package main
import "machine"
// Replace neo and led in the code below to match the pin
// that you are using if different.
var neo machine.Pin = machine.WS2812
var led = machine.NoPin