Hello all,
I'm using a Yun.
I have a 128 64. It "kinda" works.
I have modified the Adafruit_SSD1306.h to have
#define SSD1306_128_64
and commented the line
// #define SSD1306_128_32
The coordinates when I draw something are right, but it only displays one line on two. On the attached image, the outer rectangle is (0,0,128,63). If I put (0,0,128,64), the last line is not displayed.
The diagonal line is (0,0,64,64). You can count the dots -> only 32.
Is there something do do for this ? What is wrong ?
My code (extract)
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>
...
#define OLED_RESET 0
Adafruit_SSD1306 display(OLED_RESET);
void setup() {
display.begin(SSD1306_SWITCHCAPVCC, 0x3C);
display.setTextWrap(false);
display.clearDisplay();
display.display();
}
void loop() {
...
// Display for icons, text...
...
display.drawRect(0, 0, 128, 63, WHITE);
display.drawLine(0, 0, 64, 64, WHITE);
display.display();
delay(1000);
}
