getshameer
Newbie level 1
Iam trying to glow4 LEDS one by one wen the switch is ON.
Well , i got the o/p for small delays(15 ms and all)
Well wen i increased the delay(by changing the delay subroutine) , the first few LEDS were working and the last ones remaiined off.
In the atched file i am giving l1 a value = 5..... wen i cleared the l1 register ( which on decrementinng makes 0xFFh) the problem occured.
Am attaching the Proteus design file and the ASM file.
I need a TIME DELAY of few seconds.
Thank you
Well , i got the o/p for small delays(15 ms and all)
Well wen i increased the delay(by changing the delay subroutine) , the first few LEDS were working and the last ones remaiined off.
In the atched file i am giving l1 a value = 5..... wen i cleared the l1 register ( which on decrementinng makes 0xFFh) the problem occured.
Am attaching the Proteus design file and the ASM file.
I need a TIME DELAY of few seconds.
Thank you