Frequency counter using GPS 1PPS signal and temperature controlled 50MHz Base clock. Ported from F411 Frequency Counter.

Dependencies:   QEI DRV8830 PID ADT7410 TextLCD Frq_cuntr_Nucleo-F746ZG RingBuffer

Fork of Frequency_Counter_w_GPS_1PPS by Kenji Arai

Please refer following.
/users/kenjiArai/notebook/frequency-counters/

Revision:
15:ae0413277bc6
Parent:
14:ba6ea409ab05
--- a/User_IF/uif.cpp	Tue Dec 17 11:41:18 2019 +0000
+++ b/User_IF/uif.cpp	Sun Dec 22 06:29:39 2019 +0000
@@ -5,7 +5,7 @@
  *  http://www.page.sannet.ne.jp/kenjia/index.html
  *  http://mbed.org/users/kenjiArai/
  *      Created:    September 28th, 2016
- *      Revised:    December  12th, 2019
+ *      Revised:    December  22nd, 2019
  */
 
 #define     USE_COM         // use Communication with PC(UART)
@@ -37,12 +37,11 @@
 
 //  Object ---------------------------------------------------------------------
 extern Serial       pc;
-extern Ticker       enter_irq;
-extern DigitalOut   in_frq_slct;
-extern DigitalInOut prescaler10or20;
 
 QEI         rotary(PE_9, PF_13, NC, 24, QEI::X4_ENCODING); //Rotary chB,chA
 TextLCD     lcd(PD_3, PC_3, PD_4, PD_5, PD_6, PD_7, TextLCD::LCD20x4);
+DigitalInOut prescaler10or20(PC_5);
+DigitalOut  in_frq_slct(PC_9);
 DigitalOut  led_R_gps1pps(PE_7);
 DigitalOut  led_G_temp_ok(PE_8);
 DigitalOut  led_B_recipro(PG_9);
@@ -51,6 +50,7 @@
 DigitalOut  led_G_rotary(PE_13);
 DigitalOut  led_B_rotary(PF_14);
 DigitalIn   rotary_sw(PE_11);
+Ticker      enter_irq;
 
 //  RAM ------------------------------------------------------------------------
 int8_t      function_num;