Syntax
void begin();
ContentsIndex
PreviousUpNext
TwoWire::begin Method
TwoWire Class | Example
Syntax
void begin();
Description

Sets up the host address for I2C communication. LinkIt ONE supports void TwoWire:begin(void), which means the I2C bus is joined as a host. To use the Wire library, under normal conditions, this function must be called and called only once.

Example
#include <Wire.h>
void setup()
{
    Wire.begin();
}
void loop()
{

}
File

Wire.h

Class