Thanks everyone for the advice.
Dave P, your idea seems to work. However what if I want to isolate the low range OR the high range. I'm essentially trying to put logical operators in my case statement.
Case is < 256 OR is > 768
PORTC = %0001
Case Else
PORTC = %1000
Can I write that first Case statement with the OR term?
Or would I have to do this:
Case is < 256
PORTC = %0001
Case is > 768
PORTC = %0001
Case else
PORTC = %1000
Is there no way to use logical operators in Case Statements in PICBasicPRO??!
Bookmarks