Content originally posted in LPCWare by Rob65 on Mon Jun 27 08:18:31 MST 2011
Ehh...
I am trying to figure out which lpc1xxx you have.
If it is an lpx17xx variant you could try to peek in the lpx17xx user manual (downloadable from NXP's website) There you will find a table that tells you that bits 13 and 12 of the PINSEl1 register determine the function of P0_22.
So start by downloading the user manual for your chip and read it.
If you then still do not understand it, read it again.
If you [I][B]then[/B][/I] still do not understand, create a reply with information pointing us in the right direction to help you (i.e. which chip, where have you looked in the user manual, which example code are you using)
Regards,
Rob