Daniel Lee
/
DHT11_and_DHT22_MbedOS5_Example
Code sync and fixed compile error for Mbed OS5
Diff: main.cpp
- Revision:
- 2:81340dde3444
- Parent:
- 0:c12c28a0f9e7
- Child:
- 3:264755aa4608
--- a/main.cpp Tue Mar 10 21:33:31 2015 +0000 +++ b/main.cpp Fri Nov 08 04:22:31 2019 +0000 @@ -2,7 +2,7 @@ #include "mbed.h" #include "DHT.h" -DHT sensor(D4, DHT11); +DHT sensor(D14, DHT22); int main() {