Thanks for that - great! One question :

Normally, If I used the line:

PortB = OutputValue

Then all of port B would be written to. Is the PIC 'clever' enough to only output to the available pins, and not try to output on the interrupt pin then?

Frm what you are saying, it will always ouput as much as it can, starting from the MSB. Is this right...?

Cheers,


Ben