eclipse / upm

UPM is a high level repository that provides software drivers for a wide variety of commonly used sensors and actuators. These software drivers interact with the underlying hardware platform through calls to MRAA APIs.
MIT License
659 stars 411 forks source link

[c++] .write() not writing as intended with ssd1306 (128x32) #581

Open jgalvin97 opened 6 years ago

jgalvin97 commented 6 years ago

When trying to write to a ssd1306 screen that is 128 by 32 pixels, the text is displayed however only the middle 3 rows of pixels are displayed meaning the text is unreadable. The ssd1306.hpp has the SSD1306_LCDHEIGHT variable set to 64, I have tried both with this configuration and with it set to 32 and the issue is the same.

Propanu commented 6 years ago

Hi @jgalvin97, the UPM ssd1306 library was developed for, and tested with the Grove OLED Display which is 128 x 64. I'm sure the controller lines are mapped differently to the pixel blocks on the 128 x 32 display you are using. Can you share a link/datasheet for your display?