Hi Folks,
LEDs do not work with the examples source code shared by NXP, lpcopen_2_18_lpcxpresso_nxp_lpcxpresso_1837
on board we have 3 LEDs
Red - Power indicator
Yellow & Blue - (user configurable), these are connected to GPIO1[11] & GPIO1[12], do the following modifications in the lpc_board_nxp_lpcxpresso_1837/src/board.c file
//remove this line
-static const io_port_t gpioLEDBits[] = {{3, 5}, {0, 7}, {3, 7}};
//add this line
+static const io_port_t gpioLEDBits[] = {{3, 5}, {1, 11}, {1, 12}};
use the MACROS LEDS_LED1 & LEDS_LED2 to make then turn ON/OFF using the api Board_LED_Set(LEDS_LED2, 1);
Thanks & Regards,
Vamshi G.