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
Revision 18:a89333f9f671, committed 2014-09-24
- Comitter:
- ansond
- Date:
- Wed Sep 24 19:09:30 2014 +0000
- Parent:
- 17:6ae3d86f0c22
- Child:
- 19:1cf0bad37c62
- Commit message:
- updates
Changed in this revision
StatusReporter.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/StatusReporter.cpp Wed Sep 24 18:56:24 2014 +0000 +++ b/StatusReporter.cpp Wed Sep 24 19:09:30 2014 +0000 @@ -19,7 +19,7 @@ #include "StatusReporter.h" // temperature sensor - AnalogIn temp_sensor(TEMP_PIN); + AnalogIn tmp36_temp_sensor(TEMP_PIN); StatusReporter::StatusReporter(ErrorHandler *logger,void *transport) : m_case_generator(logger,transport), m_db(), m_rfid_reader(RFID_TX_PIN,RFID_RX_PIN) { this->m_logger = logger; @@ -31,7 +31,7 @@ // Calculate the ambient temperature of the TMP36 sensor in C... int StatusReporter::getLocalTemperature() { //conversion to degrees C - from sensor output voltage per TMP36 data sheet - float tempC = (float)(((float)temp_sensor*3.3)-0.600)*100.0; + float tempC = (float)(((float)tmp36_temp_sensor*3.3)-0.600)*100.0; // DEBUG this->m_logger->log("Ambient Temp: %.1f C",tempC);