After much mucking around this code seems right.
After much mucking around this code seems right.

The problem is that the breadboard setup seems to be very susceptible to noise and moving my hand near to it causes strange behaviour of the device.  Need a better circuit board to test things out.  Also need to check if capacitors are needed on MCLR for operation

fionahiklas/pic_hello_world,fionahiklas/pic_hello_world