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

Fill #6

Closed scargill closed 6 years ago

scargill commented 6 years ago

Not QUITE understanding the fill rect function in canvas

canvas.fillRect(80,20,100,25,1);

That last parameter - I've tried 1, 255, -1 - I cannot fill a rectangle in white on the SSD1306 32 high display... rectangle and text works just fine

???

scargill commented 6 years ago

I'll rephrase that - the function as called above, if called after I've drawn some text stops all updates - my text updates don't happen. If I comment out that fill, everything works...

lexus2k commented 6 years ago

I fixed the issue with fillRect(). Please, check latest sources.

lexus2k commented 6 years ago

Let me know if the fix works for you. I checked on Nano with ssd1306 and now filled rectangle looks good.

lexus2k commented 6 years ago

Any news on the issue?

lexus2k commented 6 years ago

I'm closing the issue. If you still observe the problem in the latest official release, please, reopen the issue