Content originally posted in LPCWare by toniojesusde on Thu Apr 14 13:18:10 MST 2011
LPC1769
I do reset the interrupt
ISR works fine without that line
unsigned int i, PIDOn, SetValCargaQ, CargaQSP, SetISP, Pulses, TIM2TCold;
void TIMER0_IRQHandler(void) {//interrupt each second
LPC_TIM0->IR = 1; /* clear interrupt flag */
timer0_counter++;
TIM2TCold=LPC_TIM2->TC;