Commit Graph

8 Commits

Author SHA1 Message Date
Marc-Antoine Ruel 50d5869808 Fix go test ./...
Make all examples to not be built by default by adding the build tag 'example'.
Some files were automatically reformatted by goimports upon saving.
2017-03-13 11:01:39 -04: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 4230d2ab2f examples: remove Master unless needed for less code
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-18 21:08:25 +02:00
deadprogram 458c750f33 core: refactor/rename internal name of Master type
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-15 20:02:54 +02:00
deadprogram acfdbee0cb core: Convert all examples to use new Adaptor/Driver signatures
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-03 16:58:43 +02:00
deadprogram fc82503428 core: Refactor examples to allow 'metal' development using Gobot adaptors/drivers.
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-09-12 21:33:14 +02:00
Hrishikesh Tapaswi 42475e479d Get I2C functionality before doing SMBus block I/O
In the sysfs i2cDevice implementation, use an ioctl to get the adapter
functionality mask. Prefer SMBus block I/O but if it's not available,
perform read/write calls directly on the file descriptor.

Improve Wiichuck error handling. Add a 1 ms delay between I/O operations
to the Wiichuck; this dramatically improves reliability.

Signed-off-by: Hrishikesh Tapaswi <hrishikesh195@yahoo.com>
2016-02-17 12:25:15 -08:00
Hrishikesh Tapaswi 8f79c322e0 Add support for the CHIP platform
This includes support for GPIO and I2C interfaces.

Signed-off-by: Hrishikesh Tapaswi <hrishikesh195@yahoo.com>
2016-02-17 12:25:14 -08:00