Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
select_example.h
00001 /* 00002 * Mbed Application program 00003 * 00004 * Copyright (c) 2020 Kenji Arai / JH1PJL 00005 * http://www7b.biglobe.ne.jp/~kenjia/ 00006 * https://os.mbed.com/users/kenjiArai/ 00007 * Created: April 5th, 2020 00008 * Revised: April 13th, 2020 00009 */ 00010 /* 00011 You can select several examples as followings. 00012 0. key_3x4.cpp 00013 1. key_4x4.cpp 00014 2. key_4x5.cpp 00015 3. key_5x5.cpp 00016 4. key_complex.cpp 00017 */ 00018 #define PROG_NUMBER 0 // select 0 to 4 00019 00020 //----------------- You don't need any modification ---------------------------- 00021 #if PROG_NUMBER == 0 00022 # define KEY3X4 00023 #elif PROG_NUMBER == 1 00024 # define KEY4X4 00025 #elif PROG_NUMBER == 2 00026 # define KEY4X5 00027 #elif PROG_NUMBER == 3 00028 # define KEY5X5 00029 #elif PROG_NUMBER == 4 00030 # define COMPLEX 00031 #else 00032 # error " Please set 0 to 4 number for PROG_NUMBER!!" 00033 #endif
Generated on Wed Jul 13 2022 01:19:28 by
1.7.2