sparkfun / SparkFun_SSD1320_OLED_Arduino_Library

Display graphics and text on a flexible grayscale display
10 stars 5 forks source link

GRAYSCALE FLEXIBLE OLED: Scrolling #8

Open nmiloni opened 4 years ago

nmiloni commented 4 years ago

Don't understand how I can scroll text? The scroll functions mentioned on

https://learn.sparkfun.com/tutorials/flexible-grayscale-oled-hookup-guide/all, i.e.

void scrollRight(uint8_t start, uint8_t stop);
void scrollLeft(uint8_t start, uint8_t stop);
void scrollUp(uint8_t start, uint8_t stop);
void scrollStop(void);

and allowing you to specify a scroll range don't work. Tried a left scroll with putting in rows 1 to 32, thus trying

flexibleOLEDscrollLeft(1, 32);

because I assumed the 160 wide x32 pixel high OLED would have 32 rows...

The only thing which worked but which gives you less flexibility (no scroll range) was

flexibleOLED.command(ACTIVATESCROLL);
flexibleOLED.command(LEFTHORIZONTALSCROLL);
delay(10000);

Also, is there a way to adjust the scroll speed?

Best regards from Switzerland & stay safe and healthy, Nino

DGNoise commented 4 years ago

Hi Nino,

I stumbled into the same issue as you. Did you make any progress in the meantime? It looks like the code in the library is incomplete and partially based on guesswork, but I cannot believe the display logic controller SSD1320 is bugged, so I am hoping somebody was able to figure this out.

Any hint?

Thanks a lot in advance!