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