Go Down

Topic: online reference update liquidcrystal lcd.print to show decimal places required (Read 548 times) previous topic - next topic

bazz1

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.

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy