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.
Fork of study_step0 by
Diff: select_example.h
- Revision:
- 2:aa6fdecebf2b
- Child:
- 3:0c888cad9376
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/select_example.h Mon Apr 06 04:57:04 2020 +0000 @@ -0,0 +1,33 @@ +/* + * Mbed Application program + * + * Copyright (c) 2020 Kenji Arai / JH1PJL + * http://www7b.biglobe.ne.jp/~kenjia/ + * https://os.mbed.com/users/kenjiArai/ + * Created: April 5th, 2020 + * Revised: April 6th, 2020 + */ +/* + You can select several examples as followings. + 0. key_3x4.cpp + 1. key_4x4.cpp + 2. key_4x5.cpp + 3. key_5x5.cpp + 4. key_complex.cpp + */ +#define PROG_NUMBER 0 // select 0 to 4 + +//----------------- You don't need any modification ---------------------------- +#if PROG_NUMBER == 0 +# define KEY3X4 +#elif PROG_NUMBER == 1 +# define KEY4X4 +#elif PROG_NUMBER == 2 +# define KEY4X5 +#elif PROG_NUMBER == 3 +# define KEY5X5 +#elif PROG_NUMBER == 4 +# define COMPLEX +#else +# error " Please set 0 to 4 number for PROG_NUMBER!!" +#endif \ No newline at end of file
