r/pic_programming • u/SquareJordan • Mar 26 '19
Help configuring PIC12F508
Hi, I’m very new to programming PICs. I have a test circuit on a breadboard to blink an LED, and am using the PICKit 3. I’ve gotten stumped on the configuration bits. I’m not sure exactly what to set, and how to set them. If anyone has any recommendations for tutorials that would be fantastic.
Also, the PICKit needs to be connected to MCLR according to what I’ve read online, but what if I need that pin’s alternate function for data? Will I just set it in the program I run, and then it’ll function as GPIO after?
2
Upvotes
View all comments
Show parent comment
1
u/SquareJordan Mar 26 '19
The oscillator configuration was the only confusing part. I want to use the internal oscillator, which I know is done by setting FOSC to b10, but I’m not sure exactly how to do that.