Thanks.
I am sticking to C18. The change to Mplab X has confused me enough as it is.
Just another question, has anybody used the XLCD Library by Microchip for a 16x2 LCD with Data on Port C, and RA1-3 for the control lines.
I have been trying the whole day so far. It seems still to be doing something to PortB instead of the LED's on PortC (for debugging) doing what they are supposed to do.
I can get the LCD to work if I do my own code (after wasting about 3 hours because I had the LCD plugged the wrong way into the dev board - it was giving black squares, so I thought it was ok). but I thought if the lib works, it would be easier.
So again, do you all use the lib, or rather code your own external LCD driver
Thanks
Peter