ComputerAngel
Junior Member level 2
Hello, I am new to PIC. I was able to write a simple program that turned an LED on and OFF but am finding it difficult to to make it blink. the internal clock is just not working. I have tried all I can but still not working. Can anyone please help me out? How can I configure PIC16F887 internal oscillator (OSCCON register) to use 8MHz internal oscillator? the only thing I know is defining it in the header file #define _XTAL_FREQ = 8000000