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