Content originally posted in LPCWare by Ex-Zero on Thu Jun 07 04:37:30 MST 2012
Hint: RIT is a dumb counter. It's counting to LPC_RIT->RICOMPVAL, interrupts and starts with 0 again :eek:
So what did you write to this counter? CLK/4/10000 :)
And this timer is running with CLK/4 :)
So it needs about (CLK/4/10000)/(CLK/4) seconds = 1/10000 s :mad: