![](/media/cache/profiles/f0fcf351df4eb6786e9bb6fc4e2dee02.jpg.50x50_q85.jpg)
Simple frequency counter, run without modification on Nucleo board, Input pin PA0, PA1, PB3. Only for STM32F4 series (Tested on Nucleo-F401RE,-F411RE and F446RE)
Dependencies: freq_counter_STM32F4xx
see /users/kenjiArai/notebook/frequency-counters/
check_revision.cpp
- Committer:
- kenjiArai
- Date:
- 2020-01-13
- Revision:
- 9:ac5faab540da
File content as of revision 9:ac5faab540da:
/* * Check Mbed revision * * Copyright (c) 2019,'20 Kenji Arai / JH1PJL * http://www7b.biglobe.ne.jp/~kenjia/ * https://os.mbed.com/users/kenjiArai/ * Created: July 17th, 2019 * Revised: January 13th, 2020 */ #include "mbed.h" // RUN ONLY ON mbed-os5.15.0 // https://github.com/ARMmbed/mbed-os/releases/tag/mbed-os-5.15.0 #if (MBED_MAJOR_VERSION == 5) &&\ (MBED_MINOR_VERSION == 15) &&\ (MBED_PATCH_VERSION == 0) // RUN ONLY ON mbed 2.0.165 #elif (MBED_MAJOR_VERSION == 2) &&\ (MBED_MINOR_VERSION == 0) &&\ (MBED_PATCH_VERSION == 165) #else //#warning "Please use mbed-os5.15.0 or mbed 2.0.165"" #error "Please use mbed-os5.15.0 or mbed 2.0.165" #endif