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:
- 27:a19b4916169b
- Parent:
- 26:857158816262
- Child:
- 28:216a26d99858
--- a/main.cpp Wed Dec 05 13:06:33 2018 +0000 +++ b/main.cpp Wed Dec 05 13:13:43 2018 +0000 @@ -133,8 +133,10 @@ /* Check sensors and update sensor-based flags * - might not be every loop: wrap this in a timer of sorts */ - battery_low_flag = battery_low(); - low_batt_light = battery_low_flag; + // int mod_loop = 0; + //if (mod_loop % 5 == 0) { + battery_low_flag = battery_low(); + //low_batt_light = battery_low_flag; pit_crossroad_flag = car_at_pit_crossroad(sensor_values); //anden frekvens?