Dreamforce 2014 Demo of RFID-based Salesforce Case generation for status reporting.

Dependencies:   ID12RFID ReportDB SalesforceCaseGenerator SalesforceInterface

Dependents:   mbed_mqtt_endpoint_ublox_ethernet mbed_mqtt_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_ethernet ... more

Files at this revision

API Documentation at this revision

Comitter:
ansond
Date:
Mon Oct 06 19:14:49 2014 +0000
Parent:
21:2b85d1442d34
Child:
24:324d739f9a22
Commit message:
finished code completed for exercise

Changed in this revision

StatusReporter.cpp Show annotated file Show diff for this revision Revisions of this file
--- 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);