PDA

View Full Version : Pic16f882 internal oscillator



offlander
- 4th October 2009, 17:48
Hello all,

I'm a little new to this. I'm having troubles with my Pic16F882. Specifically the internal oscillator configuration. I setup the following code to make a LED blink..

Define OSSCON = $60
Main:
high portc.4
pause 300
low portc.4
goto main

Saddly all it does is leave the LED on constantly. Under the configuration of meProg I set the Oscillator to:INTOSCIO. I'm sure its something simple I have missed.

Bryan

bogdan
- 4th October 2009, 19:16
Define OSSCON = $60
Main:
high portc.4
pause 300
low portc.4
pause 300
goto main

offlander
- 4th October 2009, 20:15
thanks, I'm feeling as though I should need to pass an IQ test to use PIC right now.