Along those same lines:
Code:IF (OutputMap1 = 7) & (PORTB = 7) THEN PORTB = 0 ELSE PORTB = 7 ENDIF
Along those same lines:
Code:IF (OutputMap1 = 7) & (PORTB = 7) THEN PORTB = 0 ELSE PORTB = 7 ENDIF
Thanks for your replies guys!
Don't I feel like an idiot! Here was my problem...
From this:
if PORTB & OutputMap1 = OutputMap1 then
To this:
if (PORTB & OutputMap1) = OutputMap1 then
Works perfectly.
If for nothing else, thank you guys for proding me to look at my code closer.
Take care and be safe,
Chris
Bookmarks