Arm Community
Site
Search
User
Site
Search
User
Support forums
Keil forum
How to write a simple countup timer?
Jump...
Cancel
State
Not Answered
Locked
Locked
Replies
1 reply
Subscribers
22 subscribers
Views
588 views
Users
0 members are here
Keil C51 Tools
Options
Share
More actions
Cancel
Related
How was your experience today?
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 to write a simple countup timer?
Kim Joe
over 21 years ago
can anyone tell me how to write a simple countup timer? thanks
Parents
0
Jon Ward
over 21 years ago
for(i=0; i<100; i++) { }
The variable i counts up from 0. Is this what you mean or are you talking about the on-chip counters?
If that's the case, take a look at
http://www.keil.com/download/docs/8051_counter0.zip.asp
.
Jon
Cancel
Vote up
0
Vote down
Cancel
Reply
0
Jon Ward
over 21 years ago
for(i=0; i<100; i++) { }
The variable i counts up from 0. Is this what you mean or are you talking about the on-chip counters?
If that's the case, take a look at
http://www.keil.com/download/docs/8051_counter0.zip.asp
.
Jon
Cancel
Vote up
0
Vote down
Cancel
Children
No data