Content originally posted in LPCWare by monnoliv on Tue Nov 15 03:53:53 MST 2011
Hello,
I have configured timer0 with match1 register in order to toggle the P1.29 pin every 1mS, works well.
Instead of toggling the pin, I've tried to clear the pin (this is ok) and then to set the pin in the interrupt routine, this is not working. I think this is because the P1.29 pin is configured as a function and not as a GPIO, right?
Question, how to set these pin manually ? Since there is a possibility to clear (or set) the pin automatically, it must be possible to set (clear) it afterwards.
Olivier