ContentsIndex
PreviousUpNext
Wire(I2C)
Classes | Macros | Variables

 

The Wire API is used to connect LinkIt ONE to other devices through an I2C/TWI bus using the pins shown in Table below. 

 

Table : The I2C pins

Board 
[I2C/TWI] pin 
LinkIt ONE 
D18 Serial Data Wire (SDA)
D19 Serial Clock Wire (SCL) 

 

LinkIt ONE can join the I2C bus as a master only, not as a slave

Classes
Class 
Description 
TwoWire class interface enables LinkIt ONE to connect to other devices through I2C/TWI bus. It occupies pin D18 (SDA) as the serial data wire and pin D19 (SCL) as the serial clock wire. 
Macros
Macro 
Description 
Include Atmel CMSIS driver include  
Variables
Variable 
Description 
Wire 
The Wire object. 
Links