hybridgroup.gobot/sysfs
Hrishikesh Tapaswi 4fdcb6e718 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-06 20:21:02 -08:00
..
digital_pin.go go lint and documentation tweaks for the sysfs package 2014-12-31 06:12:25 -08:00
digital_pin_test.go Account for already exported pins and unexportable pins 2014-12-23 12:43:55 -08:00
doc.go Add docs 2014-10-30 16:22:25 -07:00
fs.go go lint and documentation tweaks for the sysfs package 2014-12-31 06:12:25 -08:00
fs_mock.go go lint and documentation tweaks for the sysfs package 2014-12-31 06:12:25 -08:00
fs_mock_test.go go lint and documentation tweaks for the sysfs package 2014-12-31 06:12:25 -08:00
fs_test.go go lint and documentation tweaks for the sysfs package 2014-12-31 06:12:25 -08:00
i2c_device.go Get I2C functionality before doing SMBus block I/O 2016-02-06 20:21:02 -08:00
i2c_device_test.go Get I2C functionality before doing SMBus block I/O 2016-02-06 20:21:02 -08:00
syscall.go go lint and documentation tweaks for the sysfs package 2014-12-31 06:12:25 -08:00