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 tried to connect a pic 18f4520. I get it to program, but it won't run. I want to use the internal oscilator. How do setup the pic 18 ide to use the internal oscilator.
Define CONFIG1L = 0x00
Define CONFIG1H = 0x08
Define CONFIG2L = 0x19
Define CONFIG2H = 0x1e
Define CONFIG3L = 0x00
Define CONFIG3H = 0x87
Define CONFIG4L = 0x81
Define CONFIG4H = 0x00
Define CONFIG5L = 0x0f
Define CONFIG5H = 0xc0
Define CONFIG6L = 0x0f
Define CONFIG6H = 0xe0
Define CONFIG7L = 0x0f
Define CONFIG7H = 0x40
TRISD = 0
main:
PORTD = 255
WaitMs 1000
PORTD = 0
WaitMs 1000
Goto main]
OK. Please go, but do not forget...!Thanks ericgibbs for your post i got it working now. Now it is time to go exploring.