Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RobTillaart/Arduino
/ begin
Method
begin
libraries/INA219/INA219.cpp:53–59 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
51
52
#if defined (ESP8266) || defined(ESP32)
53
bool INA219::begin(const uint8_t sda, const uint8_t scl)
54
{
55
_wire = &Wire;
56
_wire->begin(sda, scl);
57
if (! isConnected()) return false;
58
return true;
59
}
60
#endif
61
62
Callers
1
unittest
Function · 0.45
Calls
no outgoing calls
Tested by
1
unittest
Function · 0.36