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
Please refer following.
/users/kenjiArai/notebook/frequency-counters/
Diff: User_IF/uif.cpp
- Revision:
- 14:ba6ea409ab05
- Parent:
- 13:1041596c416c
- Child:
- 15:ae0413277bc6
--- a/User_IF/uif.cpp Wed Nov 23 07:35:20 2016 +0000 +++ b/User_IF/uif.cpp Tue Dec 17 11:41:18 2019 +0000 @@ -1,19 +1,11 @@ /* * mbed Application program / User Interface subroutines * - * Copyright (c) 2016 Kenji Arai / JH1PJL + * Copyright (c) 2016,'19 Kenji Arai / JH1PJL * http://www.page.sannet.ne.jp/kenjia/index.html * http://mbed.org/users/kenjiArai/ * Created: September 28th, 2016 - * Revised: Novemeber 23rd, 2016 - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. - * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, - * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR - * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR - * THE USE OR OTHER DEALINGS IN THE SOFTWARE. + * Revised: December 12th, 2019 */ #define USE_COM // use Communication with PC(UART) @@ -94,12 +86,12 @@ // ROM / Constant data -------------------------------------------------------- // 12345678901234567890 -static char *const msg_clear = " "; -static char *const msg_msg0 = "Frequency Counter "; -static char *const msg_msg1 = " mbed Nucleo F746ZG "; -static char *const msg_msg2 = " by JH1PJL K.Arai "; -static char *const msg_msg3 = " "__DATE__" UTC"; -static char *const msg_msg4 = "Getting GPS,pls wait"; +static const char *const msg_clear = " "; +static const char *const msg_msg0 = "Frequency Counter "; +static const char *const msg_msg1 = " mbed Nucleo F746ZG "; +static const char *const msg_msg2 = " by JH1PJL K.Arai "; +static const char *const msg_msg3 = " " __DATE__" UTC"; +static const char *const msg_msg4 = "Getting GPS,pls wait"; // function table void (*functptr[])(dispDef*) = { @@ -543,7 +535,8 @@ led_B_rotary = 0; // VCOM message BAUD(9600); - PRINTF("\r\nFrequency Counter by JH1PJL created on "__DATE__"\r\n"); + //PRINTF("\r\nFrequency Counter by JH1PJL created on \r\n"); + PRINTF("\r\nFrequency Counter by JH1PJL created on " __DATE__"\r\n"); PRINTF("\r\nStarted!\r\n"); PRINTF("SystemCoreClock = %d Hz\r\n", SystemCoreClock); // Rotary switch control