SSD1306 OLED display driver
1.4.0
This library is developed to control SSD1306 i2c/spi OLED display
|
Functions | |
void | pcd8544_84x48_init () |
Inits 84x48 LED display (based on PCD8544 controller). More... | |
void | pcd8544_84x48_spi_init (int8_t rstPin, int8_t cesPin, int8_t dcPin) |
void | sh1106_128x64_init () |
Inits 128x64 OLED display (based on SH1106 controller). More... | |
void | sh1106_128x64_i2c_init () |
Inits 128x64 OLED display over i2c (based on SH1106 controller). More... | |
void | sh1106_128x64_spi_init (int8_t rstPin, int8_t cesPin, int8_t dcPin) |
Inits 128x64 OLED display over spi (based on SH1106 controller). More... | |
void | ssd1306_128x32_i2c_init () |
Inits 128x32 OLED display over i2c (based on SSD1306 controller). More... | |
void | ssd1306_128x32_init () |
Inits 128x32 OLED display (based on ssd1306 controller). More... | |
void | ssd1306_128x64_init () |
Inits 128x64 OLED display (based on SSD1306 controller). More... | |
void | ssd1306_128x64_i2c_init () |
Inits 128x64 OLED display over i2c (based on SSD1306 controller). More... | |
void | ssd1306_128x64_spi_init (int8_t rstPin, int8_t cesPin, int8_t dcPin) |
Inits 128x64 OLED display over spi (based on SSD1306 controller). More... | |
void | ssd1306_init () __attribute__((deprecated)) |
Inits 128x64 OLED display over i2c (based on SSD1306 controller). More... | |
void | ssd1306_displayOff () |
void | ssd1306_displayOn () |
void | ssd1306_invertMode () |
void | ssd1306_normalMode () |
uint8_t | ssd1306_displayHeight () |
uint8_t | ssd1306_displayWidth () |
void pcd8544_84x48_init | ( | ) |
Inits 84x48 LED display (based on PCD8544 controller).
Inits 84x48 LED display (based on PCD8544 controller). User must init communication interface (i2c, spi) prior to calling this function.
Definition at line 71 of file pcd8544_84x48.c.
void pcd8544_84x48_spi_init | ( | int8_t | rstPin, |
int8_t | cesPin, | ||
int8_t | dcPin | ||
) |
Inits 84x48 LED display over spi (based on PCD8544 controller)
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 87 of file pcd8544_84x48.c.
void sh1106_128x64_i2c_init | ( | ) |
Inits 128x64 OLED display over i2c (based on SH1106 controller).
Inits 128x64 OLED display over i2c (based on SH1106 controller) This function uses hardcoded pins for i2c communication, depending on your hardware. If you use non-standard pins in your project, please perform call ssd1306_i2cInitEx() and sh1106_128x64_init().
Definition at line 97 of file sh1106_128x64.c.
void sh1106_128x64_init | ( | ) |
Inits 128x64 OLED display (based on SH1106 controller).
Inits 128x64 OLED display (based on SH1106 controller). User must init communication interface (i2c or spi) prior to calling this function.
Definition at line 83 of file sh1106_128x64.c.
void sh1106_128x64_spi_init | ( | int8_t | rstPin, |
int8_t | cesPin, | ||
int8_t | dcPin | ||
) |
Inits 128x64 OLED display over spi (based on SH1106 controller).
Inits 128x64 OLED display over spi (based on SH1106 controller)
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 103 of file sh1106_128x64.c.
void ssd1306_128x32_i2c_init | ( | ) |
Inits 128x32 OLED display over i2c (based on SSD1306 controller).
Inits 128x32 OLED display over i2c (based on SSD1306 controller) This function uses hardcoded pins for i2c communication, depending on your hardware. If you use non-standard pins in your project, please perform call ssd1306_i2cInitEx() and ssd1306_128x32_init().
Definition at line 100 of file ssd1306_128x32.c.
void ssd1306_128x32_init | ( | ) |
Inits 128x32 OLED display (based on ssd1306 controller).
Inits 128x32 OLED display (based on ssd1306 controller) spi or i2c bus must be initialized prior to calling this function.
Definition at line 84 of file ssd1306_128x32.c.
void ssd1306_128x64_i2c_init | ( | ) |
Inits 128x64 OLED display over i2c (based on SSD1306 controller).
Inits 128x64 OLED display over i2c (based on SSD1306 controller) This function uses hardcoded pins for i2c communication, depending on your hardware. If you use non-standard pins in your project, please perform call ssd1306_i2cInitEx() and ssd1306_128x64_init().
Definition at line 105 of file ssd1306_128x64.c.
void ssd1306_128x64_init | ( | ) |
Inits 128x64 OLED display (based on SSD1306 controller).
Inits 128x64 OLED display (based on SSD1306 controller). User must init communication interface (i2c, spi) prior to calling this function.
Definition at line 90 of file ssd1306_128x64.c.
void ssd1306_128x64_spi_init | ( | int8_t | rstPin, |
int8_t | cesPin, | ||
int8_t | dcPin | ||
) |
Inits 128x64 OLED display over spi (based on SSD1306 controller).
Inits 128x64 OLED display over spi (based on SSD1306 controller)
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 111 of file ssd1306_128x64.c.
uint8_t ssd1306_displayHeight | ( | ) |
uint8_t ssd1306_displayWidth | ( | ) |
void ssd1306_init | ( | ) |
Inits 128x64 OLED display over i2c (based on SSD1306 controller).
Inits 128x64 OLED display over i2c (based on SSD1306 controller) This function uses hardcoded pins for i2c communication, depending on your hardware. If you use non-standard pins in your project, please perform call ssd1306_i2cInitEx() and ssd1306_128x64_init().
Definition at line 84 of file ssd1306_128x64.c.
void ssd1306_invertMode | ( | ) |