For Arduino Yùn, adds new REST commands, enabling tunnelling for I2C messages:
- /arduino/I2C/<device>/B|W/<address>/<count>/ -> I2C read data (dataHEX)
- /arduino/I2C/<device>/B|W/<address>/<count>/<dataHEX> -> I2C write data
Note: Tested using Arduino YUN and DS1307, AT24C32 - The code is optimized for smallest footprint.
This library uses the I2C library (https://github.com/rambo/I2C)
The analog I2Ctunnelw uses the Wire library (https://www.arduino.cc/en/reference/wire)
See also Arduino-library-getDS1307ts.