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 6:3b1739d2a2c6, committed 2016-05-28
- Comitter:
- mbedAustin
- Date:
- Sat May 28 08:42:28 2016 +0000
- Parent:
- 5:176e1bc77ec2
- Commit message:
- Removed code for workshop purposes
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Sat May 28 08:41:37 2016 +0000
+++ b/main.cpp Sat May 28 08:42:28 2016 +0000
@@ -18,8 +18,8 @@
// read successfully
if (1 == error) {
// YOUR CODE GOES HERE, read temperature and humidity
- temp = dht22.getTemperature()/10.0;
- hum = dht22.getHumidity()/10.0;
+ temp = //TODO;
+ hum = //TODO;
printf("temp: %2.2f , hum:%2.2f \r\n",temp,hum);
} else { // read unseccessfully