test program for keypad(Extended not only 3x4 but 4x4,4x5 and 5x5 keys)
Fork of study_step0 by
see /users/kenjiArai/notebook/keypadkey-matrix--control/
check_revision.cpp
- Committer:
- kenjiArai
- Date:
- 2021-02-18
- Revision:
- 5:53fb9eed6b67
- Parent:
- 4:0564f82dd0ef
File content as of revision 5:53fb9eed6b67:
/* * Check Mbed revision * * Copyright (c) 2020,'21 Kenji Arai / JH1PJL * http://www7b.biglobe.ne.jp/~kenjia/ * https://os.mbed.com/users/kenjiArai/ * Revised: February 16th, 2020 * Revised: February 18th, 2021 */ #include "mbed.h" // RUN ONLY ON mbed-os-6.6.0 // https://github.com/ARMmbed/mbed-os/releases/tag/mbed-os-6.6.0 #if (MBED_MAJOR_VERSION == 6) &&\ (MBED_MINOR_VERSION == 6) &&\ (MBED_PATCH_VERSION == 0) #else # warning "tested on mbed-os-6.6.0" #endif void print_revision(void) { printf("MBED_MAJOR_VERSION = %d, ", MBED_MAJOR_VERSION); printf("MINOR = %d, ", MBED_MINOR_VERSION); printf("PATCH = %d\r\n", MBED_PATCH_VERSION); }