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: NaturalTinyShell_ice libmDot-12Sept mbed-rtos mbed
Fork of ICE by
Diff: src/AnalyticsLogger/AnalyticsLogger.cpp
- Revision:
- 61:ae6dd6692c7d
- Parent:
- 60:96e17fb215a6
- Child:
- 68:dbe39d83eb98
--- a/src/AnalyticsLogger/AnalyticsLogger.cpp Thu Sep 15 20:38:30 2016 +0000 +++ b/src/AnalyticsLogger/AnalyticsLogger.cpp Thu Sep 15 21:24:23 2016 +0000 @@ -45,6 +45,11 @@ last_min = ts->tm_min; strftime(time_string, sizeof(time_string), "%Y-%m-%d %H:%M:%S", ts); printf("%s logging at: %s\r\n", __func__, time_string); + + std::map<std::string, ModbusRegister>::iterator iter; + for (iter = ModbusRegisterMap.begin(); iter != ModbusRegisterMap.end(); ++iter) { + printf("Logging tag=%s, value=%2.2f", iter->first.c_str(), iter->second.float_value ); + } } } } \ No newline at end of file