[LPC824] I2C pin names were crossed

pull/847/head
ytsuboi 2015-01-17 01:33:22 +09:00
parent 7c55ec9590
commit 5b8a42ffe9
4 changed files with 10 additions and 10 deletions

View File

@ -30,7 +30,7 @@ extern "C" {
#define MBED_UART0 P0_7, P0_18
#define MBED_UARTUSB USBTX, USBRX
#define MBED_I2C0 P0_10, P0_11
#define MBED_I2C0 P0_11, P0_10
typedef enum {
ADC_0 = 0,

View File

@ -102,10 +102,10 @@ typedef enum {
USBRX = P0_18,
// I2C pins
SDA = P0_10,
SCL = P0_11,
I2C_SDA = P0_10,
I2C_SCL = P0_11,
SCL = P0_10,
SDA = P0_11,
I2C_SCL = P0_10,
I2C_SDA = P0_11,
// Not connected
NC = (int)0xFFFFFFFF,

View File

@ -30,7 +30,7 @@ extern "C" {
#define MBED_UART0 P0_7, P0_18
#define MBED_UARTUSB USBTX, USBRX
#define MBED_I2C0 P0_10, P0_11
#define MBED_I2C0 P0_11, P0_10
typedef enum {
ADC_0 = 0,

View File

@ -102,10 +102,10 @@ typedef enum {
USBRX = P0_18,
// I2C pins
SDA = P0_10,
SCL = P0_11,
I2C_SDA = P0_10,
I2C_SCL = P0_11,
SCL = P0_10,
SDA = P0_11,
I2C_SCL = P0_10,
I2C_SDA = P0_11,
// Not connected
NC = (int)0xFFFFFFFF,