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

39 Commits

Author SHA1 Message Date
Thomas Kohler
a8f47eaae8
build(go, deps): switch to Go 1.22 and update modules (#1093) 2024-11-01 12:54:20 +01:00
Thomas Kohler
026fd03532
test: try to stabilize eventer tests (#1066) 2024-02-13 10:33:46 +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
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
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
c8335aaf85
BUGFIX: I2C connection-bus caching and multiple device usage 2023-02-04 13:22:22 +01:00
Thomas Kohler
cef04066e3
Improve: use base driver for all I2C devices 2022-12-10 13:10:23 +01:00
Thomas Kohler
348c5af324 BUGFIX: Adafruit1109 bad characters on Halt() 2022-10-18 09:21:45 +02:00
Thomas Kohler
1cd34fdde0 don't panic on 'With*' allow simpler wrapping of drivers 2022-04-08 19:42:13 +02:00
Thomas Kohler
ee7bc59a9c add tests, shrink access to some internal variables 2022-04-08 19:42:13 +02:00
Thomas Kohler
491b14f1b9 introduce speed optimizations and related tests 2022-04-08 19:42:13 +02:00
Thomas Kohler
52f13b70b8 final cleanup of code and tests 2022-04-08 19:42:13 +02:00
Thomas Kohler
d43d3430d9 fixed PinMode, SetPullUp and SetPolarity, unit tests activated 2022-04-08 19:42:13 +02:00
Thomas Kohler
37eeda80f5 ReadGPIO fixed with #576, failing leftovers for PinMode, SetPullUp and SetPolarity 2022-04-08 19:42:13 +02:00
Thomas Kohler
954d535093 failing leftovers after usage of PR #569 2022-04-08 19:42:13 +02:00
Thomas Kohler
8f995aa272 FIX the bug #568 without further impact, heavy improvements of tests 2022-04-08 19:42:13 +02:00
Thomas Kohler
f035ce3753 start by rollback code to state before 2018/06/21 2022-04-08 19:42:13 +02:00
Ulises Flynn
1e999769d7 restore driver interface test 2018-06-21 09:10:04 -06:00
Ulises Flynn
49f7c034fc fixed bug in read/write gpio code, and cleaned up some comments 2018-06-20 22:16:09 -06:00
deadprogram
000eeaeaf3 i2c: increase test coverage
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-12 11:47:42 +02:00
deadprogram
f9afd87eae i2c: additional refactoring MCP23017 driver to support new optional params
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-14 11:30:56 +01:00
deadprogram
7caad1dac4 i2c: refactor MCP23017 driver to support new optional params
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-14 10:54:20 +01:00
deadprogram
c8b4d443ba i2c: increase test coverage for drivers
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-11 11:53:19 +01:00
deadprogram
90bd2d594f i2c: complete adding optional param with alternative i2c bus for all i2c drivers
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-09 11:23:36 +01:00
Erik Agsjö
543a246916 Updated all i2c drivers to new interface
Signed-off-by: Erik Agsjö <erik.agsjo@gmail.com>

Fixed I2C interface bugs

Signed-off-by: Erik Agsjö <erik.agsjo@gmail.com>
2017-02-06 15:06:00 +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
506da4d8a6 core: update I2C 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
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
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