mirror of
https://github.com/tinygo-org/drivers.git
synced 2026-08-16 21:03:23 +00:00
ws2812: rename the pin to ws2812
This commit is contained in:
@@ -6,5 +6,5 @@ import "machine"
|
|||||||
|
|
||||||
// Replace neo and led in the code below to match the pin
|
// Replace neo and led in the code below to match the pin
|
||||||
// that you are using if different.
|
// that you are using if different.
|
||||||
var neo machine.Pin = machine.NEOPIXELS
|
var neo machine.Pin = machine.WS2812
|
||||||
var led = machine.LED
|
var led = machine.LED
|
||||||
|
|||||||
Reference in New Issue
Block a user