lexus2k / ssd1306

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

drawBitmap1 doesn't draw with Attiny85 #108

Closed mstratman closed 3 years ago

mstratman commented 3 years ago

Describe the bug Using a NanoEngine1, engine.canvas.drawBitmap1(...) does not draw anything to the screen when using an AtTiny85. It works as expected with an Arduino Nano (atmega328p).

To Reproduce

https://gist.github.com/mstratman/52d323705083ee226dce1b6c766b9d89

Expected/Actual behavior

Expected, works correctly on the atmega Nano: bitmap of spaceship is drawn.

With attiny85 you only see the line resulting from the drawLine() (which was added to rule out hardware wiring or programming problems), but you do not see the bitmap

Please complete the following information:

lexus2k commented 3 years ago

Thanks you for catching the bug. I confirm that for Attiny85 I observe the same issue. Will come back to you with solution

lexus2k commented 3 years ago

Please check the fix https://github.com/lexus2k/ssd1306/tree/1.8_dev

mstratman commented 3 years ago

That seems to have worked, thank you!