1
0
mirror of https://github.com/hybridgroup/gobot.git synced 2025-05-14 19:29:32 +08:00

25 Commits

Author SHA1 Message Date
Thomas Kohler
be1ccf07e4
gpio(all): introduce functional options (#1045) 2023-12-03 18:03:02 +01:00
Thomas Kohler
7f78edefcd
lint(all): fix issues of errorlint etc (#1037) 2023-11-15 20:51:52 +01:00
Thomas Kohler
aee81436c9
lint(all): switch to 1.55.2 and adjust linter issues (#1036) 2023-11-12 14:17:02 +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
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
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
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
Stuart Leeks
66af2582e9
Update function signatures in gpioTestAdaptor 2020-03-30 21:36:32 +01: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
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
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
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
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
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
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