tinygo.org/x/drivers@v0.27.1-0.20240509133757-7dbca2a54349/examples/ws2812/qtpy.go (about) 1 //go:build qtpy 2 3 package main 4 5 import "machine" 6 7 func init() { 8 pwr := machine.NEOPIXELS_POWER 9 pwr.Configure(machine.PinConfig{Mode: machine.PinOutput}) 10 pwr.High() 11 }