Diff: colors.h
- Revision:
- 1:be3a691c4a56
- Parent:
- 0:cf255d2aa92f
- Child:
- 2:98b11b7dd7b2
--- a/colors.h Sun Feb 13 01:18:38 2011 +0000 +++ b/colors.h Sun Feb 13 01:27:10 2011 +0000 @@ -53,11 +53,11 @@ #define COLOR_MASK ( RED1 | RED2 | RED3 | GRN1 | GRN2 | GRN3 | BLU1 | BLU2 ) /** Macros **/ -#define COLOR_INIT() LPC_GPIO1->FIODIR |= COLOR_MASK; +#define COLOR_INIT() LPC_GPIO0->FIODIR |= COLOR_MASK; #define COLOR_SET(value) do { \ - LPC_GPIO1->FIOMASK = ~COLOR_MASK; \ - LPC_GPIO1->FIOPIN = (value); \ + LPC_GPIO0->FIOMASK = ~COLOR_MASK; \ + LPC_GPIO0->FIOPIN = (value); \ } while(0) #endif \ No newline at end of file