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: mbed MODSERIAL FATFileSystem
Diff: StateMachine/StateMachine.cpp
- Revision:
- 36:966a86937e17
- Parent:
- 35:2f66ea4863d5
- Child:
- 37:357e98a929cc
diff -r 2f66ea4863d5 -r 966a86937e17 StateMachine/StateMachine.cpp
--- a/StateMachine/StateMachine.cpp Wed Dec 20 22:44:02 2017 +0000
+++ b/StateMachine/StateMachine.cpp Wed Dec 20 23:21:15 2017 +0000
@@ -1048,8 +1048,8 @@
}
else if (userInput == 'P') {
//Print current SD card log file
- printCurrentSdLog();
- //mbedLogger().printFromLogFile(); //print the current log file to the screen
+ //printCurrentSdLog();
+ mbedLogger().printCurrentLogFile(); //print the current log file to the screen
}
else if (userInput == 'X') {
printDirectory();
@@ -1675,4 +1675,9 @@
else if (input_state == KEYBOARD)
string_state = "KEYBOARD";
//datalogger().printf("%s\n", string_state.c_str());
+}
+
+float * StateMachine::dataArray() {
+ //return the array to a calling function
+ return _data_log;
}
\ No newline at end of file