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

how do i give a 0.1 second delay in 89c51 assembley

hi!i want to know how to to give a delay of 0.1 second in keil assembley of 8051 microcontroller, using timers. it would be great if any of you could help, esp with the code. i can give small delays easily but this is somewhat large....i have a project due and i am stuck at this.
thankyou in advance:)

Parents
  • I can sucessfully measure a day. It's the time from sunrise to the next sunrise. Or from sunset to the next sunset. This works fine; I have tested this several times. But now I need to measure a week. How can I do this. Please help. ;-)

    So what is the exact purpose of this application?

    If that's something of just an experiment, it's OK.

    But if your application must keep time going (say, for months or years or to the end of the world), you should take an RTC (Real Time Clock) rather than do it by timer within microcontrollers. Compensation for temperature, variation and aging is totally unavailable in this case.

Reply
  • I can sucessfully measure a day. It's the time from sunrise to the next sunrise. Or from sunset to the next sunset. This works fine; I have tested this several times. But now I need to measure a week. How can I do this. Please help. ;-)

    So what is the exact purpose of this application?

    If that's something of just an experiment, it's OK.

    But if your application must keep time going (say, for months or years or to the end of the world), you should take an RTC (Real Time Clock) rather than do it by timer within microcontrollers. Compensation for temperature, variation and aging is totally unavailable in this case.

Children