Wire h library arduino

broken image
broken image
broken image

The Arduino Due has two I2C / TWI interfaces SDA1 and SCL1 are near to the AREF pin and the additional one is on pins 20 and 21.Īs a reference the table below shows where TWI pins are located on various Arduino boards.Īs of Arduino 1.0, the library inherits from the Stream functions, making it consistent with other read/write libraries. On the Arduino boards with the R3 layout (1.0 pinout), the SDA (data line) and SCL (clock line) are on the pin headers close to the AREF pin. This library allows you to communicate with I2C / TWI devices. Reference Language | Libraries | Comparison | Changes

broken image