Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RobTillaart/Arduino
/ isConnected
Method
isConnected
libraries/SGP30/SGP30.cpp:58–62 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
56
57
58
bool SGP30::isConnected()
59
{
60
_wire->beginTransmission(_address);
61
return ( _wire->endTransmission() == 0);
62
}
63
64
65
// INITIAL VERSION - needs optimization
Callers
1
unittest
Function · 0.45
Calls
no outgoing calls
Tested by
1
unittest
Function · 0.36