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
-5
View File
@@ -5,11 +5,6 @@ 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.NEOPIXELS
var led = machine.NoPin
func init() {
pwr := machine.NEOPIXELS_POWER
pwr.Configure(machine.PinConfig{Mode: machine.PinOutput})