Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/23/02 06:38
Read: times


 
#23296 - RE: compile a simple sample program
Hi Jeff,

there are 3 solutions:
- delay loops
- polling timers
- timer interrupts

At the beginning delay loops are the easiest, but also most inaccurate and power consuming.
On the 8051 delay loops can easy be build with "DJNZ". To get up to 250ms a couple of cascaded delay loops should be the solution.


Peter


List of 9 messages in thread
TopicAuthorDate
compile a simple sample program            01/01/70 00:00      
RE: compile a simple sample program            01/01/70 00:00      
generating clock            01/01/70 00:00      
RE: compile a simple sample program            01/01/70 00:00      
RE: compile a simple sample program            01/01/70 00:00      
RE: compile a simple sample program            01/01/70 00:00      
RE: compile a simple sample program            01/01/70 00:00      
RE: compile a simple sample program            01/01/70 00:00      
RE: compile a simple sample program            01/01/70 00:00      

Back to Subject List