i think TOGGLE is only dedicated for i/o not register or variables.
If you use
it will return an error 'Invalid RAM location specified'Code:toggle TRISA.0
So the
is the way to go.Code:TRISA.0=TRISA.0 ^ 1
i think TOGGLE is only dedicated for i/o not register or variables.
If you use
it will return an error 'Invalid RAM location specified'Code:toggle TRISA.0
So the
is the way to go.Code:TRISA.0=TRISA.0 ^ 1
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks