I am using NXP Xpresso V2 board for LPC11U37H. I am trying to blink on board LED's by reading SW1 and SW2. To sense SW1 and SW2, I am using API library functions, Board_Buttons_Init(), ButtonsGetStatus().
With this I am able to sense SW2 properly but SW1 is always pressed detected. My question is, because SW1 is connected to WAKEUP pin and supplying external voltage, do I need to initialize this GPIO in different manner as of GPIO of SW2 ? Is this triggering SW1 to detect always pressed?
Original Attachment has been moved to: board.c.zip