This commit is contained in:
Daniel Esteban
2026-04-16 20:12:27 +02:00
committed by Ron Evans
parent 2673cc1e9a
commit e960a6ff57
3 changed files with 7 additions and 6 deletions
+1 -1
View File
@@ -6,5 +6,5 @@ import "machine"
// newWS2812Device creates a WS2812 device using the bit-bang driver.
func newWS2812Device(pin machine.Pin) Device {
return Device{Pin: pin, writeColorFunc: writeColorsRGB}
return Device{Pin: pin, brightness: 255, writeColorFunc: writeColorsRGB}
}