New LCD PrintFloat Function added.

Post Reply
Matrix Staff
Posts: 692
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 242 times
Been thanked: 244 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 651 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