LCDGFX LCD display driver  1.0.2
This library is developed to control SSD1306/SSD1325/SSD1327/SSD1331/SSD1351/IL9163/PCD8554 RGB i2c/spi LED displays
Macros
CONFIG: ssd1306 library configuration

Group of settings allowing to disable/enable library modules. More...

Macros

#define CONFIG_SOFTWARE_I2C_ENABLE
 
#define CONFIG_TWI_I2C_ENABLE
 
#define CONFIG_AVR_SPI_ENABLE
 
#define CONFIG_USI_SPI_ENABLE
 
#define CONFIG_AVR_UART_ENABLE
 
#define CONFIG_VGA_ENABLE
 
#define CONFIG_PLATFORM_I2C_ENABLE
 
#define CONFIG_PLATFORM_SPI_ENABLE
 
#define CONFIG_LINUX_I2C_ENABLE
 
#define CONFIG_LINUX_SPI_ENABLE
 
#define CONFIG_ARDUINO_I2C_ENABLE
 
#define CONFIG_ARDUINO_SPI_ENABLE
 
#define CONFIG_ESP32_I2C_ENABLE
 
#define CONFIG_ESP32_SPI_ENABLE
 
#define CONFIG_SSD1306_UNICODE_ENABLE
 

Detailed Description

Group of settings allowing to disable/enable library modules.

Arduino IDE (at least as for 1.8.2) has a lack library configuration functionality. Some Arduino standard libraries are built the way, if you include them to the project, but do not use any functions from the, they still eat RAM and Flash on you EVK board. To avoid this, you need competely avoid including of such libraries. SSD1306 library has a wide interfaces support for different platforms, and even if you don't use SSD1306 communication via Arduino Wire/Spi/HardwareSerial libraries, those ones do bad things with your sketch size. To avoid this you can manually disable SSD1306 modules, you don't need in UserSettings.h header file, and gain another 100-200 bytes of RAM and 300-500 bytes of Flash.

Macro Definition Documentation

◆ CONFIG_ARDUINO_I2C_ENABLE

#define CONFIG_ARDUINO_I2C_ENABLE

Define this macro if you need to enable Arduino Wire module for compilation

Definition at line 92 of file UserSettings.h.

◆ CONFIG_ARDUINO_SPI_ENABLE

#define CONFIG_ARDUINO_SPI_ENABLE

Define this macro if you need to enable Arduino SPI module for compilation

Definition at line 95 of file UserSettings.h.

◆ CONFIG_AVR_SPI_ENABLE

#define CONFIG_AVR_SPI_ENABLE

Define this macro if you need to enable AVR SPI module for compilation

Definition at line 57 of file UserSettings.h.

◆ CONFIG_AVR_UART_ENABLE

#define CONFIG_AVR_UART_ENABLE

Define this macro if you need to enable AVR UART module for compilation

Definition at line 63 of file UserSettings.h.

◆ CONFIG_ESP32_I2C_ENABLE

#define CONFIG_ESP32_I2C_ENABLE

Define this macro if you need to enable ESP32 I2C module for compilation

Definition at line 98 of file UserSettings.h.

◆ CONFIG_ESP32_SPI_ENABLE

#define CONFIG_ESP32_SPI_ENABLE

Define this macro if you need to enable ESP32 SPI module for compilation

Definition at line 101 of file UserSettings.h.

◆ CONFIG_LINUX_I2C_ENABLE

#define CONFIG_LINUX_I2C_ENABLE

Define this macro if you need to enable Linux I2C module for compilation

Definition at line 86 of file UserSettings.h.

◆ CONFIG_LINUX_SPI_ENABLE

#define CONFIG_LINUX_SPI_ENABLE

Define this macro if you need to enable Linux SPI module for compilation

Definition at line 89 of file UserSettings.h.

◆ CONFIG_PLATFORM_I2C_ENABLE

#define CONFIG_PLATFORM_I2C_ENABLE

Define this macro if you need to enable Adafruit GFX canvas support for compilation Define this macro if platform specific i2c interface is implemented in SSD1306 HAL. If you use Arduino platform, this macro enables Arduino Wire library module for compilation.

Definition at line 77 of file UserSettings.h.

◆ CONFIG_PLATFORM_SPI_ENABLE

#define CONFIG_PLATFORM_SPI_ENABLE

Define this macro if platform specific spi interface is implemented in SSD1306 HAL If you use Arduino platform, this macro enables Arduino SPI library module for compilation.

Definition at line 83 of file UserSettings.h.

◆ CONFIG_SOFTWARE_I2C_ENABLE

#define CONFIG_SOFTWARE_I2C_ENABLE

Define this macro if you need to enable software I2C module for compilation

Definition at line 51 of file UserSettings.h.

◆ CONFIG_SSD1306_UNICODE_ENABLE

#define CONFIG_SSD1306_UNICODE_ENABLE

Defines, whenever ssd1306 library supports unicode. Support of unicode increases RAM and Flasg memory consumption

Definition at line 107 of file UserSettings.h.

◆ CONFIG_TWI_I2C_ENABLE

#define CONFIG_TWI_I2C_ENABLE

Define this macro if you need to enable TWI I2C module for compilation

Definition at line 54 of file UserSettings.h.

◆ CONFIG_USI_SPI_ENABLE

#define CONFIG_USI_SPI_ENABLE

Define this macro if you need to enable USI SPI module for compilation

Definition at line 60 of file UserSettings.h.

◆ CONFIG_VGA_ENABLE

#define CONFIG_VGA_ENABLE

Define this macro if you need to enable VGA module for compilation

Definition at line 66 of file UserSettings.h.