Kazuki Yamamoto / mbeDshield

Dependents:   SeeedTouchLCD

Fork of mbed by mbed official

Files at this revision

API Documentation at this revision

Comitter:
k4zuki
Date:
Tue May 06 17:25:49 2014 +0000
Parent:
71:6c0fe64100a4
Commit message:
bug fix

Changed in this revision

TARGET_LPC11U24/PinNames.h Show annotated file Show diff for this revision Revisions of this file
--- a/TARGET_LPC11U24/PinNames.h	Thu May 01 00:00:04 2014 +0000
+++ b/TARGET_LPC11U24/PinNames.h	Tue May 06 17:25:49 2014 +0000
@@ -135,30 +135,38 @@
     USBTX = P0_19,
     USBRX = P0_18,
 
-    //mbeDshield
-    D0=p27,
-    D1=p28,
-    D2=p14,
-    D3=p13,
-    D4=p12,
-    D5=p11,
-    D6=p23,
-    D7=p24,
-    D8=p25,
-    D9=p26,
-    D10=p8,
-    D11=p5,
-    D12=p6,
-    D13=p7,
-    A0=p15,
-    A1=p16,
-    A2=p17,
-    A3=p18,
-    A4=p19,
-    A5=p20,
-    SDA=p9,
-    SCL=p10,
-
+//from here mbeDshield mod
+        D0=p27,
+        D1=p28,
+        D2=p14,
+        D3=p13,
+#ifdef MBEDSHIELD_050
+        MOSI_=p11,
+        MISO_=p12,
+        SCK_=p13,
+        D4=p21,
+        D5=p22,
+#else
+        D4=p12,
+        D5=p11,
+#endif
+        D6=p23,
+        D7=p24,
+        D8=p25,
+        D9=p26,
+        D10=p8,
+        D11=p5,
+        D12=p6,
+        D13=p7,
+        A0=p15,
+        A1=p16,
+        A2=p17,
+        A3=p18,
+        A4=p19,
+        A5=p20,
+        SDA=p9,
+        SCL=p10,
+//mbeDshield mod ends here
     // Not connected
     NC = (int)0xFFFFFFFF,
 } PinName;