• Timers
    hai Iam new to this how can i configure a timer to run as a one second timer.for every second it must count .plz some example code please
  • Timer
    I am having a problem with my I2C. I am using a 89C664 philips microcontroller. I have two of these chips talking to each other. I have my I2C implemented in such a way that if the state (S1STA) doesn...
  • Watchdog Timer as an interval timer
    Hi, I am trying to use watchdog timer as an interval timer. To test that the interval timer generates an interrupt, I am toggling a pin in the ISR of the watchdog interval timer. But it is not working...
  • Timer 2 as 5 sec timer
    Greetings everybody, I am working on a project of making a timer which runs for 5 seconds and stops. I have selected timer 2 for this. I start the timer on key press and it runs for 5 seconds. ...
  • Doubts on Timer 0 & Timer 1 of 89C51, Timer 2 of 89C52
    For Timer 2 of 89C52, to initialise it, the routines i used are as follow: void setTimer2 (void) { TR2=0; count20ms=0; T2CON=0; RCAP2H=(-40000) >> 8; RCAP2L=(-40000) & 0x0ff; TH2=RCAP2H;...