ws2812: work-arounds to allow Digispark to control WS2812 LEDs

Signed-off-by: Ron Evans <ron@hybridgroup.com>
This commit is contained in:
Ron Evans
2020-01-28 17:53:50 +01:00
committed by Ayke
parent c8e62562b5
commit 5f4806f0f9
5 changed files with 82 additions and 8 deletions
+9
View File
@@ -0,0 +1,9 @@
// +build !digispark
package main
import "machine"
// Replace neo in the code below to match the pin
// that you are using if different.
var neo machine.Pin = machine.NEOPIXELS