Color OLED module library  v0.5
Library for the WaveShare 0.96-inch color OLED (SSD1331) module
Functions
ssd1331_scroll.c File Reference
#include "ssd1331.h"

Functions

void ssd1331_scrollDisplay (screen_t *dev, int h, int v)
 Starts scrolling the entire image on the screen horizontally, vertically, or both. More...
 

Function Documentation

◆ ssd1331_scrollDisplay()

void ssd1331_scrollDisplay ( screen_t *  dev,
int  h,
int  v 
)

Starts scrolling the entire image on the screen horizontally, vertically, or both.

Parameters
devPointer to the display's device structure returned by the initialization function.
Note
the screen's horizontal displacement will persist after scrolling has stopped, but its vertical displacement will not.
Parameters
hHorizontal scrolling in rows per interval. (0) turns off horizontal scrolling, negative integers scroll to the left and positive integers scroll to the right.
vVertical scrolling columns per interval. (0) turns off vertical scrolling, negative integers scroll down and positive integers scroll up.