{
struct lpc_gpio* gpio1 = LPC_GPIO_1;
uint32_t mode = (LPC_IO_MODE_PULL_UP | LPC_IO_DIGITAL | LPC_IO_DRIVE_HIGHCURENT);
- struct pio red_led = LPC_GPIO_1_4;
- struct pio green_led = LPC_GPIO_1_5;
+ struct pio red_led = LPC_GPIO_1_5;
+ struct pio green_led = LPC_GPIO_1_4;
/* Status Led GPIO */
config_pio(&green_led, mode);
config_pio(&red_led, mode);
#define LPC_ADC_AD2_PIO_1_0 {1, 0, 2}
#define LPC_ADC_AD3_PIO_1_1 {1, 1, 2}
#define LPC_ADC_AD4_PIO_1_2 {1, 2, 2}
-#define LPC_ADC_AD5_PIO_1_3 {1, 4, 1}
+#define LPC_ADC_AD5_PIO_1_3 {1, 3, 1}
#define LPC_ADC_AD6_PIO_1_4 {1, 4, 1}
#define LPC_ADC_AD7_PIO_1_5 {1, 5, 1}