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.hpp
- Revision:
- 67:c86a4b464682
- Parent:
- 63:6cb0405fc6e6
- Child:
- 69:919ac8d7e023
--- a/StateMachine/StateMachine.hpp Tue Jun 19 20:14:23 2018 +0000
+++ b/StateMachine/StateMachine.hpp Mon Jun 25 15:44:00 2018 +0000
@@ -94,7 +94,6 @@
void recordData(int input_state); //record log data to file using MbedLogger class
void printDirectory();
- void recordState(int input_state);
void printCurrentSdLog(); //more tricky for SD card, work in progress
void createNewFile();
@@ -103,6 +102,8 @@
float * dataArray();
+ void checkMotorPositions(); //checks motor positions as a safe-guard against broken string pot or bad channel readings
+
private:
bool _debug_menu_on; // default is false to show simple menu, debug allows more tuning and has a lot of keyboard commands