Hi Bruce

Working through the errors!

OSCCON is typo in my post - OK in programme
MCLRE ditto
underscore in INTOSCIO ditto
Can't see anything wrong with CMCON0Apologise for wrong PIC reference in post and typos
Still stuck

Adrian