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

5 min timer with C8051F120

Hi,

I'm trying get 5 min timer with C8051F120 timer 2. 24 MHz clock is used and is there any way that i can create 5 min timer?

thanks

Parents
  • More important than learning "functions" is to learn how to think - how to analyse a problem, and design solutions.

    Hence the suggestion to think about how a mechanical clock works: it has a pendulum (or whatever) which "ticks" once per second (or whatever) - and uses that to time a second hand rotating once per minute (60 seconds), a minute hand rotating once per hour (60 minutes), etc.

    Now compare that to what Mr Pier wrote about timers...

Reply
  • More important than learning "functions" is to learn how to think - how to analyse a problem, and design solutions.

    Hence the suggestion to think about how a mechanical clock works: it has a pendulum (or whatever) which "ticks" once per second (or whatever) - and uses that to time a second hand rotating once per minute (60 seconds), a minute hand rotating once per hour (60 minutes), etc.

    Now compare that to what Mr Pier wrote about timers...

Children
No data