im not in front of the circuit and computer in order to test it.
i havent done it as it following /100 and //100 (remainder)
Code:
buff var byte[6] ; 4dig+dp+nullspeed
var word
ARRAYWRITE buff,[dec2 speed/100,"."dec2 speed//100 ,0]
LCDSTR x,y, buff
I have used it with "." like the following in the loop and i get it right on the LCD as 50,86 for example. :
I need on the screen the right "floating" value.
Code:
ARRAYWRITE speed [dec var1,".",dec2 var2,0]
LCDSTR x,y, speed
then i send the code to sub label
speedlimit:
and i havent used "."
i sent the command like:
Code:
ARRAYWRITE speed [dec var1,dec2 var2,0]
having that it was not possible to use speed as word.
Bookmarks