SSD1306 OLED display driver
1.8.2
This library is developed to control SSD1306/SSD1331/SSD1351/IL9163/PCD8554 RGB i2c/spi LED displays
|
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_SSD1306_UNICODE_ENABLE |
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.
#define CONFIG_AVR_SPI_ENABLE |
Define this macro if you need to enable AVR SPI module for compilation
Definition at line 58 of file UserSettings.h.
#define CONFIG_AVR_UART_ENABLE |
Define this macro if you need to enable AVR UART module for compilation
Definition at line 64 of file UserSettings.h.
#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 78 of file UserSettings.h.
#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 84 of file UserSettings.h.
#define CONFIG_SOFTWARE_I2C_ENABLE |
Define this macro if you need to enable software I2C module for compilation
Definition at line 52 of file UserSettings.h.
#define CONFIG_SSD1306_UNICODE_ENABLE |
Defines, whenever ssd1306 library supports unicode. Support of unicode increases RAM and Flasg memory consumption
Definition at line 90 of file UserSettings.h.
#define CONFIG_TWI_I2C_ENABLE |
Define this macro if you need to enable TWI I2C module for compilation
Definition at line 55 of file UserSettings.h.
#define CONFIG_USI_SPI_ENABLE |
Define this macro if you need to enable USI SPI module for compilation
Definition at line 61 of file UserSettings.h.
#define CONFIG_VGA_ENABLE |
Define this macro if you need to enable VGA module for compilation
Definition at line 67 of file UserSettings.h.