lexus2k / ssd1306

Driver for SSD1306, SSD1331, SSD1351, IL9163, ILI9341, ST7735, PCD8544, Nokia 5110 displays running on Arduino/ESP32/Linux (Rasperry) platforms
MIT License
660 stars 127 forks source link

Text overwriting #7

Closed scargill closed 6 years ago

scargill commented 6 years ago

I just noticed - that using the Canvas - if you write text.. then overwrite - the black pixels are not restored... ie overwrite an E with an O and the original pixels remain intact..

Which means the only way to update a line--- is to wipe the screen and redraw the lot?

lexus2k commented 6 years ago

Hi Peter, I understand your point. My initial thoughts were to use fill-rectangle or function something like this to clear the area behind the text if needed. To make usage of charF6x8() simpler, I updated the method to restore black pixels. Please, check latest version on github

lexus2k commented 6 years ago

Any news?

lexus2k commented 6 years ago

Closed as it fixed in latest release