1
0
mirror of https://github.com/hybridgroup/gobot.git synced 2025-04-26 13:48:49 +08:00

93 Commits

Author SHA1 Message Date
Thomas Kohler
a04ce8a7f2
gpio: fix data race in StepperDriver (#1029) 2023-11-09 20:31:18 +01:00
Thomas Kohler
9e311b28e4
gpio: fix data race in PIRMotionDriver (#1028) 2023-11-01 15:49:02 +01:00
Thomas Kohler
c41604f5f9
gpio: fix data race in ButtonDriver (#1027) 2023-11-01 14:51:07 +01:00
Thomas Kohler
6ef7450e2e
gpio: fix data race in EasyDriver (#1025) 2023-10-31 18:12:07 +01:00
Thomas Kohler
f219a4055d
gpio(hcsr04): add driver for ultrasonic ranging module (#1012) 2023-10-27 21:06:07 +02:00
Thomas Kohler
f7f482010b
tests(gpio,aio): cleanup helper_test (#1018) 2023-10-27 20:46:45 +02:00
Thomas Kohler
002c75ce88
test(all): substitude assert.Nil by assert.NoError if useful (#1016) 2023-10-26 20:34:19 +02:00
Thomas Kohler
f9950e247d
test(all): substitude assert.Error by assert.ErrorContains (#1014) 2023-10-25 20:21:18 +02:00
Thomas Kohler
ee4368b10f
test(all): substitude assert.Errorf by assert.Error (#1011) 2023-10-21 10:08:03 +02:00
Thomas Kohler
a4a8d1079c
build(style): switch to gofumpt and add linters (#1009) 2023-10-20 20:50:42 +02:00
Thomas Kohler
3039b2c7cb
test(all): switch to test package stretchr testify (#1006) 2023-10-20 10:27:09 +02:00
Thomas Kohler
f5d8d5c601
all(style) : fix linter issues for errcheck, ineffassign, unused and fix errors (#950) 2023-06-12 19:51:25 +02:00
Thomas Kohler
0d0a508c60
core(build): CLI removed (#946)
* core(build): CLI removed
* adjust install instructions in doc and README
* fix master_test and remove useless/duplicated tests examples_test.go
2023-06-04 18:36:55 +02:00
Thomas Kohler
865e724af0
Build(v2): revert move to v2 subfolder (#932)
* revert move to v2 subfolder
* fix CI and adjust CHANGELOG
2023-05-29 19:23:28 +02:00
Thomas Kohler
d908619462
Build(v2): fix usage by moving code to a v2 subfolder (#927) 2023-05-22 19:35:36 +02:00
Thomas Kohler
949392d8a7
Fix(core): Semantic Import Versioning for v2 (#921) 2023-05-20 14:25:21 +02:00
Thomas Kohler
fcdf286f1d
Fix(build): linter findings of "gosimple", "govet" and "staticcheck" (#917)
Fix also encoder and dps overflow in gopigo3 "GetMotorStatus()". Problem found by "staticcheck".
2023-05-19 14:16:22 +02:00
Thomas Kohler
946131356e
fix/add some comments (#901) 2023-02-14 13:57:24 +01:00
Thomas Kohler
348c5af324 BUGFIX: Adafruit1109 bad characters on Halt() 2022-10-18 09:21:45 +02:00
Thomas Kohler
63472854a6 mcp23017: add mutex for write, hd44780: fix mutexes 2022-04-17 16:29:33 +02:00
Thomas Kohler
4565cc38de introduce adafruit1109 2x16 LCD with 5 keys 2022-04-17 16:29:33 +02:00
tdaira
15284227bb Add delay for Run function of StepperDriver. 2020-11-28 12:50:18 +01:00
deadprogram
879e89e227 gpio: correct test for hd44780 driver to match newer signature
Signed-off-by: deadprogram <ron@hybridgroup.com>
2020-11-28 12:42:26 +01:00
nigamishibumi
5ecfcdfbb8 Add HD44780 support 2020-11-28 12:36:02 +01:00
Stuart Leeks
73eafc5237
Update RelayDriver to invert value written on Inverted 2020-03-31 06:43:00 +01:00
Stuart Leeks
558e98193b
Add tests for DigitalWrite value 2020-03-31 06:40:22 +01:00
Stuart Leeks
66af2582e9
Update function signatures in gpioTestAdaptor 2020-03-30 21:36:32 +01:00
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