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
84dfbc9f89
gpio: adjust test timeouts
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-21 11:13:56 +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
Ron Evans
9430e6e751
Merge pull request #406 from vlastv/fix-gpio-motor
...
Fix incorrect change state
2017-04-12 17:40:41 +02:00
Vladislav Vlastovskiy
8c62d8ce86
Fix test on mode change when speed is set
2017-04-12 18:07:37 +03:00
Vladislav Vlastovskiy
dc88e80dca
Fix incorrect change state
2017-04-12 16:32:46 +03: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
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
deadprogram
fe94979487
gpio: eliminate race conditions introduced by tests
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-02 17:42:01 +02:00
deadprogram
b6c8138551
gpio: reduce test side effects
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-02 17:15:45 +02: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
4041bdc740
gpio: use new improved default namer to avoid API conflicts
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-02 15:37:09 +01:00
deadprogram
6c027af8d0
gpio: removed scaling function from servo driver
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-01-25 08:54:25 +01:00
deadprogram
53ffbbd2bb
gpio: correct servo driver to pass along angle to adaptor to sort out implementation
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-01-25 08:49:30 +01:00
deadprogram
885c829a43
license: update license year to include 2017
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-01-02 22:25:17 +01:00
deadprogram
ecb03b64e1
gpio: move test def for LED into test file
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-12-23 09:37:09 +01:00
deadprogram
d4b4f06cdc
docs: correct GPIO README link
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-12-21 10:56:38 +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
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
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
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