GLCD Font Initialisation error
Posted: Tue Jun 01, 2021 7:53 am
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
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