Charles Young's development fork. Going forward I only want to push mature code to main repository.

Dependencies:   mbed

Fork of GEO_COUNTER_L432KC by Geo Electronics "Geo Counter"

Revision:
52:6386fd7a2ded
Parent:
51:6b916f91f4d9
Child:
53:04999d536e92
diff -r 6b916f91f4d9 -r 6386fd7a2ded main.cpp
--- a/main.cpp	Sat Sep 08 16:56:08 2018 -0700
+++ b/main.cpp	Sat Sep 08 16:58:00 2018 -0700
@@ -258,21 +258,21 @@
          break;
    }
 
-   ADC_val = KEYB.read();  // read voltage from keyboard
-   if (   (ADC_val<0.1)    // START/STOP pushbutton pressed
-       && (!StartStopPressed))
-   {
-      StartStopPressed = true;
-      Stopped=!Stopped;           // toggle status
-   }
-   else
-      StartStopPressed = false;
+   // ADC_val = KEYB.read();  // read voltage from keyboard
+   // if (   (ADC_val<0.1)    // START/STOP pushbutton pressed
+   //     && (!StartStopPressed))
+   // {
+   //    StartStopPressed = true;
+   //    Stopped=!Stopped;           // toggle status
+   // }
+   // else
+   //    StartStopPressed = false;
     
-   if((ADC_val>0.6)&&(ADC_val<0.7))    // CLEAR pushbutton pressed
-   { 
-      Count1 = 0; // clear counters     
-      Count2 = 0;              
-   }
+   // if((ADC_val>0.6)&&(ADC_val<0.7))    // CLEAR pushbutton pressed
+   // { 
+   //    Count1 = 0; // clear counters     
+   //    Count2 = 0;              
+   // }
    // logToPC();
    return;
 }