Simplify examples/ws2812

This commit is contained in:
sago35
2024-05-03 10:31:39 +09:00
committed by Ron Evans
parent 1095629f62
commit 5eeba138a4
6 changed files with 7 additions and 32 deletions
+2 -3
View File
@@ -1,10 +1,9 @@
//go:build !digispark && !arduino && !qtpy && !m5stamp_c3 && !thingplus_rp2040
//go:build !digispark && !arduino
package main
import "machine"
// Replace neo and led in the code below to match the pin
// Replace neo in the code below to match the pin
// that you are using if different.
var neo machine.Pin = machine.WS2812
var led = machine.LED