Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RobTillaart/Arduino
/ isConnected
Method
isConnected
libraries/ADS1x15/ADS1X15.cpp:189–193 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
187
188
189
bool ADS1X15::isConnected()
190
{
191
_wire->beginTransmission(_address);
192
return (_wire->endTransmission() == 0);
193
}
194
195
196
void ADS1X15::setGain(uint8_t gain)
Callers
1
unittest
Function · 0.45
Calls
no outgoing calls
Tested by
1
unittest
Function · 0.36