I think you just need to start/stop Timer1
OR, you disable/enable the TMR1 interruptCode:TMR1ON=0 ' Stop Timer1 TMR1ON=1 ' Start Timer1
and then, you set your pin the way you want.Code:@ INT_DISABLE TMR1_INT @ INT_ENABLE TMR1_INT
I think you just need to start/stop Timer1
OR, you disable/enable the TMR1 interruptCode:TMR1ON=0 ' Stop Timer1 TMR1ON=1 ' Start Timer1
and then, you set your pin the way you want.Code:@ INT_DISABLE TMR1_INT @ INT_ENABLE TMR1_INT
Last edited by mister_e; - 20th April 2008 at 11:56.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks