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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/01/01 11:13
Read: times


 
#16203 - RE: EPROM Trouble
again:
mov p1,#00h
mov p1,#ffh
jmp again

Do you have a VERY VERY fast osciloscope? Or do you have a time delay inbetween the two instructions.
something like:

again:
mov p1,#00h
mov R0,#0FFh
djnz R0,$;stay here while counting down
mov p1,#0FFh
mov R0,#0FFh
djnz R0,$;stay here while counting down
jmp again

Also note the 0 in front of mov p1,#0FFh
Always use a zero if a hex value starts
with a letter!

List of 8 messages in thread
TopicAuthorDate
EPROM Trouble            01/01/70 00:00      
RE: EPROM Trouble            01/01/70 00:00      
RE: EPROM Trouble            01/01/70 00:00      
RE: EPROM Trouble            01/01/70 00:00      
RE: EPROM Trouble            01/01/70 00:00      
RE: EPROM Trouble            01/01/70 00:00      
RE: EPROM Trouble            01/01/70 00:00      
RE: EPROM Trouble            01/01/70 00:00      

Back to Subject List