Commit Graph

126 Commits

Author SHA1 Message Date
deadprogram 3d7bf12156 i2c: add test coverage for bme280
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-01 13:46:37 +02:00
deadprogram e14bfb726f i2c: add test coverage for bmp280
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-01 13:21:38 +02:00
deadprogram 821fbf272e i2c: adds Altitude() function to BMP280/BME280
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-01 10:29:57 +02:00
deadprogram bdb24109af i2c: functional bmp180 temperature/pressure and bme280 humidity
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-31 23:01:10 +02:00
deadprogram 1b8a772400 i2c: BME280 readings coming in, still working on conversion functions
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-31 23:01:10 +02:00
deadprogram f523fc6447 i2c: bmp280/bme280 raw reading in place, just need the conversions
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-31 23:01:10 +02:00
deadprogram c9b992aaa5 i2c: add bmp280 driver, then encapsulate it with bme280 and add Humidity
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-31 23:01:10 +02:00
deadprogram 8940824ff0 i2c: refactoring since the bme280 is not the same as the bmp180
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-31 23:01:10 +02:00
deadprogram 56a67a6626 i2c: ensure bmp180 returns Temperature() error, if any
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-31 23:01:10 +02:00
dsockwell c34bbee3c7 Humidity compensation formula input, needs verification 2017-03-31 23:01:10 +02:00
deadprogram a1ed7ad144 i2c: Placeholder method for doing humidity adjustment for BME280 support
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-31 23:01:10 +02:00
deadprogram fa2b6a3ea2 i2c: WIP on adding BME280 support
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-31 23:01:10 +02:00
Jordi Llonch a66cfb1580 SSD1306 Commands
Signed-off-by: Jordi Llonch <llonchj@gmail.com>
2017-03-31 15:55:33 +11:00
Jordi Llonch e6aebcec48 Initial ssd1306 driver implementation
Signed-off-by: Jordi Llonch <llonchj@gmail.com>
2017-03-31 15:05:11 +11:00
deadprogram 678476b612 aio: additional test coverage for Analog Sensor
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-23 13:18:22 +01:00
deadprogram 518a563597 aio: additional test coverage for Grove Temperature Sensor
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-23 13:13:14 +01:00
deadprogram dae55b5dec gpio: increase test coverage for motor driver
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-21 12:59:19 +01:00
deadprogram 4c7c57c211 gpio: increase test coverage for motor driver
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-21 12:49:39 +01:00
deadprogram ba90bb1800 gpio: increase test coverage for buzzer driver
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-21 12:37:27 +01:00
deadprogram d4d2c6ef34 gpio: increase test coverage for PIR and servo drivers
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-21 12:27:12 +01:00
deadprogram 224f08930a gpio: increase test coverage for relay driver
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-21 12:15:54 +01:00
deadprogram ccd03a1b19 gpio: increase test coverage for relay driver
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-21 12:14:38 +01:00
deadprogram 4ff1b0c83c gpio: increase test coverage for buzzer driver
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-21 11:59:38 +01:00
deadprogram 2d541ca238 gpio: increase test coverage for button, buzzer, direct pin, led, motor, and rgb led drivers
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-21 11:55:46 +01:00
deadprogram 2314d96eea gpio: increase test coverage for buzzer and relay drivers
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-21 11:38:18 +01:00
deadprogram 203444b3f3 i2c: minor adjustments to remove metalinter warnings
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-21 09:28:46 +01:00
deadprogram ca3a9bdbda i2c: test coverage for Close()
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-20 18:21:12 +01:00
deadprogram c1a7fec541 i2c: increase jhd1313m1 test coverage
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-18 17:53:10 +01:00
Ron Evans 248fea6238 Merge pull request #386 from erkkah/drv2605-bugfix
Small bugfix for the DRV2605 driver
2017-03-15 22:00:36 +01:00
Erik Agsjö 732847196d Fixed a bug where drv2605 keeps triggering after shutdown
Signed-off-by: Erik Agsjö <erik.agsjo@gmail.com>
2017-02-28 00:54:21 +01:00
Erik Agsjö ea93b203bd Added more capabilities checks for I2C
Signed-off-by: Erik Agsjö <erik.agsjo@gmail.com>
2017-02-27 23:40:14 +01:00
Erik Agsjö f0873adea6 Removed smbus block operations
Signed-off-by: Erik Agsjö <erik.agsjo@gmail.com>
2017-02-27 20:53:01 +01:00
deadprogram 9f838bd0ae i2c: update list of supported i2c devices
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-24 08:19:20 +01:00
Ron Evans 43e6566280 Merge pull request #375 from erkkah/drv2605l-driver
Driver for the DRV2605L haptic controller
2017-02-22 08:06:55 +01:00
Erik Agsjö 29c6a1451e Added simple example for TSL2561 on C.H.I.P
Signed-off-by: Erik Agsjö <erik.agsjo@gmail.com>
2017-02-21 22:47:21 +01:00
Erik Agsjö 9b0425480d Minor doc readability change
Signed-off-by: Erik Agsjö <erik.agsjo@gmail.com>
2017-02-20 23:51:13 +01:00
Erik Agsjö d8661ec444 Updated TSL2561 driver to latest i2c changes
Signed-off-by: Erik Agsjö <erik.agsjo@gmail.com>
2017-02-20 23:24:12 +01:00
Erik Agsjö 91ac234094 Fixed TSL2561 driver tests
Signed-off-by: Erik Agsjö <erik.agsjo@gmail.com>
2017-02-20 22:44:08 +01:00
Erik Agsjö e7e0fde3fc Moved to ReadWordData for TSL2561, fixed weird problem
Signed-off-by: Erik Agsjö <erik.agsjo@gmail.com>
2017-02-20 22:44:08 +01:00
Erik Agsjö 96987554c2 Updated tsl2561 driver to use new I2cConnector
Signed-off-by: Erik Agsjö <erik.agsjo@gmail.com>
2017-02-20 22:44:08 +01:00
Erik Agsjö daa0af365a Added driver for Adafruit TSL2561
Signed-off-by: Erik Agsjö <erik.agsjo@gmail.com>
2017-02-20 22:44:08 +01:00
Erik Agsjö c91465c8ce Adapted DRV2605L driver to latest i2c changes
Signed-off-by: Erik Agsjö <erik.agsjo@gmail.com>
2017-02-20 22:43:27 +01:00
Erik Agsjö e9b05a9b4a Updated DRV2605L driver to new I2C interface
Signed-off-by: Erik Agsjö <erik.agsjo@gmail.com>
2017-02-20 22:43:27 +01:00
Erik Agsjö c889755027 New driver for Adafruit DRV2605L
Cleanup, added more tests for DRV2605L driver

Fixed documentation + formatting
2017-02-20 22:43:27 +01:00
deadprogram a9306fe21b i2c: small README update
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-15 12:41:20 +01:00
deadprogram 3344273d28 i2c: increase test coverage
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-14 17:10:04 +01:00
deadprogram 408ccd86c1 i2c: increase test coverage
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-14 16:51:55 +01:00
deadprogram 9a0dc0a012 jhd1313m1: add some test coverage
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-14 14:44:35 +01:00
deadprogram 34befb5b77 i2c: just one more tests for Connection
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-14 14:29:51 +01:00
deadprogram 7df004dd46 i2c: a few more tests for Connection
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-14 13:41:01 +01:00