adafruit / Adafruit_CircuitPython_SharpMemoryDisplay

CircuitPython library for SHARP Memory monochrome displays
MIT License
9 stars 12 forks source link

Garbled image on the 168x144 display #3

Closed deshipu closed 5 years ago

deshipu commented 5 years ago

I tested this with Feather M4, and while the 96x96 display works perfectly, the 168x144 one, connected the same way, displays garbage: img_20181223_185405

deshipu commented 5 years ago

I did change the line that creates the display object:

display = adafruit_sharpmemorydisplay.SharpMemoryDisplay(spi, scs, 168, 144)
deshipu commented 5 years ago

Ok, swapping width and height helps:

display = adafruit_sharpmemorydisplay.SharpMemoryDisplay(spi, scs, 144, 168)
ladyada commented 5 years ago

ok please add a line in the example that is commented out to demonstrate it!