AnsweredAssumed Answered

Bug in lpc_board_nxp_lpcxpresso_4337/src/board.c gpioLEDBits

Question asked by John Schooling on Mar 25, 2019
Latest reply on Mar 27, 2019 by ZhangJennie

The green LED does not work on LPCXpresso43xx board in projects using /src/board.c

gpioLEDBits[1].pin is set to 14.  The correct value is 7.  I.e. the green LED should be {port, pin} = {0, 7}.

The following line is incorrect:

static const io_port_t gpioLEDBits[] = {{3, 5}, {0, 14}, {3, 7}};

and should be replaced by:

static const io_port_t gpioLEDBits[] = {{3, 5}, {0, 7}, {3, 7}};

 

In (at least) the following downloadable projects (and multiple locations):

lpcopen_3_01_lpcxpresso_nxp_lpcxpresso_4337.zip

lpcopen_3_02_lpcxpresso_xpresso4337.zip

 

Please could you investigate and fix this.

Thanks.

Outcomes