Ayke van Laethem
7116778235
ws2812: add support for M0 at 48MHz: most SAMD21 boards
2019-02-24 23:10:10 +01:00
Ayke van Laethem
4ff437e5d4
ws2812: add nrf52 support, update timings for m0 and avr
...
This commit adds support for the nrf52, which is a Cortex-M4 running at
64MHz.
While implementing this, I discovered that the timings for AVR/16MHz and
Cortex-M0 at 16MHz weren't quite right. They do work, but were slightly
out of spec. So I fixed this as well.
2019-02-22 07:10:22 +01:00
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