mirror of
https://github.com/tinygo-org/drivers.git
synced 2026-08-31 03:49:02 +00:00
fix issue #858
This commit is contained in:
committed by
Ron Evans
parent
2673cc1e9a
commit
e960a6ff57
@@ -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}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user