Re: 8051 based leds blinking with external blinking speed co
hi your zip or password is incorrect in your blog
Added after 2 hours 15 minutes:
ORG 0000H ;System reset RST
AJMP start
ORG 0003H
MOV P1,#11111111B
JNB P3.7,$
MOV P1,#00000000B
RETI
ORG 0030H
start:
Setb P1.0
Clr P1.1
call delay;
Setb P1.1
Clr P1.2
call delay;
Setb P1.2
Clr P1.3
call delay;
Setb P1.3
Clr P1.0
call delay,
ljmp start;
delay:
XRL A,#0FFH ;IN CASE OF 2051 CIRCUIT
MOV P1,A
JNB P3.7,FULL
JB P3.1,$
JNB P3.7,FULL
JNB P3.1,$
JNB P3.7,FULL
RET
FULL: MOV P1,#11000000B
JNB P3.7,$
MOV P1,#11111111B
RET
END
i tried that is not working for me why?