Left for archival purposes.

User avatar
By sancho
#4197 Hello.

The implemented i2c works great.
However, I am missing one feature - ability to verify i2c acknowledge.
It would be great if the i2c.address, i2c.read and i2c.write reported back 0 for missing ACK and 1 for ACK received.
This would allow i2c bus scan such as http://playground.arduino.cc/Main/I2cScanner
User avatar
By zeroday
#4271 My mistake. wrong api doc, doc fixed now.
i2c.address return true if acked, false if not acked
i2c.write return how many bytes write
i2c.read return string read in