tinygo.org/x/drivers@v0.27.1-0.20240509133757-7dbca2a54349/examples/ws2812/others.go (about)

     1  //go:build !digispark && !arduino
     2  
     3  package main
     4  
     5  import "machine"
     6  
     7  func init() {
     8  	// Replace neo in the code below to match the pin
     9  	// that you are using if different.
    10  	neo = machine.WS2812
    11  }