tinygo.org/x/drivers@v0.27.1-0.20240509133757-7dbca2a54349/examples/ws2812/digispark.go (about) 1 //go:build digispark 2 3 package main 4 5 import "machine" 6 7 func init() { 8 // This is the pin assignment for the Digispark only. 9 // Replace neo and led in the code below to match the pin 10 // that you are using if different. 11 neo = machine.Pin(0) 12 }