Hi, Joseph
Definitly a simulator issue ...( one MORE for Proteus ...
)
Just run your program in MPSIM ( MPLAB Simulator ) in step by step mode, and you won't see any change for the output ...
I did told you Sims are toys ..., forget about them !!!
BTW, Correct code is:
Doesn't change anything ... but brain satisfying !!! ( it's a logical EXOR, and not a bitwise one )Code:IF ( FWD ^^ REVS ) AND NOT NEUT THEN forward = FWD : revers = NOT forward ELSE forward = 0 : revers = 0 ENDIF
Alain
Bookmarks