PICn-It,
MYNUMBER VAR BYTE
With that, you can get max. 255.
----------------------------------------------
PICn-It,
MYNUMBER VAR BYTE
With that, you can get max. 255.
----------------------------------------------
"If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte
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:
and temporarily put in:Code:ADC_BITS 10 MYNUMBER VAR WORD
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.Code:ADC_BITS 8 MYNUMBER VAR BYTE
Last edited by PICn-It; - 16th December 2009 at 16:11.
Bookmarks