datacute / Tiny4kOLED

Library for an ATTiny85 to use an SSD1306 powered, double buffered, 128x32 pixel OLED, over I2C
MIT License
264 stars 39 forks source link

Does not work with SSD1316. #44

Closed 7-rate closed 2 years ago

7-rate commented 2 years ago

I have tried using the SSD1316 with an ATtiny1604, but it does not work properly. Specifically, the display turns into a sandstorm.

Is there any way to make it work?

This is the OLED I used. https://www.alibaba.com/product-detail/0-87-Micro-Screen-Mini-Thin_1600342776585.html?spm=a2756.trade-order-form-buy.0.0.3c28mdSqmdSqFZ

datacute commented 2 years ago

I took a quick look at the docs of the 1316 compared to the docs on the 1306, they look like pretty much the same commands, so portions of this library might be able to work with it. Try experimenting with different initialization sequences. The difference in the number of rows means maybe the MUX setting should be different.

7-rate commented 2 years ago

It worked fine. It seems that the cause of the sandstorm was a hardware problem. (There were not enough capacitors on the RES pin)