![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
HTU21D-F with board Nucleo_F411RE
Fork of HTU21D_HELLOWORLD by
Diff: main.cpp
- Revision:
- 1:cfb1e959c32a
- Parent:
- 0:8c0ef32974f0
--- a/main.cpp Sun Oct 19 19:29:21 2014 +0000 +++ b/main.cpp Tue Mar 24 18:20:38 2015 +0000 @@ -27,7 +27,7 @@ #include "mbed.h" #include "HTU21D.h" -HTU21D temphumid(p9, p10); //Temp humid sensor || SDA, SCL +HTU21D temphumid(D14, D15); //Temp humid sensor || SDA, SCL int sample_ftemp; int sample_ctemp; int sample_ktemp; @@ -44,5 +44,6 @@ printf("Temperature: %d K\n\r", sample_ktemp); printf("Humidity: %d %%\n\r", sample_humid); printf("\n\r"); + wait(5); } }