So I programmed a pic with nigels 1.2 tutorial code powered the pic in the zif socket of the programmer board I connect to my pickit 2 and plugged the led and resistor straight into a header next to the pic.
now apart from the led flashing very faintly (whereas the same resistor value and led work fine as a power on indicator) it only flashes versus staying on when I hold the board in my hand or touch the end of the diodes limiting resistor thats connected to the pic.
why is this ?
it only flashes versus staying on when I hold the board in my hand or touch the end of the diodes limiting resistor thats connected to the pic.
why is this ?
Its behaviour changes when you touch it? Pull up your MCLR pin with a 33K or so resistor. It needs to be pulled up to VDD (5V) or strange/bad things will happen.