rohansinha2000
Member level 2
hi,
org 0000h
start:Setb P3.0 ; send '1' to P0.0
call delay; call delay time
setb P3.1 ;
call delay;
setb P3.2 ;
call delay;
setb P3.3 ;
call delay;
setb P3.4 ;
call delay;
setb P3.5 ;
call delay;
setb P3.6 ;
call delay;
setb P3.7 ;
call delay;
call delay;
call delay;
call delay;
call delay;
call delay;
Clr P3.7 ;
call delay;
Clr P3.6 ;
call delay;
Clr P3.5 ;
call delay;
Clr P3.4 ;
call delay;
Clr P3.3 ;
call delay;
Clr P3.2 ;
call delay;
Clr P3.1 ;
call delay;
Clr P3.0 ;
call delay;
sjmp start; loooooop forever to start
delay: mov R1,#0FFH
del1: mov R2,#0FFH
del2: djnz R2,del2
djnz R1,del1
ret
end
i need to add 555 timer with it. plz help me out .thanks
org 0000h
start:Setb P3.0 ; send '1' to P0.0
call delay; call delay time
setb P3.1 ;
call delay;
setb P3.2 ;
call delay;
setb P3.3 ;
call delay;
setb P3.4 ;
call delay;
setb P3.5 ;
call delay;
setb P3.6 ;
call delay;
setb P3.7 ;
call delay;
call delay;
call delay;
call delay;
call delay;
call delay;
Clr P3.7 ;
call delay;
Clr P3.6 ;
call delay;
Clr P3.5 ;
call delay;
Clr P3.4 ;
call delay;
Clr P3.3 ;
call delay;
Clr P3.2 ;
call delay;
Clr P3.1 ;
call delay;
Clr P3.0 ;
call delay;
sjmp start; loooooop forever to start
delay: mov R1,#0FFH
del1: mov R2,#0FFH
del2: djnz R2,del2
djnz R1,del1
ret
end
i need to add 555 timer with it. plz help me out .thanks