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

Method isConnected

libraries/SHT31/SHT31.cpp:100–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98
99
100bool SHT31::isConnected()
101{
102 _wire->beginTransmission(_address);
103 int rv = _wire->endTransmission();
104 if (rv != 0) _error = SHT31_ERR_NOT_CONNECT;
105 return (rv == 0);
106}
107
108#ifdef doc
109// bit - description

Callers 1

unittestFunction · 0.45

Calls

no outgoing calls

Tested by 1

unittestFunction · 0.36