src/HapTouch.cpp
// Begin()
// Sets up the I2C bus. This call is optional, in which case sketch
// must manually setup I2C. For example, when you have multiple devices
// on I2C bus and don't want different devices calling Wire.begin().
Begin()
Sets up the I2C bus. This call is optional, in which case sketch
must manually setup I2C. For example, when you have multiple devices
on I2C bus and don't want different devices calling Wire.begin().
Begin () Sets up the I2C bus . This call is optional in which case sketch must manually setup I2C . For example when you have multiple devices on I2C bus and don ' t want different devices calling Wire . begin () .
void HapTouch::begin()
{
  Wire.setModule(_i2c_module);        
  Wire.begin();             
}
void HapTouch :: begin ( ) { Wire . setModule ( _i2c_module ) ; Wire . begin ( ) ; }
Begin()
Sets up the I2C bus.
Begin () Sets up the I2C bus .
// G2 need to use I2C on pins 14/15 // join i2c bus (address optional for controller)