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.
Diff: main.cpp
- Revision:
- 22:5d3332fc4c5c
- Parent:
- 21:c3e256b18b96
- Child:
- 23:7e9505da7f48
--- a/main.cpp Tue Oct 11 11:19:28 2022 +0000 +++ b/main.cpp Tue Oct 11 11:34:59 2022 +0000 @@ -18,8 +18,11 @@ // Textfile paths -#define PITLOGPATH "pitlog.txt" -#define VOLTAGELOGPATH "voltage.txt" + + + +#define PITLOGPATH "local/pitlog.txt" +#define VOLTAGELOGPATH "local/voltage.txt" // Prototypes @@ -37,7 +40,7 @@ void TE_LogVoltage(int count); // test funktion that write the woltage each time the battry is checked int main() { - + LocalFileSystem local("local"); m3pi.sensor_auto_calibrate(); /*Base program Variable initiation*/ @@ -55,7 +58,7 @@ /*Create pitlog used to log the number of pitstop */ PS_CreateLog(); - + TE_CreateVoltageLog(); /*Printing secret cat mission*/ InitialMessages();