Simple example to read humidity and temperature from DHT11 sensor using DISCO-L475VG-IOT01A.
Fork of Nucleo_DHT11_Example by
Revision 2:4815ae0a2549, committed 2018-04-18
- Comitter:
- sliawatimena
- Date:
- Wed Apr 18 04:39:16 2018 +0000
- Parent:
- 1:85754e990223
- Commit message:
- Tested on DISCO-L475VG-IOT01A successfully.
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 85754e990223 -r 4815ae0a2549 main.cpp --- a/main.cpp Wed Apr 18 04:37:51 2018 +0000 +++ b/main.cpp Wed Apr 18 04:39:16 2018 +0000 @@ -1,7 +1,8 @@ #include "mbed.h" #include "DHT11.h" -//Tested with success on STM32 Nucleo L476 +//Tested with success on DISCO-L475VG-IOT01A +//if you find target DISCO-L475VG-IOT01A not found, try to delete mbed library then import it again. InterruptIn mybutton(USER_BUTTON); Serial pc(SERIAL_TX, SERIAL_RX);