Files
drivers/ws2812/ws2812_init_other.go
Daniel Esteban e960a6ff57 fix issue #858
2026-04-17 10:27:04 +01:00

11 lines
258 B
Go

//go:build !rp2040 && !rp2350
package ws2812
import "machine"
// newWS2812Device creates a WS2812 device using the bit-bang driver.
func newWS2812Device(pin machine.Pin) Device {
return Device{Pin: pin, brightness: 255, writeColorFunc: writeColorsRGB}
}