Content originally posted in LPCWare by gbm on Fri May 13 06:48:42 MST 2011
The values for IOCON registers are incorrect. Set bit 6 and 7 to 1. Bit 6 basically disables the pin if set to 0. Also, some pullups/pulldowns are probably needed, aren't they?