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
- Branch:
- Andreas
- Revision:
- 65:b6dad21c9e0d
- Parent:
- 52:a2f53d9d2bdc
- Child:
- 66:6403ec154b77
--- a/main.cpp Wed Oct 12 09:27:00 2022 +0000 +++ b/main.cpp Wed Oct 12 10:43:12 2022 +0000 @@ -19,7 +19,7 @@ #define D_TERM 20 // loopcount before test -#define CYCLEBEFORETEST 1500 +#define LOOPSBEFORETEST 9000 // Textfile paths #define PITLOGPATH "/local/pitlog.txt" @@ -66,7 +66,7 @@ while (1) { /* If cycle count divided by 100 does not have a rest. test if pit */ - if (loopcount % CYCLEBEFORETEST == 0 && gotoPit == 0) + if (loopcount % LOOPSBEFORETEST == 0 && gotoPit == 0) { TE_LogVoltage(loopcount); gotoPit = PitTest();