Hi, Skimask

the "reserved word" is PIR1 ... then, no Pb with PIR.


Now look at output initialisation :

- the named outputs are declared as inputs in the TRIS ... and vice-versa.

Alain