Skip to content

Commit f178fc4

Browse files
committed
Merge pull request #1602 from sunsmilearm/master
Change the uart pin to DIP pin for XBED_LPC1768
2 parents 7bcdcc7 + 30df100 commit f178fc4

File tree

1 file changed

+11
-9
lines changed
  • libraries/mbed/targets/hal/TARGET_NXP/TARGET_LPC176X/TARGET_XBED_LPC1768

1 file changed

+11
-9
lines changed

libraries/mbed/targets/hal/TARGET_NXP/TARGET_LPC176X/TARGET_XBED_LPC1768/PinNames.h

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -72,17 +72,19 @@ typedef enum {
7272
LED3 = P1_21,
7373
LED4 = P1_23,
7474

75-
USBTX = P0_2,
76-
USBRX = P0_3,
75+
//For USB UART
76+
//USBTX = P0_2,
77+
//USBRX = P0_3,
7778

7879
//xbed lpc1768 Pin Names
79-
LED5 = P2_6,
80-
BTN1 = P2_8,
81-
SDA = P0_27,
82-
SCL = P0_28,
83-
ISP = P2_10,
84-
CLK = P1_27,
85-
80+
LED5 = P2_6,
81+
BTN1 = P2_8,
82+
SDA = P0_27,
83+
SCL = P0_28,
84+
ISP = P2_10,
85+
CLK = P1_27,
86+
USBTX = P2_0, //DIP26
87+
USBRX = P2_1, //DIP25
8688

8789

8890
// Arch Pro Pin Names

0 commit comments

Comments
 (0)