Content originally posted in LPCWare by Dave3891 on Tue Jul 26 20:43:24 MST 2011
I am trying to use one 32 bit timer and 3 match registers in toggle mode to make a variable triple frequency generator.
I can't seem to find what the bug in my code is.
Everything works fine for the first bit in debug, but then it just seems to stop interrupting and incrementing the match registers.
My code uses the timer0 as a free running timer, and then I just add a new value to the match register on its interrupt and count the pulses.
Any help would be appreciated.
[LEFT]Thanks
Dave[/LEFT]