Thanks for pointing that out - however - that did not solve the problem. If I read the data sheet correctly, it does not matter anyway how the TRIS is configured for GPIO.3 , 'cause it always defaults to input only.

Ken