Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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)
50
bool 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
unittest
Function · 0.45
Calls
no outgoing calls
Tested by
1
unittest
Function · 0.36