mvs sarma
Well-Known Member
i am missing to see what frequency crystal did you use for the hardware?ok,but why my delay dint work at all???suppose hold the LED for 50sec,but dint work at all....
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
i am missing to see what frequency crystal did you use for the hardware?ok,but why my delay dint work at all???suppose hold the LED for 50sec,but dint work at all....
Can you try this for 50 sec delay20Mhz lo,is that can use??
;PIC Time Delay = 50.00000440 s with Osc = 20000000 Hz
movlw D'5'
movwf d4
movlw D'245'
movwf d3
movlw D'65'
movwf d2
movlw D'7'
movwf d1
loop decfsz d1,1
goto loop
decfsz d2,1
goto loop
decfsz d3,1
goto loop
decfsz d4,1
goto loop
retlw 0