Using SSD1306_128x64_I2C.ino from adafruit and everything works fine except the scroll functions.
The SSD1306_128x64_I2C.ino is from the SSD1306 library examples, and it provides various examples of graphics and text for the user. All of the examples in the ino work except the examples for scrolling. The word scroll appears as called, but the commands to do scrolling, do nothing.
Here is the part that does not work:
void testscrolltext(void) {
display.clearDisplay();
display.setTextSize(2); // Draw 2X-scale text
display.setTextColor(SSD1306_WHITE);
display.setCursor(10, 0);
display.println(F(“scroll”));
display.display(); // Show initial text
delay(100);
// Scroll in various directions, pausing in-between:
display.startscrollright(0x00, 0x0F);
delay(2000);
display.stopscroll();
delay(1000);
display.startscrollleft(0x00, 0x0F);
delay(2000);
display.stopscroll();
delay(1000);
display.startscrolldiagright(0x00, 0x07);
delay(2000);
display.startscrolldiagleft(0x00, 0x07);
delay(2000);
display.stopscroll();
delay(1000);
}
Hi.
I’m sorry. But, it’s very difficult to find out what might be wrong.
I found someone with the same issue: https://forums.adafruit.com/viewtopic.php?f=47&t=162586
But there were no answers.
I also searched on the library github page and I couldn’t find any clue.
We’re currently out of the office and at the moment, we don’t have hardware with us to try it out.
Regards,
Sara