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: MbedLogger/MbedLogger.hpp
- Revision:
- 67:c86a4b464682
- Parent:
- 63:6cb0405fc6e6
- Child:
- 68:8f549749b8ce
--- a/MbedLogger/MbedLogger.hpp Tue Jun 19 20:14:23 2018 +0000
+++ b/MbedLogger/MbedLogger.hpp Mon Jun 25 15:44:00 2018 +0000
@@ -27,9 +27,6 @@
public:
MbedLogger(string file_system_input_string); //constructor
- //test
- void checkForPythonCommand();
-
void createTestLog(); //test log function
void appendLogFile(int current_state, int option); //check if you have orphaned file pointers before this (file should not be open already)
@@ -161,6 +158,8 @@
void intCreateDataPacket(int data_buffer[],int payload_length);
int getLogSize(); //used in state machine
+
+ string _heading_string;
private:
int _file_number;
@@ -188,7 +187,7 @@
bool _file_transmission; //breaks out of loop in State Machine
- float _data_log[11]; //for logging all of the data from the outer and inner loops and so on
+ float _data_log[14]; //for logging all of the data from the outer and inner loops and so on
int _confirmed_packet_number;