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

Back to Subject List

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


 
#13019 - switching a port high/low
ok, really simple, whats wrong with this? According to my oscilloscope it's not switching the the bits on p1 high or low, all I get is 170mV of 'noise'

org 8000H
load

mov p1,#0
mov p2,#0
mov p3,#0

mov r1,#255
mov r0,#255

loop1:
djnz r1,$
djnz r0,loop1

mov p1,#0
loop2:
djnz r1,$
djnz r0,loop2
mov p1,#255
jmp loop1
end


List of 10 messages in thread
TopicAuthorDate
switching a port high/low            01/01/70 00:00      
RE: switching a port high/low            01/01/70 00:00      
RE: switching a port high/low            01/01/70 00:00      
RE: switching a port high/low            01/01/70 00:00      
RE: switching a port high/low            01/01/70 00:00      
RE: switching a port high/low            01/01/70 00:00      
RE: switching a port high/low            01/01/70 00:00      
RE: switching a port high/low            01/01/70 00:00      
RE: switching a port high/low            01/01/70 00:00      
RE: switching a port high/low            01/01/70 00:00      

Back to Subject List