[SOLVED] why port giving high all the time. plz help. i really need help.

Status
Not open for further replies.

yasir23

Member level 1
Joined
Mar 2, 2011
Messages
33
Helped
2
Reputation
4
Reaction score
1
Trophy points
1,288
Activity points
1,548
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
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…