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 3:264755aa4608, committed 2019-11-08
- Comitter:
- Daniel_Lee
- Date:
- Fri Nov 08 04:33:45 2019 +0000
- Parent:
- 2:81340dde3444
- Commit message:
- Update;
Changed in this revision
| DHT.lib | Show annotated file Show diff for this revision Revisions of this file |
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/DHT.lib Fri Nov 08 04:22:31 2019 +0000 +++ b/DHT.lib Fri Nov 08 04:33:45 2019 +0000 @@ -1,1 +1,1 @@ -https://os.mbed.com/users/Daniel_Lee/code/DHT/#1b4e37ce64f8 +https://os.mbed.com/users/Daniel_Lee/code/DHT/#cd2c41384ab8
--- a/main.cpp Fri Nov 08 04:22:31 2019 +0000
+++ b/main.cpp Fri Nov 08 04:33:45 2019 +0000
@@ -10,7 +10,7 @@
float h = 0.0f, c = 0.0f, f = 0.0f, k = 0.0f, dp = 0.0f, dpf = 0.0f;
while(1) {
- wait(2.0f);
+ wait(2);
error = sensor.readData();
if (0 == error) {
c = sensor.ReadTemperature(CELCIUS);