QT Chan
/
nRF52840-Preview-DK-blinky
Test nRF52840 Preview DK led&button
Diff: main.cpp
- Revision:
- 3:50c27e4261e2
- Parent:
- 0:54f4263790ee
--- 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);