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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/07/00 13:03
Read: times


 
#3080 - RE: Delay code



l10_ms: MOV R1,#10
l1: MOV R0,#242
l2: DJNZ R0,l2
l3: DJNZ R0,l3
DJNZ R1,l1
DEC A
NOP
NOP
JNZ lend
RET
NOP
NOP
lend: SJMP l10_ms


RET


END

PS This is for 12MHz clock and you put in ACC how many 10ms
(miliseconds) delays you want to have.
Bye...


List of 18 messages in thread
TopicAuthorDate
Delay code            01/01/70 00:00      
RE: Delay code            01/01/70 00:00      
RE: Delay code            01/01/70 00:00      
RE: Delay code            01/01/70 00:00      
RE: Delay code            01/01/70 00:00      
RE: Delay code            01/01/70 00:00      
RE: Delay code            01/01/70 00:00      
RE: Delay code            01/01/70 00:00      
RE: Delay code            01/01/70 00:00      
RE: Delay code            01/01/70 00:00      
RE: Delay code            01/01/70 00:00      
RE: Delay code            01/01/70 00:00      
RE: Delay code            01/01/70 00:00      
RE: Delay code            01/01/70 00:00      
Interfacing 8051 with infrared devices            01/01/70 00:00      
RE: Interfacing 8051 with infrared devices            01/01/70 00:00      
RE: Delay code            01/01/70 00:00      
RE: Interfacing 8051 with infrared devices            01/01/70 00:00      

Back to Subject List