Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
12
const int SDA = 4;
13
14
void read()
15
{
16
Serial << am2321.read() <<
','
<< am2321.temperature / 10.0 <<
','
<< am2321.humidity / 10.0 << endl;
17
}
18
19
} // namespace
20
Callers
10
execute
Method · 0.85
read
Method · 0.85
read_blocking
Method · 0.85
read_blocking
Method · 0.85
get
Method · 0.85
readString
Method · 0.85
timedRead
Method · 0.85
peekNextDigit
Method · 0.85
parseInt
Method · 0.85
parseFloat
Method · 0.85
Calls
1
read
Method · 0.45
Tested by
no test coverage detected