PIC16f882 LED blink

Not sure whether this is the right place to ask about PIC. But then Arduino forums has always come to my rescue. After my dive into Arduino and AVR, I thought about going into PIC and I have to say that things were not so smooth.

I have a PIC16f882 and PICKIT2. I am trying to blink and LED. MPLABX IDE and Hi-TEC C compiler is used. My question is if I use _CONFIG to configure the chip to use the internal oscillator, can I get an LED to blink by just connecting the power supply and the associated circuit(of course after programming the device). What else do you think should be put into _CONFIG to make things okay? So far I have not been able to get things alright.

Thanks

After my dive into Arduino and AVR, I thought about going into PIC and I have to say that things were not so smooth.

(I can believe the above...)

Maybe this 16F article will help.

Just remember to calculate a proper current-limiting resistor value for the LED.

Maybe you need to configure the WDT. I don't remember very well but I think is configured in that word too.

Thanks for your help guys...anyways i figured it out.....

What did you figure out ?
Share what you just learned so someone else with similar plans can be helped too.