| Libraries

| ## Wire There is a TWI (Two Wire Interface) port available on the Wiring board named Wire. The port Wire is available on the Wiring I/O pins 0(SCL) and 1(SDA). |  | 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. |  |