Test nRF52840 Preview DK led&button

Files at this revision

API Documentation at this revision

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
--- 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);