Go Down

Topic: Floating point number and LCD display???? (Read 824 times) previous topic - next topic

Rico_Bravo

How can I display my floating point number (2.88) on my LCD  display?
Serial.println() does not like floating point numbers.
Please Help!
Thanks
Rico

mem

Hi Rico,

The code here: http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1207226548/6#6
writes a floating point number to the serial port. You don't say if your lcd is connected using Serial or if you are using the Arduino liquidCrystal library. If the later and you are using the LiquidCrystal library from 0012, replace Serial.print with lcd.print.

Have fun!

Rico_Bravo

MEM,
Thanks a million!
The code works great!
Again, thank you and have a super great day!
Rico

Go Up