This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

I need help with a timer for 8051

Hi
Is there anyone that can help me write code for a time counter. Is it possible to write code for a AT89c2051 to have a timer stored in a register while haveing some other code running? The timer must look like XX:YY, x=hour, y=minute. Sorry for bad english.

Parents
  • I wrote code for 8051 to save data onto a eeprom but i need to know when was this data written, and have a timer wich starts at 00:00 when the cpu is started i don't need it to be in a register. I just need an example or somethis like this.
    PS i have other code running too

    thanks

Reply
  • I wrote code for 8051 to save data onto a eeprom but i need to know when was this data written, and have a timer wich starts at 00:00 when the cpu is started i don't need it to be in a register. I just need an example or somethis like this.
    PS i have other code running too

    thanks

Children