SSD1306 I2C Display Driver  1.2.1
This library is developed to control SSD1306 I2C OLED Display
Functions
LCD Display control functions

Functions

void pcd8544_84x48_spi_init (int8_t rstPin, int8_t cesPin, int8_t dcPin)
 
void ssd1306_128x32_i2c_init ()
 
void ssd1306_128x64_i2c_init ()
 
void ssd1306_init () __attribute__((deprecated))
 
void ssd1306_displayOff ()
 
void ssd1306_displayOn ()
 
void ssd1306_invertMode ()
 
void ssd1306_normalMode ()
 
uint8_t ssd1306_displayHeight ()
 
uint8_t ssd1306_displayWidth ()
 

Detailed Description

Function Documentation

§ pcd8544_84x48_spi_init()

void pcd8544_84x48_spi_init ( int8_t  rstPin,
int8_t  cesPin,
int8_t  dcPin 
)

Inits 84x48 LED display over spi (based on PCD8544 controller)

Parameters
rstPin- pin controlling LCD reset (-1 if not used)
cesPin- chip enable pin to LCD slave (-1 if not used)
dcPin- data/command pin to control LCD dc (required)

Definition at line 36 of file pcd8544_84x48.c.

§ ssd1306_128x32_i2c_init()

void ssd1306_128x32_i2c_init ( )

Inits 128x32 OLED display over i2c (based on SSD1306 controller)

Definition at line 46 of file ssd1306_128x32.c.

§ ssd1306_128x64_i2c_init()

void ssd1306_128x64_i2c_init ( )

Inits 128x64 OLED display over i2c (based on SSD1306 controller)

Definition at line 58 of file ssd1306_128x64.c.

§ ssd1306_displayHeight()

uint8_t ssd1306_displayHeight ( )

Returns display height in pixels

Definition at line 34 of file ssd1306.cpp.

§ ssd1306_displayOff()

void ssd1306_displayOff ( )

Turns off display

Definition at line 123 of file ssd1306.cpp.

§ ssd1306_displayOn()

void ssd1306_displayOn ( )

Turns on display

Definition at line 129 of file ssd1306.cpp.

§ ssd1306_displayWidth()

uint8_t ssd1306_displayWidth ( )

Returns display width in pixels

Definition at line 39 of file ssd1306.cpp.

§ ssd1306_init()

void ssd1306_init ( )

Inits 128x64 OLED display over i2c (based on SSD1306 controller)

Definition at line 52 of file ssd1306_128x64.c.

§ ssd1306_invertMode()

void ssd1306_invertMode ( )

Switches display to inverse mode. LCD will display 0-pixels as white, and 1-pixels as black.

Definition at line 411 of file ssd1306.cpp.

§ ssd1306_normalMode()

void ssd1306_normalMode ( )

Switches display to normal mode.

Definition at line 416 of file ssd1306.cpp.