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.
Dependencies: ID12RFID SalesforceCaseGenerator-df2014 SalesforceInterface SupportPersonnelDB
Dependents: df-2014-rfid-case-gen-k64f-complete df-2014-rfid-case-gen-k64f-exercise
Fork of StatusReporter by
Diff: StatusReporter.cpp
- Revision:
- 23:17da4f0985dc
- Parent:
- 21:2b85d1442d34
- Child:
- 24:324d739f9a22
diff -r 2b85d1442d34 -r 17da4f0985dc StatusReporter.cpp
--- a/StatusReporter.cpp Mon Oct 06 03:15:01 2014 +0000
+++ b/StatusReporter.cpp Mon Oct 06 19:14:49 2014 +0000
@@ -26,7 +26,7 @@
// ****************** DreamForce 2014 ******************//
// Temperature sensor - The TMP36 sensor uses A3 in the shield.. See Definitions.h for the define.
- // AnalogIn tmp36_temp_sensor(TEMP_PIN);
+ AnalogIn tmp36_temp_sensor(TEMP_PIN);
// ****************** DreamForce 2014 ******************//
@@ -49,7 +49,7 @@
// Example: float tempC = (float)(((float)tmp36_temp_sensor*3.3)-0.600)*100.0;
//
- float tempC = 0.0;
+ float tempC = (float)(((float)tmp36_temp_sensor*3.3)-0.600)*100.0;
// DEBUG
LOG_CONSOLE("Ambient Temp: %.1f C",tempC);
