adafruit / Adafruit_SSD1325_Library

Monochrome OLED library (does not support grayscale)
Other
12 stars 9 forks source link

Cannot change resolution to 102x80 #3

Open DE8MSH opened 8 years ago

DE8MSH commented 8 years ago

Hi.

Even if I change all value from 128x64 to 102x80 (SSD1325.h and SSD1325.ccp) in display(void) etc. there's a broken output on display.

What I changed:

SSD1325.ccp:

for (uint16_t x=0; x<102; x+=2) {
    for (uint16_t y=0; y<80; y+=8) { /

SSD1325.h:

  #define SSD1325_LCDWIDTH                  102
  #define SSD1325_LCDHEIGHT                 80

Adafruit_GFX(102,80)

What must I change to get a right output?