Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: main.cpp
- Revision:
- 1:cfb1e959c32a
- Parent:
- 0:8c0ef32974f0
- Child:
- 2:d2e0704b0c51
--- 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);
}
}