MCPcopy Create free account
hub / github.com/SmingHub/Sming / read

Function read

samples/Humidity_AM2321/app/application.cpp:14–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12const int SDA = 4;
13
14void read()
15{
16 Serial << am2321.read() << ',' << am2321.temperature / 10.0 << ',' << am2321.humidity / 10.0 << endl;
17}
18
19} // namespace
20

Callers 10

executeMethod · 0.85
readMethod · 0.85
read_blockingMethod · 0.85
read_blockingMethod · 0.85
getMethod · 0.85
readStringMethod · 0.85
timedReadMethod · 0.85
peekNextDigitMethod · 0.85
parseIntMethod · 0.85
parseFloatMethod · 0.85

Calls 1

readMethod · 0.45

Tested by

no test coverage detected