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.
Revision 1:cfb1e959c32a, committed 2015-03-24
- Comitter:
- Guillaume31
- Date:
- Tue Mar 24 18:20:38 2015 +0000
- Parent:
- 0:8c0ef32974f0
- Child:
- 2:d2e0704b0c51
- Commit message:
- HTU21D-F With Nucl?o F411RE
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
| mbed.bld | Show annotated file Show diff for this revision Revisions of this file |
--- 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);
}
}
--- a/mbed.bld Sun Oct 19 19:29:21 2014 +0000 +++ b/mbed.bld Tue Mar 24 18:20:38 2015 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/mbed_official/code/mbed/builds/552587b429a1 \ No newline at end of file +http://mbed.org/users/mbed_official/code/mbed/builds/487b796308b0 \ No newline at end of file