• lpc2103 timer0
    hi i'm using lpc2103 and timer0 to make a 10 second delay .but my code just give me 2 second delay . it seems that timer is running 5 time faster ! here is my code : T0TCR=(1<<1); //Reset Timer0...
  • Timer0 Calculation
    Hello All, I am trying to have a function for the delay with the following code. But when executed, I do not get the delay of 1000 ms. Please advise where I am wrong. #include <lpc214x.h> void...
  • lpc2103 timer0
    hi i'm using lpc2103 and timer0 to make a 10 second delay .but my code just give me 2 second delay . it seems that timer is running 5 time faster ! here is my code : T0TCR=(1<<1); //Reset Timer0...
  • Timer0 Calculation
    Hello All, I am trying to have a function for the delay with the following code. But when executed, I do not get the delay of 1000 ms. Please advise where I am wrong. #include <lpc214x.h> void...
  • LPC2138 Timer0 Interrupt
    Can anyone tell me why my interrupt is not firing? The T0IR flag is set upon rollover of the TIMER0 32 bit timer, but my code is not vectored to the interrupt code. My variable 'system_timer' never gets...