mirror of
https://github.com/tinygo-org/drivers.git
synced 2026-08-31 11:59:01 +00:00
ws2812: add support for m5stamp-c3
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user