New LCD PrintFloat Function added.

Post Reply
medelec35
Matrix Staff
Posts: 682
http://meble-kuchenne.info.pl
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 229 times
Been thanked: 241 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 596 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.

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

Post Reply