Wire
Wiring TWI port available on pins 0 and 1.
beginTransmission()
Starts data transmission to the specified device.
endTransmission()
Marks the end of a transmission to a device.
begin()
Initiates the TWI as a Master or a slave using the address specified.
onReceive()
Set the function that executes whenever data is received
as a slave device.
onRequest()
Set the function that executes whenever data is requested
by a master from this device.
receive()
Returns a byte received from a device.
requestFrom()
Start reading a specified number of bytes from the device specified with a given address.
available()
Returns the number of bytes available.
send()
Sends data to a device.
|