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:
- 5:8e64f59100e0
- Parent:
- 4:6547599b54a0
- Child:
- 6:71482254d97b
--- a/main.cpp Mon Feb 06 15:24:36 2017 +0000
+++ b/main.cpp Mon Feb 20 13:13:10 2017 +0000
@@ -260,6 +260,9 @@
while(true) // Start of process loop.
{
+
+ wd.Service(); // Service the Watchdog so it does not cause a system reset.
+
// check the cable using pp value
reading_pp = pp_value.read(); // Read pp value and ...
reading_pp = reading_pp * 3300; // ... multiply it by 3300 to convert to mV.