The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.

Dependents:   hello SerialTestv11 SerialTestv12 Sierpinski ... more

mbed 2

This is the mbed 2 library. If you'd like to learn about Mbed OS please see the mbed-os docs.

Revision:
79:0c05e21ae27e
Parent:
78:ed8466a608b4
Child:
81:7d30d6019079
--- a/TARGET_KL05Z/PinNames.h	Tue Feb 18 15:02:39 2014 +0000
+++ b/TARGET_KL05Z/PinNames.h	Fri Feb 21 10:26:12 2014 +0000
@@ -78,10 +78,10 @@
     LED_BLUE  = PTB10,
 
     // mbed original LED naming
-    LED1 = LED_BLUE,
+    LED1 = LED_RED,
     LED2 = LED_GREEN,
-    LED3 = LED_RED,
-    LED4 = LED_RED,
+    LED3 = LED_BLUE,
+    LED4 = LED_BLUE,
 
     // USB Pins
     USBTX = PTB1,
@@ -96,7 +96,7 @@
     D5 = PTA12,
     D6 = PTB6,
     D7 = PTB7,
-    D8 = PTA10,
+    D8 = PTB10,
     D9 = PTB11,
     D10 = PTA5,
     D11 = PTA7,
@@ -111,6 +111,9 @@
     A3 = PTA0,
     A4 = PTA9,
     A5 = PTB13,
+    
+    I2C_SCL = D15,
+    I2C_SDA = D14,
 
     // Not connected
     NC = (int)0xFFFFFFFF