I am new to LPC MCUs & MCUXpresso IDE tool. I have LPC11C24 CMSIS-DAP board. As per a document, PIO0_7, PIO0_8 and PIO0_9 pins are connected to RGB Led on the board. But I am able to turn on only Red Led i.e. PIO0_7.
How to turn Green and blue leds of RGB LED? My logic for turning on RGB led is as following:
Chip_GPIO_SetPinDIROutput(LPC_GPIO, 0, 7);
Chip_GPIO_SetPinDIROutput(LPC_GPIO, 0, 8);
Chip_GPIO_SetPinDIROutput(LPC_GPIO, 0, 9);
Chip_GPIO_SetPinState(LPC_GPIO, 0, 7, 1);
Chip_GPIO_SetPinState(LPC_GPIO, 0, 8, 1);
Chip_GPIO_SetPinState(LPC_GPIO, 0, 9, 1);
Thank you.
Ajay Kumar