Overview of TinyWireM
masterTinyWireM is an I2C library specifically designed for ATtiny microcontrollers (such as the Adafruit Trinket or Gemma). It is an adaptation of BroHogan's USI I2C code, modified for consistency with the standard Arduino Wire library. Key differences include:
- Uses
write()instead ofsend()to match the Arduino 1.0 Wire API. - Includes a slightly increased buffer size to support
Adafruit_LEDBackpackusage.
On Trinket boards, the I2C pins are:
- SDA (Data): Pin #0
- SCK (Clock): Pin #2