
Originally Posted by
sayzer
PICn-It,
MYNUMBER VAR BYTE
With that, you can get max. 255.
----------------------------------------------
Yes, good catch.
In my code, currently I can't figure out how to steady up the 10-bit ADC reading, so I temporarily REM'd those lines:
Code:
ADC_BITS 10
MYNUMBER VAR WORD
and temporarily put in:
Code:
ADC_BITS 8
MYNUMBER VAR BYTE
while I work out the display screens and presentation. The CASE statement based on your IF/THEN code posted above seems to work great, thank you.
Bookmarks