Merge pull request #178 from sg-/FRDM-fix

add arduino I2C naming to PinNames.h
pull/185/head
Emilio Monti 2014-02-20 11:05:56 +00:00
commit 96dbf718f7
1 changed files with 6 additions and 3 deletions

View File

@ -196,10 +196,10 @@ typedef enum {
LED_BLUE = PTD1, LED_BLUE = PTD1,
// mbed original LED naming // mbed original LED naming
LED1 = LED_BLUE, LED1 = LED_RED,
LED2 = LED_GREEN, LED2 = LED_GREEN,
LED3 = LED_RED, LED3 = LED_BLUE,
LED4 = LED_RED, LED4 = LED_BLUE,
// USB Pins // USB Pins
USBTX = PTA2, USBTX = PTA2,
@ -229,6 +229,9 @@ typedef enum {
A3 = PTB3, A3 = PTB3,
A4 = PTC2, A4 = PTC2,
A5 = PTC1, A5 = PTC1,
I2C_SCL = D15,
I2C_SDA = D14,
// Not connected // Not connected
NC = (int)0xFFFFFFFF NC = (int)0xFFFFFFFF