Commit Graph

194 Commits

Author SHA1 Message Date
deadprogram c9ec619219 aio: ensure that AnalogSensor event Data is always int
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-30 09:59:00 +02:00
deadprogram e3ca19eaa3 gpio: avoid possible race condition in button test
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-27 17:19:32 +02:00
deadprogram 3aa0cf5b89 i2c: small refactoring and increase test coverage for bmp180
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-27 17:07:44 +02:00
deadprogram acfdcc1f3a i2c: increase ads1x15 test coverage
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-27 16:34:00 +02:00
deadprogram 86e15b4b71 i2c: add ads1115 to list of supported devices
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-27 16:13:29 +02:00
bezineb5 03f178e3a6 Fixed issue with Go 1.7 2017-04-27 09:23:41 -04:00
bezineb5 7eabd4e2e4 Fixed a bug with the ADS1015 reading. Updated example. 2017-04-27 09:10:03 -04:00
bezineb5 95c71a2efc Added method to determine the gain easily 2017-04-27 09:01:43 -04:00
bezineb5 a950f60c78 Removed duplicate files 2017-04-27 09:01:43 -04:00
bezineb5 9ba655f87d Merged both 1015 drivers into one! 2017-04-27 09:01:43 -04:00
bezineb5 9728cef5ed Added comments 2017-04-27 09:01:43 -04:00
bezineb5 c09f8066d8 Added support for the ADS1015 and ADS1115 ADCs 2017-04-27 09:01:43 -04:00
bezineb5 02692c89dd Added comments 2017-04-27 08:59:17 -04:00
bezineb5 1e266a33a9 Added support for the ADS1015 and ADS1115 ADCs 2017-04-27 08:59:17 -04:00
deadprogram ce7b34d031 aio: correct order for test to avoid race
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-24 18:25:47 +02:00
deadprogram 823d478a51 i2c: correct reads to use simple file reads for ads1015 adc, and increase test coverage
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-24 18:15:49 +02:00
deadprogram 29420987ac i2c: add ads1015 adc to README
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-24 17:58:30 +02:00
deadprogram 0de58756bb i2c: support working for ads1015 adc providing AnalogReader interface
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-24 17:56:13 +02:00
deadprogram 3f89f7842c i2c: initial WIP on support for ADS1015
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-24 09:59:43 +02:00
deadprogram 84dfbc9f89 gpio: adjust test timeouts
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-21 11:13:56 +02:00
deadprogram d27ad850f3 aio: adjust test timeouts
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-21 11:03:28 +02:00
deadprogram 6f3e81e8be gpio: only need to support DigitalReader/DigitalWriter interface
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-15 18:41:07 +02:00
deadprogram 30df5dc11e aio: only need to support AnalogReader interface
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-15 18:40:41 +02:00
Ron Evans 9430e6e751 Merge pull request #406 from vlastv/fix-gpio-motor
Fix incorrect change state
2017-04-12 17:40:41 +02:00
deadprogram 6ae2003622 i2c: small refactor and increase test coverage for l3gd20h
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-12 17:37:05 +02:00
deadprogram 4b5fb71afb i2c: increase test coverage for tsl2561
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-12 17:23:28 +02:00
Vladislav Vlastovskiy 8c62d8ce86 Fix test on mode change when speed is set 2017-04-12 18:07:37 +03:00
deadprogram 9f03dff53a i2c: increase test coverage for tsl2561
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-12 16:56:47 +02:00
deadprogram 4714568628 i2c: small refactor and increase test coverage for tsl2561
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-12 16:44:15 +02:00
deadprogram 913ea01d3a i2c: increase test coverage for mpu6050
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-12 16:36:27 +02:00
deadprogram d8a0b9ae60 i2c: copy wiichuck joystick data in test to avoid race conditions
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-12 16:11:55 +02:00
deadprogram 1dd9b1abc4 i2c: copy wiichuck joystick data to avoid race conditions
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-12 16:00:22 +02:00
Vladislav Vlastovskiy dc88e80dca Fix incorrect change state 2017-04-12 16:32:46 +03:00
deadprogram 000eeaeaf3 i2c: increase test coverage
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-12 11:47:42 +02:00
deadprogram 3b5d873f4b gpio: increase test coverage for direct pin driver
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-12 11:17:44 +02:00
deadprogram 15be67be79 i2c: correctly return error, and increase test coverage for adafruit hat driver
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-11 15:50:56 +02:00
deadprogram 8b4c1e1b8a i2c: increase test coverage for jhd1313m1
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-11 15:28:43 +02:00
deadprogram dbb1ffd4f6 i2c: increase test coverage for drv2605l
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-11 15:16:41 +02:00
deadprogram cbb86f7d85 i2c: increase test coverage for drv2605l
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-11 15:05:43 +02:00
deadprogram b4029d6524 i2c: increase test coverage for tsl2561
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-11 14:51:03 +02:00
deadprogram 994fadcfc2 i2c: refactor and increase test coverage for tsl2561
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-11 14:17:04 +02:00
deadprogram 021587e511 aio: ensure event handler is setup before starting test
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-11 12:59:21 +02:00
deadprogram a85a6c35f1 i2c: remove panics and increase test coverage for tsl2561
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-11 12:50:32 +02:00
deadprogram c1cfc4f3b1 i2c: increase test coverage
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-11 12:29:31 +02:00
deadprogram 4f25013001 i2c: increase test coverage for adafruit motor hat driver
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-09 12:28:29 +02:00
deadprogram d3fc0bd1e5 i2c: increase test coverage for Adafruit Motor HAT
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-07 17:38:57 +02:00
deadprogram 6be8bd0b2a i2c: increase test coverage for tsl2561
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-07 17:28:59 +02:00
deadprogram fa7ce5c646 i2c: increase test coverage for bmp180 and jdh1313m1 drivers
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-04 15:58:40 +02:00
deadprogram 83cc9bfc31 gpio: increase test coverage for buzzer driver
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-04 15:42:45 +02:00
deadprogram cba0736827 gpio: increase test coverage for direct pin driver
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-04 15:36:10 +02:00