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 have misread the data sheet it want external rc so, problem is nothinghi ritesh,
What are the R/C values of your RC Oscillator circuit.?
; Delay = 0.5 seconds
; Clock frequency = 4 MHz
; Actual delay = 0.5 seconds = 500000 cycles
; Error = 0 %
cblock
d1
d2
d3
endc
Delay ;499994 cycles
movlw 0x03
movwf d1
movlw 0x18
movwf d2
movlw 0x02
movwf d3
Delay_0
decfsz d1, f
goto $+2
decfsz d2, f
goto $+2
decfsz d3, f
goto Delay_0
;6 cycles
goto $+1
goto $+1
Return
to understand pic arch more deeply for its use..why the move from C??
Ritesh if you have given up on C and now going with ASM then take a look at nigels page he has loads of tutorials for ASM, but can i ask why the move from C??