Skip to content

Problem with "printFixedPgm" #112

@ChristianBrandtner

Description

@ChristianBrandtner

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:
20240205_085617

if not invertColors, PROGMEM Text: there are pixel missing:
20240205_085534

My hardware Ardunio Nano, SSD1306, lcdgfx version 1.1.5, Arduino Ide 1.8.19, OS Debian 12 bookworm

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions