Could PrintFormattedNumber be added to all displays and not just LCD?
Then gLCD can display Long and Ulong numbers, rather than restricting to signed Ints e.t.c.
Print Formatted Number
-
- Matrix Staff
- Posts: 1610
- http://meble-kuchenne.info.pl
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 567 times
- Been thanked: 531 times
-
- Matrix Staff
- Posts: 1895
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 491 times
- Been thanked: 664 times
Re: Print Formatted Number
Hi Martin,
Good suggestion thanks. I'll have a look shouldn't be too tricky to do
While I'm at it what about a print float function with number of floating points param?
Good suggestion thanks. I'll have a look shouldn't be too tricky to do
While I'm at it what about a print float function with number of floating points param?
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
- p.erasmus
- Posts: 434
- Joined: Thu Dec 03, 2020 12:01 pm
- Location: Russia / Россия
- Has thanked: 104 times
- Been thanked: 88 times
Re: Print Formatted Number
Hi Ben
This is always useful never mind the application LCD,gLCD even in Serial coms
Regards Peter - QME Electronics
-
- Matrix Staff
- Posts: 1610
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 567 times
- Been thanked: 531 times
-
- Matrix Staff
- Posts: 1384
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 184 times
- Been thanked: 322 times
Re: Print Formatted Number
I realise it's an extra step, but you can always convert the float to a string in a calculation and use the string if the component can't handle the float.