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 mbed by
Diff: TARGET_NRF51822/PinNames.h
- Revision:
- 81:7d30d6019079
- Parent:
- 80:8e73be2a2ac1
diff -r 8e73be2a2ac1 -r 7d30d6019079 TARGET_NRF51822/PinNames.h
--- a/TARGET_NRF51822/PinNames.h Fri Feb 21 12:21:39 2014 +0000
+++ b/TARGET_NRF51822/PinNames.h Wed Mar 19 18:28:32 2014 +0000
@@ -98,13 +98,13 @@
P0_29 = p29,
P0_30 = p30,
- LED1 = p18,
- LED2 = p19,
- LED3 = p18,
- LED4 = p19,
-
- BUTTON0 = p16,
- BUTTON1 = p17,
+ LED1 = p18,
+ LED2 = p19,
+ LED3 = p18,
+ LED4 = p19,
+
+ BUTTON1 = p16,
+ BUTTON2 = p17,
RX_PIN_NUMBER = p11,
TX_PIN_NUMBER = p9,
@@ -142,7 +142,8 @@
typedef enum {
PullNone = 0,
PullDown = 1,
- PullUp = 3
+ PullUp = 3,
+ PullDefault = PullUp
} PinMode;
#ifdef __cplusplus
