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:b3ec6bbb9565, committed 2020-02-15
- Comitter:
- flozada
- Date:
- Sat Feb 15 16:40:35 2020 +0000
- Parent:
- 5:cce2105f7365
- Commit message:
- TUTOTRIA FINAL_ SISTEMA DE SENSADO DE TEMPERATURA Y VIBRACIONES DE MOTOR
Changed in this revision
| DHT.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/DHT.cpp Sat Jan 07 22:26:26 2017 +0000
+++ b/DHT.cpp Sat Feb 15 16:40:35 2020 +0000
@@ -156,6 +156,7 @@
v /= 10;
if (DHT_data[2] & 0x80) // if first bit of DHT_data[2] is 1 then the temperature is negative.
v *= -1;
+ v=v/28;
return float(v);
}
return 0;