I struggled to get some code using a glcd ssd1306 (i2c) working. I was getting some 'garbage' in part of the print and a crash (on MCU) after a few prints.
Flipping back to v8 - and all worked well.
Trying a simple test case - here I have a glcdssd1306(i2c) 128 x 32 attached to an Arduino UNO.
Output is not as expected (it's in a 'odd' font) - although it doesn't display the crash...
The 'fix' is to change the glcd font from 'legacy' to another font then back to legacy - then the text is displayed correctly - but it looks like the 'font' data isn't correctly initialised until this property is changed..
Martin
GLCD Font Initialisation error
-
- Valued Contributor
- Posts: 1056
- http://meble-kuchenne.info.pl
- Joined: Wed Dec 09, 2020 9:37 pm
- Has thanked: 107 times
- Been thanked: 546 times
-
- Matrix Staff
- Posts: 1796
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 458 times
- Been thanked: 624 times
Re: GLCD Font Initialisation error
Hi Martin,
Many thanks for letting us know. I've now fixed this at the source and exported a few components to solve the problem including the I2C SSD1306.
It's present in a fair few of the GLCD components so I've fixed all the sources but not exported them all yet.
Many thanks for letting us know. I've now fixed this at the source and exported a few components to solve the problem including the I2C SSD1306.
It's present in a fair few of the GLCD components so I've fixed all the sources but not exported them all yet.
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