Hello Rossw,
Rossw>>This chip has an internal oscillator (20 Mhz). Here's my question: how do I program this chip with (a) PIC Basic and (b) PIC Basic Pro, and do I need to do anything special in order to drop it into a breadboard with an LED (i.e. the simple blink.bas program). Will the EPIC programmer save the configuration bits each time I erase/program it?<<
I believe it has up to 20 MHZ capability, and only a 4 mhz internal Osc. Make sure your MCLR pin is set as a input, not reset. <g>. I have ran into this a few times when I forget to reset my programmer.
Set one of your I/O pins as a output through your TRIS commmand, Turn off all digital, put your diode in, and a small resister in series... program it as you like. It will look something like the follolwing..
(The following program was done on a 12F675.) Should be somewhat close to what you are looking for...
ANSEL=0
CMCON=%00000111
TRISIO=%00001000
Loop:
GPIO.0=1
Pause 500
GPIO.0=0
PAUSE 500
goto Loop
end.
Ability to Fly:
Hurling yourself towards the ground, and missing.
Engineers that Contribute to flying:
Both optimists and pessimists contribute to the society. The optimist invents the aeroplane, the pessimist the parachute
Pilots that are Flying:
Those who know their limitations, and respect the green side of the grass...
Bookmarks