Pages: [1]   Go Down
Author Topic: online reference update liquidcrystal lcd.print to show decimal places required  (Read 482 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I suggest we update the liquidcrystalprint to let people know they can set the decimal places.

thus....

lcd.print(data)
lcd.print(data, BASE)
lcd.print(data,decimal places)

eg  lcd.print(floatingpointvariable,1)   

gives one place after decimal point instead of the default 2 d.p.
Logged

Pages: [1]   Go Up
Jump to: