WathchDog

Dependencies:   mbed WDT

Revision:
2:d69d10b670c5
Parent:
1:c896654c679b
Child:
3:b082ed02d08c
--- a/main.cpp	Thu Feb 21 13:30:36 2019 +0000
+++ b/main.cpp	Sat Feb 23 09:11:23 2019 +0000
@@ -52,11 +52,11 @@
             cnt += 1;
             wait(0.001);
 
-            if (modem.readable()) {
-                pc.printf("%c\r",modem.getc());
-                wait(0.01);
-                modem.printf("=01,PVAL,%01.04f,%01.03f,%01.03f\r", turb/1000,temp,s);
-            }
+//            if (modem.readable()) {
+//                pc.printf("%c\r",modem.getc());
+//                wait(0.01);
+//                modem.printf("=04,PVAL,%01.04f,0,\r",temp);
+//            }
         }
         if(cnt != 0) {
             ad1 = sum1/cnt;