Serial.print
hy
i think has asked couldn't find post..
so got sketch running in wich have print float value on serial port.
for example
float test = 231,02312
serial.print((long)((float)test ));
i 231 that's how rest? '0' problem won't store in int value of course. how can print it?
thx
andy
i think has asked couldn't find post..
so got sketch running in wich have print float value on serial port.
for example
float test = 231,02312
serial.print((long)((float)test ));
i 231 that's how rest? '0' problem won't store in int value of course. how can print it?
thx
andy
Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > Serial.print
arduino
Comments
Post a Comment