Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RobTillaart/Arduino
/ wakeup
Method
wakeup
libraries/GY521/GY521.cpp:76–82 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
74
75
76
bool GY521::wakeup()
77
{
78
_wire->beginTransmission(_address);
79
_wire->write(GY521_PWR_MGMT_1);
80
_wire->write(GY521_WAKEUP);
81
return (_wire->endTransmission() == 0);
82
}
83
84
85
int16_t GY521::read()
Callers
nothing calls this directly
Calls
1
write
Method · 0.45
Tested by
no test coverage detected