MCPcopy Create free account
hub / github.com/RobTillaart/Arduino / begin

Method begin

libraries/INA226/INA226.cpp:50–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48
49#if defined (ESP8266) || defined(ESP32)
50bool INA226::begin(const uint8_t sda, const uint8_t scl)
51{
52 _wire = &Wire;
53 _wire->begin(sda, scl);
54 if (! isConnected()) return false;
55 return true;
56}
57#endif
58
59

Callers 1

unittestFunction · 0.45

Calls

no outgoing calls

Tested by 1

unittestFunction · 0.36