Arduino I2C Master library (originally by Wayne Truchsess)
Switch branches/tags
Nothing to show
Clone or download
Latest commit 4583d63 Jul 13, 2017

Arduino I2C master library

A better I2C master library, originally by Wayne Truchsess. See

On most Arduino boards, SDA (data line) is on analog input pin 4, and SCL (clock line) is on analog input pin 5. On the Arduino Mega, SDA is digital pin 20 and SCL is 21. (source:

Pro tip

For devices that don't use de-facto standard register scheme you can use the low-level methods directly