For 2 decimals, multiply by 500 instead of 50.
Then this will display the value with 2 decimal places ...Code:LCDout $FE,2,"V= ",DEC Volts/100,".",DEC2 Volts//100," Vdc"
For 2 decimals, multiply by 500 instead of 50.
Then this will display the value with 2 decimal places ...Code:LCDout $FE,2,"V= ",DEC Volts/100,".",DEC2 Volts//100," Vdc"
DT
Bookmarks