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
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...