deadprogram
0d4a963edb
i2c: godocs and separation of testing concerns
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-12-20 18:59:26 +01:00
deadprogram
81810131b8
docs: move AIO drivers into separate section of README
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-12-20 13:47:41 +01:00
deadprogram
d7cd235e7f
aio: remove direct pin, does not make sens here
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-12-20 13:44:24 +01:00
deadprogram
c186638973
aio: separate analog drivers from gpio drivers
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-12-20 13:25:22 +01:00
deadprogram
953c3254e7
core: use canonical import domain of gobot.io for all code
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-12-08 13:24:03 +01:00
deadprogram
91cc0c4299
core: correct test for GPIO grove to match multierror
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-11-07 21:29:52 +01:00
deadprogram
506da4d8a6
core: update I2C drivers to return simply errors
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-11-07 21:29:51 +01:00
deadprogram
03e29d17f1
core: update GPIO drivers to return simply errors
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-11-07 21:29:51 +01:00
deadprogram
08874e4e21
core: no longer return slices of errors, instead use multierror
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-11-07 21:29:51 +01:00
Warren Fernandes
39eb212e35
Removes subtest definitions since they are not supported in go1.6
...
Signed-off-by: Warren Fernandes <warren.f.fernandes@gmail.com>
2016-11-06 11:36:11 -07:00
Warren Fernandes
7eb7d875eb
Adds tests for grove drivers
...
Signed-off-by: Warren Fernandes <warren.f.fernandes@gmail.com>
2016-11-05 21:15:08 -06:00
deadprogram
9faf9eb52a
core: Use time.Sleep unless waiting for a timeout in a select
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-11-05 13:05:49 +01:00
deadprogram
5785a83546
docs: update README for gpio drivers
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-11-01 19:16:23 +01:00
deadprogram
cbf0c8b390
Merge branch 'feature/devices/pirmotion' into dev
2016-11-01 18:15:05 +01:00
Ron Evans
cec5802719
Merge pull request #332 from wfernandes/test-fixing
...
Minor improvements
2016-10-30 22:20:59 +01:00
deadprogram
e01baa7b75
gpio: display events in PIR detect example
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-30 22:07:01 +01:00
deadprogram
d82e893e6f
gpio: PIR Motion sensor now working
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-30 18:50:23 +01:00
Warren Fernandes
facc7e5ae1
Fixes import path
...
Signed-off-by: Warren Fernandes <warren.f.fernandes@gmail.com>
2016-10-27 05:27:22 -06:00
Warren Fernandes
73043610f4
Adds tests for grove temperature sensor driver
...
Signed-off-by: Warren Fernandes <warren.f.fernandes@gmail.com>
2016-10-27 05:21:50 -06:00
Warren Fernandes
44224746b4
Uses time.NewTimer() instead of time.After() to be more efficient.
...
- Makes tests more consistent
- Fixes halt test
- Asserts on returned error
Signed-off-by: Warren Fernandes <warren.f.fernandes@gmail.com>
2016-10-27 03:34:52 -06:00
Warren Fernandes
3f966dc125
Fixes AnalogSensor Halt Test
...
Signed-off-by: Warren Fernandes <warren.f.fernandes@gmail.com>
2016-10-27 03:32:56 -06:00
Warren Fernandes
922e6d98f7
Uses NewTimer() instead of time.After() to be more
...
efficient since the later creates new timers in a
tight loop.
- Adds more assertions to tests
- Adds some comments to help contributors understand
that the send occurs after the Once.
Signed-off-by: Warren Fernandes <warren.f.fernandes@gmail.com>
2016-10-27 03:02:32 -06:00
Warren Fernandes
bbf0b36a91
Adds support for Grove Magnetic Switch Sensor
...
- http://wiki.seeed.cc/Grove-Magnetic_Switch/
Signed-off-by: Warren Fernandes <warren.f.fernandes@gmail.com>
2016-10-26 23:20:43 -06:00
deadprogram
14f5a1989b
gpio: Add initial support for PIR motion detector
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-22 15:17:49 +02:00
deadprogram
5e37140954
i2c: correct signature for Adafruit Motor Hat driver to match latest refactor
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-10 11:04:39 +02:00
deadprogram
e30586acf0
core: Ensure that all drivers have default names
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-04 10:25:14 +02:00
deadprogram
07f674955b
core: Ensure that all drivers have default names
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-03 19:06:37 +02:00
deadprogram
80cc3139d0
core: Refactor I2C drivers for new Driver creation signatures
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-09-25 14:08:18 +02:00
deadprogram
93772e1c37
core: Refactor GPIO drivers for new Driver creation signatures
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-09-25 13:36:18 +02:00
deadprogram
ce773955b4
core: Move GPIO and I2C drivers into appropriately named 'drivers' directory
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-09-25 12:34:09 +02:00