Charles Young's development fork. Going forward I only want to push mature code to main repository.
Fork of GEO_COUNTER_L432KC by
Diff: main.cpp
- Revision:
- 67:fcfc5f5bdbee
- Parent:
- 66:ea8661d43663
- Child:
- 68:c2e71a6583dd
diff -r ea8661d43663 -r fcfc5f5bdbee main.cpp --- a/main.cpp Sun Sep 09 10:14:13 2018 -0700 +++ b/main.cpp Sun Sep 09 10:19:34 2018 -0700 @@ -50,10 +50,10 @@ Ticker SecTenth_Beat; // .1 second ticker Ticker Sec_Beat; // 1 second ticker -Timer timer; -int begin; -int end; -double secCorrection; +// Timer timer; +// int begin; +// int end; +// double secCorrection; Serial PC(USBTX, USBRX); // Virtual COM via USB (PC connection) Serial GPS(D1, D0); // Serial port for GPS module @@ -127,8 +127,8 @@ SecTenth_Beat.attach_us(&UpdateIO, TickerPeriod); //RTC::attach(&Update, RTC::Second); //RTC::detach(RTC::Second); - timer.start(); - begin = timer.read_us(); + // timer.start(); + // begin = timer.read_us(); TRIG1.rise(&Count1_up); TRIG2.rise(&Count2_up);