This somewhat works but I need to work through a way that it will display the value, 2.004 instead of 2.4 because the way I did it is with W0 = 5*AD_Value (AD_Value could be 0 to 1023). Then I did:
AD_VALUE_HIGH = W0 / 1023
AD_VALUE_LOW = W0 / 1023
THEN LCDOUT, $FE, $C0, #AD_VALUE_HIGH, ".",#AD_VALUE_LOW, "VDC"
I am not sure what you meant by using the DIV32 command. Can you please explain more? Thanks.
Josh
Bookmarks