lexus2k / ssd1306

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

negativemode for canvas printfixed #125

Closed alijani1 closed 2 years ago

alijani1 commented 3 years ago

Not able to print text on an existing canvas in negative mode. Need SSD1306_negativemode() equivalent for a canvas.

I understand we can invert a whole canvas but one should be able to print invented text on a small part of an existing canvas.

lexus2k commented 3 years ago

Hello, I will check what can be done in your case. If your project is not strongly tied to this library, please check another my library lcdgfx. It supports invertColors() method both for canvas and display, Let me know, what you think.