1
0
mirror of https://github.com/hybridgroup/gobot.git synced 2025-05-02 22:17:12 +08:00

28 Commits

Author SHA1 Message Date
Thomas Kohler
63472854a6 mcp23017: add mutex for write, hd44780: fix mutexes 2022-04-17 16:29:33 +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
abbeeeb14c switch off debug 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
b673706fef prepare refactoring of PR569 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
88b78ff762 fix write/read gpio 2018-06-30 15:09:33 -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
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
04c8af0e22 i2c: reorder driver implementations based on suggestions from @goinggo
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-10 11:44:36 +01:00
deadprogram
51f6aba47c i2c: refactoring of the interface/implementations based on feedback and golinter
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-10 11:08:32 +01:00
deadprogram
03eba3853e i2c: correct godocs to match new constructor signatures with optional params
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-09 16:47:11 +01:00
deadprogram
21bdf5aa26 i2c: completed implemetation of I2cConfig interface
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-09 14:35:48 +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
169af71bb0 i2c: use new improved default namer to avoid API conflicts
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-02 15:46: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
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
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
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