• timers/counter
    i want to use an if statment to start a timer n then i want it to tell me how long it been going for and then i want it to reset when it get to a lower value. where do i start.
  • timer and counter
    hi!! i need help regarding 8051 timers and counters. like i am making project in which i have to use both timer and counter. i just want to ask whether we can use timer and counter at the same time...
  • Counter not resetting to 0
    I have an LPC24 board and I'm struggling to get the counter to reset to 0. int countval; T1TCR = 0x02; /*Counter Reset*/ T1TCR = 0x01; /*Counter Enable*/ T1CTCR = 0x05; /*Count Pulses*/ countval...
  • Does LPC2103 Timer/Counter MAT output always low after reset?
    Hi all, I am using LPC2103 for the first time. When I setup Timer/Counter with MAT as match output, it always init at logic low on the MATn.m pin. So what is the purpose for setting the TnEMR...
  • set timer as counter
    Hi, my name is hardian and i have some problem with setting timer as counter, and i already wrote a code : TR0=1; TMOD=0x06; ET0=1; EA=1; but it still doesnt work, can anyone tell me how to set...