Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SmingHub/Sming
/ GetSensorID
Method
GetSensorID
Sming/Libraries/DS18S20/ds18s20.cpp:249–255 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
247
}
248
249
uint64_t DS18S20::GetSensorID(uint8_t index)
250
{
251
if (index <= numberOf)
252
return addresses[index];
253
else
254
return 0;
255
}
256
257
uint8_t DS18S20::GetSensorsCount()
258
{
Callers
1
readData
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected