Commit Graph

6 Commits

Author SHA1 Message Date
Ayke van Laethem 4c21e79d0e ws2812: switch to different color format
Use image/color.RGBA to represent RGB colors. This is more standard.
2018-12-22 16:37:36 +01:00
Ayke van Laethem 0d692cfd0a ws2812: provide proper file-like interface in Device
* Return len and errors in the Write method, to implement io.Writer.
* Return a nil error in WriteByte, for compatibility with bufio.
2018-12-22 16:35:27 +01:00
Ayke van Laethem aef8d42d42 ws2812: add support for the Arduino 2018-11-20 21:07:04 +01:00
Ayke van Laethem 16a5f82d44 ws2812: rename WS2812 to Device
This is more consistent with the other drivers.
2018-11-16 14:55:00 +01:00
Ayke van Laethem c23954059f ws2812: improve documentation 2018-11-16 12:21:17 +01:00
Ayke van Laethem 1f27817061 Initial commit 2018-10-15 20:47:33 +02:00