Commit Graph

66 Commits

Author SHA1 Message Date
Andre Engelbrecht c7d6ea7569 Added ability to make a relay driver inverted (#674)
* gpio: Added ability to make a relay driver inverted
2019-06-25 07:13:17 +02:00
Brendan Stennett 59cbea5eb6 Added some missing tests to increase coverage 2019-05-22 11:34:39 +02:00
Brendan Stennett d072e758c0 Add SparkFun’s EasyDriver (and BigEasyDriver)
Signed-off-by: Brendan Stennett <brendan@thinkdataworks.com>
2019-05-22 11:34:39 +02:00
Daniel Esteban 1c82bf72af Simplify code as suggested in #617 2019-05-22 11:34:39 +02:00
Dhruva Sagar 24de9c0fb1 Improve Stepper Driver
* Ensure StepperDriver embeds gobot.Commander to allow for command
  driven workflow
* Add a few core commands available out of the box for control via
  command workflow
2018-05-28 23:14:09 +05:30
Daniel Esteban bcf63b08b3 Initial support for MAX7219 (gpio) led driver 2018-05-05 19:18:35 +02:00
Daniel Esteban d84c724e5c typo fix 2018-04-12 12:25:39 +02:00
Daniel Esteban 8e6391105d Added initial support for AIP1640 led driver, used in Wemos D1 mini's
matrix LED shield
2018-04-12 12:25:39 +02:00
Ron Evans c4acb468af docs: add references to new drivers for ADXL345, BH1750, and TM1638.
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-02-14 09:40:39 +01:00
Ron Evans 7ca9db598f docs: update copyright date to 2018
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-02-14 08:24:39 +01:00
Daniel Esteban f3150c7ed9 Initial support for TM1638 modules 2018-02-11 19:34:47 +01:00
Aniket 10925804ae some refactoring 2017-12-02 17:39:04 +08:00
Aniket 0fa30aeb62 Adding stepper motor module 2017-12-02 14:01:07 +08:00
deadprogram 9f1e5fe34b gpio: Add ButtonDriver.DefaultState to allow for 'reverse' buttons (ones that go from HIGH to LOW)
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-10-22 10:28:39 +02:00
deadprogram f16e2cdb04 gpio: correct docs formatting for Servo driver
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-06-23 20:14:24 +02:00
deadprogram 26b97e2217 gpio: avoid race condition on starting test
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-05-03 12:04:37 +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 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