Hi,
I started a project in Flowcode v8 using the gLCD SH1106 I2C Component
which displayed the chosen font size correctly in both simulation and hardware.
The same project in v9 does not display font sizes correctly.
Changing the font size in the gLCD "PrintNumber Macro" has no effect in simulation or hardware.
Project is running on a PIC 16f1788 32MHz clock.
Please assist
Glcd SH1106 Font Sizes not working correctly
-
- Posts: 5
- http://meble-kuchenne.info.pl
- Joined: Fri Dec 11, 2020 8:27 am
-
- Posts: 774
- Joined: Thu Dec 03, 2020 8:25 pm
- Location: Denmark
- Has thanked: 669 times
- Been thanked: 173 times
Re: Glcd SH1106 Font Sizes not working correctly
Hi trifonic!
In FC9 it is on a new way to change font. Now you can choose different font and also the size. Ben give a very good explanation here:
https://www.youtube.com/watch?v=HN8EI64ADic
Hope this help
Jorgen
In FC9 it is on a new way to change font. Now you can choose different font and also the size. Ben give a very good explanation here:
https://www.youtube.com/watch?v=HN8EI64ADic
Hope this help

Jorgen
-
- Matrix Staff
- Posts: 1926
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 501 times
- Been thanked: 686 times
Re: Glcd SH1106 Font Sizes not working correctly
Hi Trifonic
Yes Font parameter now should be set to 0 (assuming you want everything in the same font) and you can use the SetFontScaler function to set the X,Y scale of the font before printing. Default is 1,1.
Sorry for any inconvenience but hopefully the new way of doing things is a bit more useful once you get used to it.
Yes Font parameter now should be set to 0 (assuming you want everything in the same font) and you can use the SetFontScaler function to set the X,Y scale of the font before printing. Default is 1,1.
Sorry for any inconvenience but hopefully the new way of doing things is a bit more useful once you get used to it.
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
Re: Glcd SH1106 Font Sizes not working correctly
Great,
Thanks for the help, will give it a bash.
All The best
Thanks for the help, will give it a bash.
All The best
Re: Glcd SH1106 Font Sizes not working correctly
All works well once more.
The v9 gLCD font setup is a lot more flexible than previously.
Thanks again for your assistance Ben & Jorgen
All the best
The v9 gLCD font setup is a lot more flexible than previously.
Thanks again for your assistance Ben & Jorgen
All the best