Hi Jan,

Those variables aren't working the way you think. For instance:

TMR1ON VAR BIT
TMR1ON = T1CON.0

Creates a separate BIT variable, and then puts the value of T1CON.0 in it. It doesn't assign T1CON.0 the the name TMR1ON.

Try doing it this way.

TMR1ON VAR T1CON.0
TMR1IF Var PIR1.0
TMR1IE VAR PIE1.0
TMR1IP VAR IPR1.0
IPEN VAR RCON.7<br><br>