I'm using an 18F252 with a 10 MHz external resonator and I can't figure out the code needed to tell the pic to run in what the datasheet called "HS" mode. I'm new to the PIC and PicBasic, but I think that I have my PIC set up correctly (pin 1 tied high w/ 4.7K resistor) and I have a good downloader. Here is the code that I have been trying:
DEFINE OSC 10
loop:
high PORTB.0
low PORTB.1
pause 500
high PORTB.1
low PORTB.0
goto loop
end
but I cant get any sign of life out of my PIC
Bookmarks