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/

Revision:
9:ac5faab540da
diff -r 651bfebc5f39 -r ac5faab540da check_revision.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/check_revision.cpp	Mon Jan 13 07:46:07 2020 +0000
@@ -0,0 +1,25 @@
+/*
+ * 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
\ No newline at end of file