Open ChristianBrandtner opened 9 months ago
there is a bug in "printFixedPgm"
Code:
static const char text[] PROGMEM = "PROGMEM Text";
static void textDemo() { display.setFixedFont( ssd1306xled_font6x8 ); display.clear(); display.invertColors(); display.printFixed(0, 32, "Inverted bold", STYLE_BOLD); display.printFixedPgm(0, 40, text, STYLE_BOLD); display.invertColors();
} on Display PROGMEM Text is white:
if not invertColors, PROGMEM Text: there are pixel missing:
My hardware Ardunio Nano, SSD1306, lcdgfx version 1.1.5, Arduino Ide 1.8.19, OS Debian 12 bookworm
@ChristianBrandtner
Thank you for reporting this issue. Color-related issue is fixed per c41130b commit. Bold style issue is under investigation.
there is a bug in "printFixedPgm"
Code:
static const char text[] PROGMEM = "PROGMEM Text";
static void textDemo() { display.setFixedFont( ssd1306xled_font6x8 ); display.clear(); display.invertColors(); display.printFixed(0, 32, "Inverted bold", STYLE_BOLD); display.printFixedPgm(0, 40, text, STYLE_BOLD); display.invertColors();
} on Display PROGMEM Text is white:
if not invertColors, PROGMEM Text: there are pixel missing:
My hardware Ardunio Nano, SSD1306, lcdgfx version 1.1.5, Arduino Ide 1.8.19, OS Debian 12 bookworm