This simple example shows how to use the SSD1306 OLED Controller Low-level driver for interfacing the SSD1306 controller
The SSD1306 low level driver API can be found here.
All devices with a SPI can be used.
The display is initialized and a pattern with alternating lines are drawn to the entire screen. After this the screen is scrolled line by line using the hardware scrolling function available in the LCD controller.
This software was written for the GNU GCC and IAR. Other compilers may or may not work.
For further information, visit Microchip.