MCPcopy Create free account
hub / github.com/SmingHub/Sming / begin

Method begin

Sming/Libraries/I2Cdev/I2Cdev.cpp:1335–1343  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1333 TwoWire::TwoWire() { }
1334
1335 void TwoWire::begin(void) {
1336 rxBufferIndex = 0;
1337 rxBufferLength = 0;
1338
1339 txBufferIndex = 0;
1340 txBufferLength = 0;
1341
1342 twi_init();
1343 }
1344
1345 void TwoWire::beginTransmission(uint8_t address) {
1346 //beginTransmission((uint8_t)address);

Callers

nothing calls this directly

Calls 1

twi_initFunction · 0.70

Tested by

no test coverage detected