Thanks for the reply.
I've added those two lines to the code and I still get nothing out from the PIC.
The top section of the code is:
Code:
TRISIO.0 = 0 'Set GPIO.0 to output.
ANSEL.0 = 0 'Set GPIO.0 to digital
GPIO.0 = 0
CMCON = 7 ' PortA Digital inputs
VRCON = 0 ' Voltage reference disabled
OPTION_REG.7 = 0
I've double checked the hardware and the PIC is receiving 5v, but all pins other than GP5 remain low (0.1v, with GP5 +2.6v) - could it be something to do with the internal OSC setting ?? - I want to use the built in 4 Mhz OSC
Malcolm
Bookmarks