vterminater
Junior Member level 1
pic18f
i am usin pic18f4550 with 20Mhz crystal and 22pf caps in my ckt...i wrote a program as follows
#include<p18f4550.inc>
config lvp=off
config debug=on
config wdt=off
config fosc=hs
config mclr=on
clrf trisd
clrf portd
l1:movlw 0xff
movwf portd
nop
nop
movlw 0x00
movwf portd
nop
nop
goto l1
end
is anything wrong with thw program??!!:| i get 0v at pin20..portd...:!:
i am usin pic18f4550 with 20Mhz crystal and 22pf caps in my ckt...i wrote a program as follows
#include<p18f4550.inc>
config lvp=off
config debug=on
config wdt=off
config fosc=hs
config mclr=on
clrf trisd
clrf portd
l1:movlw 0xff
movwf portd
nop
nop
movlw 0x00
movwf portd
nop
nop
goto l1
end
is anything wrong with thw program??!!:| i get 0v at pin20..portd...:!: