Commit Graph

15 Commits

Author SHA1 Message Date
deadprogram ca3a9bdbda i2c: test coverage for Close()
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-20 18:21:12 +01:00
Erik Agsjö f0873adea6 Removed smbus block operations
Signed-off-by: Erik Agsjö <erik.agsjo@gmail.com>
2017-02-27 20:53:01 +01:00
deadprogram f37238727e i2c: move Config into separate file for clarity
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-13 08:31:49 +01:00
deadprogram ace49b2037 i2c: reorder core implementation based on suggestions from @goinggo
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-10 11:54:45 +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 5790cb502a i2c: add godocs for updated i2c functionality
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-09 13:12:45 +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
deadprogram 4ebb3b8597 i2c: add interface and implementation to allow i2c devices to be connected to alternate i2c buses than default
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-09 09:41:12 +01:00
Erik Agsjö 398663a200 Small doc change
Signed-off-by: Erik Agsjö <erik.agsjo@gmail.com>
2017-02-06 20:08:27 +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
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 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