QT Chan
/
nRF52840-Preview-DK-blinky
Test nRF52840 Preview DK led&button
Revision 3:50c27e4261e2, committed 2017-02-07
- Comitter:
- szqt
- Date:
- Tue Feb 07 08:55:05 2017 +0000
- Parent:
- 1:a0c2e5593bf8
- Commit message:
- PDK
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r a0c2e5593bf8 -r 50c27e4261e2 main.cpp --- a/main.cpp Mon Feb 06 13:27:24 2017 +0000 +++ b/main.cpp Tue Feb 07 08:55:05 2017 +0000 @@ -1,13 +1,13 @@ #include "mbed.h" //DigitalOut led1(LED1); -DigitalOut led1(P0_13); +DigitalOut led1(P0_13); //nRF52840 PDK io DigitalOut led2(P0_14); DigitalOut led3(P0_15); DigitalOut led4(P0_16); -InterruptIn button1(P0_11);//(USER_BUTTON); +InterruptIn button1(P0_11);//(USER_BUTTON nRF52840 PDK); InterruptIn button2(P0_12); InterruptIn button3(P0_24); InterruptIn button4(P0_25);