I am trying to migrate a FC8 project to FC9 that uses the SSD1306_I2C component.
In FC8 there were 4 fonts 5X8 (Font0), 10X8 (Font1), 10X16 (Font2) and 5X16 (Font3).
In FC9 what is the easy migration path to setup these fonts?
I see the font count variable in the properties window, I assume this would need to go to 4.
I also see the Legacy(8) font and font width that can be changed to 5 which should be FC8 Font0.
I do not see how to setup the other 3 fonts.
I need to minimize memory usage also
Any help on this is appreciated.
Thanks,
DC
GLCD (SSD1306) I2C Component
-
- Posts: 14
- http://meble-kuchenne.info.pl
- Joined: Tue Dec 08, 2020 8:29 pm
- Has thanked: 1 time
- Been thanked: 1 time
-
- Matrix Staff
- Posts: 1926
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 501 times
- Been thanked: 686 times
Re: GLCD (SSD1306) I2C Component
Hello
You would set the font count property to 1 and reference font 0 on the print macros.
Use the set font scaler macro to alter the scale of the font.
You would set the font count property to 1 and reference font 0 on the print macros.
Use the set font scaler macro to alter the scale of the font.
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 (SSD1306) I2C Component
Thanks for the quick reply!
I tried the font scaler with number of fonts set to one.
This seems to work good.
Problem now is program memory space.
In FC8 my project used 82.5% of program memory space
FC9 uses 101.5%
PIC18F45K40
Does this sound right?
Or does the new component require a lot more memory space?
Thanks,
DC
I tried the font scaler with number of fonts set to one.
This seems to work good.
Problem now is program memory space.
In FC8 my project used 82.5% of program memory space
FC9 uses 101.5%
PIC18F45K40
Does this sound right?
Or does the new component require a lot more memory space?
Thanks,
DC
-
- Matrix Staff
- Posts: 1926
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 501 times
- Been thanked: 686 times
Re: GLCD (SSD1306) I2C Component
Hello.
The new component should be fairly similar in terms of rom usage.
Would it be possible to see your program so I can try and work out what's using so much more of the rom. If you don't want to post the project publicly you can send it to me via a pm.
The new component should be fairly similar in terms of rom usage.
Would it be possible to see your program so I can try and work out what's using so much more of the rom. If you don't want to post the project publicly you can send it to me via a pm.
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