Go Down

Topic: online reference update liquidcrystal lcd.print to show decimal places required (Read 540 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