selvamanikandan
Newbie level 4
- Joined
- May 12, 2012
- Messages
- 7
- Helped
- 1
- Reputation
- 2
- Reaction score
- 1
- Trophy points
- 1,283
- Location
- TIRUNELVELI
- Activity points
- 1,334
can any body help me to interface the PIR sensor with at89c51 microcontroller i write the code below but it doesnot work
org 0000h
mov p0,00h;
mov p1,00h;
mov p2,00h;
mov p3,00h;
t1:
jnb p2.0,h1;
setb p2.1;
h1:
clr p2.1;
sjmp t1;
org 0000h
mov p0,00h;
mov p1,00h;
mov p2,00h;
mov p3,00h;
t1:
jnb p2.0,h1;
setb p2.1;
h1:
clr p2.1;
sjmp t1;