__CONFIG _CP_OFF & _WDT_OFF & _PWRTE_ON & _INTOSC_OSC_NOCLKOUT & _LVP_OFF
On your chip you can disable the MCLR pin. It will then become a pin that may be used for input. What kind of programmer do you have? After you have programmed your chip. You should always do a verify to check if your programming is correct. I think many programming tools do this as a part of the programming cycle.Is that different from MCLR? Also, what is the purpose of turning it on/off?
As for the oscilator, what config directive should I use to tell the compiler to use the internal oscilator?
Many thanks!!!
#include "p12f629.inc"
bsf 03h,5
movlw 00h
movwf 85h
bcf 03h,5
movlw 02h
movwf 05h
movlw 00h
movwf 05h
end
Try SourceBoost using C to write your programs instead of assembly. That is what was used to whack together the program you just ran.Thanks a lot, this flashes the LED on some pins, on others the LED is steady.
What would you suggest?
by Aaron Carman
by Don Wilcher
by Duane Benson