SSD1306 OLED display driver  1.4.10
This library is developed to control SSD1306/SSD1331 RGB i2c/spi OLED displays and spi PCD8544 LED display
Enumerations | Variables
lcd_common.h File Reference
#include "hal/io.h"

Go to the source code of this file.

Enumerations

enum  {
  LCD_TYPE_SSD1306, LCD_TYPE_PCD8544, LCD_TYPE_SH1106, LCD_TYPE_SSD1331,
  LCD_TYPE_CUSTOM
}
 

Variables

uint8_t s_displayHeight
 
uint8_t s_displayWidth
 
uint8_t g_lcd_type
 

Detailed Description

global lcd settings

Definition in file lcd_common.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
LCD_TYPE_SSD1306 

Default type of LCD display: ssd1306 oled

LCD_TYPE_PCD8544 

Experimental type of LCD display: pcd8544 led

LCD_TYPE_SH1106 

Support for sh1106 OLED display

LCD_TYPE_SSD1331 

Default type of LCD display: ssd1331 oled

LCD_TYPE_CUSTOM 

User LCD type

Definition at line 33 of file lcd_common.h.

Variable Documentation

◆ g_lcd_type

uint8_t g_lcd_type

Current selected lcd display type

Definition at line 40 of file ssd1306.c.

◆ s_displayHeight

uint8_t s_displayHeight

Current display height

Definition at line 38 of file ssd1306.c.

◆ s_displayWidth

uint8_t s_displayWidth

Current display width

Definition at line 39 of file ssd1306.c.