Set interrupt TMR1 For one second or so and enable the int's. and make sure that pin is set to output.Hi,
I've made a PCB with a PIC controller.
I've added two LEDs as indicators, but they don't flash as expected. Voltage applied to the PIN turns LEDs ON.
The PIC programs and verifies ok.
How can I tell if the PIC is working?
Camerart
Invoke in the TMR1 interrupt Led = !Led; // connect led or scope to pin x
// link led to a pin. example #define led PORTFbits.RF2 output is now RF2
power-up
when led pin is switching cpu is running.
if not control the MCLR , power lines and grounds and interrupt enable's
Picbuster