> Hi, Im using a PIC for the first time (PIC16f676), I downloaded a hex file for an LED Blinking project from here: blink a LED
and it worked perfectly, but then Itried writing my own program in C (MPLAB and HITEC C compiler), and it doesnt work, even though the circuit is the same for both the hex i downloaded and the program I made:
By oscillator section do you mean the __CONFIG() Directives, or the Oscillator frequency, because both of them seem to be correct...The PIC 16f676 has an internal 4Mhz Oscillator