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
7f78edefcd
lint(all): fix issues of errorlint etc ( #1037 )
2023-11-15 20:51:52 +01: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
fdf4f4b194
Bugfix/Improvement: Introduce SpiBusAdaptor and spi.Driver for composition in platforms/drivers
...
and fix for #794
2022-12-17 11:56:11 +01:00
Thomas Kohler
cef04066e3
Improve: use base driver for all I2C devices
2022-12-10 13:10:23 +01:00
Thomas Kohler
3559e7892e
Introduce I2cBusAdaptor for composition in platforms
2022-12-08 19:29:51 +01:00
Thomas Kohler
2476bd9541
BUGFIX/Improvement: TH02 wrong register for heater, use i2c.Driver
2022-10-02 15:47:41 +02:00
Thomas Kohler
ad59d23e2e
introduce generic i2c.Driver with example for digispark
...
fix missing/wrong entries in README
stabilize test
2022-10-02 14:18:08 +02:00
Thomas Kohler
fc4894bd51
NEW: i2c.ReadBlockData(), BUGFIX: Read*Data() in digispark and some small other fixes
2022-10-01 17:33:02 +02:00
Thomas Kohler
52f13b70b8
final cleanup of code and tests
2022-04-08 19:42:13 +02:00
Thomas Kohler
f312f00278
fix helper_test ReadByteData, ReadWordData to use reg
2022-03-19 08:04:37 +01:00
deadprogram
d6781a478a
i2c: remove unused test code
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-06-15 14:04:08 +02:00
deadprogram
000eeaeaf3
i2c: increase test coverage
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-12 11:47:42 +02:00
deadprogram
06671698f2
i2c: eliminate race conditions introduced by tests
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-02 20:10:12 +02: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
f8f92af056
i2c: update function signatures to have correct types
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-09 09:44:32 +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
Erik Agsjö
f41021c17a
Change to make I2C support more than one bus, and use
...
other access methods than block operations.
Signed-off-by: Erik Agsjö <erik.agsjo@gmail.com>
Added ReadWordData to i2c connection
Signed-off-by: Erik Agsjö <erik.agsjo@gmail.com>
Code cleanup
2017-02-06 14:57:19 +01:00
Leonardo Arias Fonseca (¡paz y baile!)
e3fa891e4f
Undo unnecesary change
2016-12-29 15:44:48 -06:00
Leonardo Arias Fonseca (¡paz y baile!)
de09f3ea53
Add the I2C driver for BMP180
...
https://www.adafruit.com/products/1603
2016-12-29 15:42:00 -06: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