New LCD PrintFloat Function added.

Post Reply
Posts: 340
Joined: Wed Dec 02, 2020 11:07 pm
Location: Northamptonshire UK
Has thanked: 123 times
Been thanked: 148 times

New LCD PrintFloat Function added.

Post by medelec35 »

I have added a new function to both Generic LCD and I2C LCD components.
The PrintFloat function allows you to enter float variables directly without the need of using Strings and FloatToString functions.
There is an option to state the number of decimal places as well:
Displaying Temperature.png
Displaying Temperature.png (71.18 KiB) Viewed 248 times
To get this new function, select Help, Library updates.
Change Files in-use to Full database, the updated LCD components should appear.
Select Download.
When finished select the Reload button.

Since saving the image, I have restricted the decimal places between 1 and 6.

Post Reply