yasir23
Member level 1
my 89s51 giving high in all the port except p0.
why ?
i m using a very simple coding
org 0000h
setb p2.0
setb p2.1
h1: mov c,p2.0
mov p1.0,c
mov c,p2.1
mov p1.1,c
sjmp h1
end
it should low if p2.0 low so p1.0 should also low. but its give high all the time
https://obrazki.elektroda.pl/40_1319535474.jpg
why ?
i m using a very simple coding
org 0000h
setb p2.0
setb p2.1
h1: mov c,p2.0
mov p1.0,c
mov c,p2.1
mov p1.1,c
sjmp h1
end
it should low if p2.0 low so p1.0 should also low. but its give high all the time
https://obrazki.elektroda.pl/40_1319535474.jpg