Content originally posted in LPCWare by lennyk87 on Sun Sep 30 03:58:28 MST 2012
Hi, I'm sorry my posts were so sketchy.
I use the interrupts to count the PWM cycles and toggle one pin after 30 cycles (I need kind of a burst mode). Plus I need to toggle another Pin after another number of cycles. Thats realised by a switch case statement.
If I don't use the interrupt, everything works fine. Note that it doesn't even work with an empty interrupt routine (and interrupt enabled).
I hope I gave you enough information now, sorry again.