
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/
Revision 0:1672d0903bdc, committed 2017-08-10
- Comitter:
- kenjiArai
- Date:
- Thu Aug 10 20:50:46 2017 +0000
- Child:
- 1:abadd53f2072
- Commit message:
- Study step 0
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
mbed-os.lib | Show annotated file Show diff for this revision Revisions of this file |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Thu Aug 10 20:50:46 2017 +0000 @@ -0,0 +1,20 @@ +/* + * Mbed Application program / Study step1 -> LED Blinky + * + * Copyright (c) 2017 Kenji Arai / JH1PJL + * http://www.page.sannet.ne.jp/kenjia/index.html + * http://mbed.org/users/kenjiArai/ + * Created: August 10th, 2017 + * Revised: August 10th, 2017 + */ + +#include "mbed.h" + +DigitalOut my_led(LED1); + +int main() { + while(1) { + my_led = !my_led; + wait(1.0); + } +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed-os.lib Thu Aug 10 20:50:46 2017 +0000 @@ -0,0 +1,1 @@ +https://github.com/ARMmbed/mbed-os/#4c256f04596179699c4f14b6863b07cc024ca9be