Ayke van Laethem
|
09abe484ba
|
drivers: add generic interface types
|
2018-12-22 18:23:34 +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 |
|
Ron Evans
|
9d863fdf15
|
blinkm: add initial support for BlinkM I2C controlled RGB LED
Signed-off-by: Ron Evans <ron@hybridgroup.com>
|
2018-11-20 15:40:28 +01:00 |
|
Ron Evans
|
61f928136c
|
all: use New() constructor function for simplicity
Signed-off-by: Ron Evans <ron@hybridgroup.com>
|
2018-11-19 20:20:24 +01:00 |
|
Ron Evans
|
c386343c0d
|
build: add placeholder Go file to package root to allow for go get -d package installation
Signed-off-by: Ron Evans <ron@hybridgroup.com>
|
2018-11-19 12:25:00 +01:00 |
|
Ayke van Laethem
|
6f0ace9157
|
mag3110: add driver
|
2018-11-18 20:24:04 +01:00 |
|
Ayke van Laethem
|
36b00aac58
|
mpu6050: read gyroscope
|
2018-11-17 23:45:56 +01:00 |
|
Ayke van Laethem
|
53fbc39809
|
mpu6050: add driver
Only the accelerometer is supported at the moment.
|
2018-11-16 14:55:29 +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
|
947042e435
|
mma8653: rename ReadOrientation to ReadAcceleration
|
2018-11-16 14:54:18 +01:00 |
|
Ayke van Laethem
|
704ef734f5
|
mma8653: fix doc comments
|
2018-11-16 14:53:50 +01:00 |
|
Ayke van Laethem
|
c23954059f
|
ws2812: improve documentation
|
2018-11-16 12:21:17 +01:00 |
|
Ayke van Laethem
|
bd18c71604
|
mma8653: add driver
|
2018-11-16 12:06:16 +01:00 |
|
Ayke van Laethem
|
1f27817061
|
Initial commit
|
2018-10-15 20:47:33 +02:00 |
|