I Think that if he used a IR module, then just go work if TRISA.1 = 1, as input!

Pimentel