MCPcopy Create free account
hub / github.com/RobTillaart/Arduino / isConnected

Method isConnected

libraries/SHT2x/SHT2x.cpp:78–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76
77
78bool SHT2x::isConnected()
79{
80 _wire->beginTransmission(SHT2x_ADDRESS);
81 int rv = _wire->endTransmission();
82 if (rv != 0) _error = SHT2x_ERR_NOT_CONNECT;
83 return (rv == 0);
84}
85
86
87/////////////////////////////////////////////////////////

Callers 1

unittestFunction · 0.45

Calls

no outgoing calls

Tested by 1

unittestFunction · 0.36