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:
68:c2e71a6583dd
Parent:
67:fcfc5f5bdbee
Child:
69:b9060324f125
diff -r fcfc5f5bdbee -r c2e71a6583dd main.cpp
--- a/main.cpp	Sun Sep 09 10:19:34 2018 -0700
+++ b/main.cpp	Sun Sep 09 10:26:47 2018 -0700
@@ -3,6 +3,7 @@
 //
 //  Latest review: August 27, 2018 - Walter Trovo
 //
+//  Sep  9, 2018: Charles Young: CNT1 and CNT2 accurate except for jumping up
 //  Sep  6, 2018: Charles Young: Functioning mode selection - modes partially implemented
 //  Sep  5, 2018: Charles Young: Created LED7segDisplay class
 //  Sep  5, 2018: Charles Young: Still developing mode selection.  LEDs turn off
@@ -50,6 +51,8 @@
 Ticker  SecTenth_Beat;           // .1 second ticker
 Ticker  Sec_Beat;                // 1 second ticker
 
+// Trying to use this to compensate for Ticker inacurracy but
+// just enabling this code makes the Count1 and Count2 low
 // Timer timer;
 // int begin;
 // int end;
@@ -127,6 +130,9 @@
    SecTenth_Beat.attach_us(&UpdateIO,  TickerPeriod);
    //RTC::attach(&Update, RTC::Second);
    //RTC::detach(RTC::Second);  
+
+   // Trying to use this to compensate for Ticker inacurracy but
+   // just enabling this code makes the Count1 and Count2 low
    // timer.start();
    // begin = timer.read_us();
   
@@ -169,6 +175,8 @@
       Count1 = 0;
       Count2 = 0;
 
+      // Trying to use this to compensate for Ticker inacurracy but
+      // just enabling this code makes the Count1 and Count2 low
       // Correct for ticker inaccuracy
       // end = timer.read_us();
       // int diff = end - begin;