bitbank2 / OneBitDisplay

A full featured Arduino display library for 1-bit per pixel OLED, LCD and e-paper displays
Apache License 2.0
194 stars 21 forks source link

Display controller detection missing display 128x32 #11

Closed Lilithet closed 2 years ago

Lilithet commented 4 years ago

Display controller type OLED_SSD1306_3C for 128x32 (white) is missing.

Possible solution:

Line 1305: else if ( u == 3 ||u == 6 || u == 7) // 7=128x64(rare),6=128x64 display, 3=smaller changed to else if (u == 1 || u == 3 ||u == 6 || u == 7) // 7=128x64(rare),6=128x64 display, 3=smaller, 1=128x32

bitbank2 commented 2 years ago

These values are unreliable for determining the display type.