Commit Graph

23 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 7f78edefcd
lint(all): fix issues of errorlint etc (#1037) 2023-11-15 20:51:52 +01:00
Thomas Kohler a4a8d1079c
build(style): switch to gofumpt and add linters (#1009) 2023-10-20 20:50:42 +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 6f970f7f6c FEATURE: bmxy8z use ReadBlockData 2022-10-10 06:51:39 +02:00
deadprogram 3aa0cf5b89 i2c: small refactoring and increase test coverage for bmp180
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-27 17:07:44 +02:00
deadprogram fa7ce5c646 i2c: increase test coverage for bmp180 and jdh1313m1 drivers
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-04 15:58:40 +02:00
deadprogram 56a67a6626 i2c: ensure bmp180 returns Temperature() error, if any
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-31 23:01:10 +02:00
deadprogram 203444b3f3 i2c: minor adjustments to remove metalinter warnings
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-21 09:28:46 +01:00
deadprogram 11a7587f09 i2c: add some additional comments for godocs awesomeeness
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-11 12:34:51 +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
Leonardo Arias Fonseca (¡paz y baile!) dbbec9ff4f
Remove the unused attributes 2016-12-30 11:31:08 -06:00
Leonardo Arias Fonseca (¡paz y baile!) dd068d379c
Change the driver API 2016-12-30 11:17:49 -06:00
Leonardo Arias Fonseca (¡paz y baile!) ed15a16fef
Fix fmt 2016-12-29 15:44:05 -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