Skip to content

Commit 5e117c1

Browse files
sago35aykevl
authored andcommitted
ws2812: rename the pin to ws2812
1 parent 24dfd87 commit 5e117c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/ws2812/others.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ import "machine"
66

77
// Replace neo and led in the code below to match the pin
88
// that you are using if different.
9-
var neo machine.Pin = machine.NEOPIXELS
9+
var neo machine.Pin = machine.WS2812
1010
var led = machine.LED

0 commit comments

Comments
 (0)