SSD1306 OLED display driver
1.6.99
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_ARDUINO_WIRE_LIBRARY_ENABLE |
#define | CONFIG_TWI_I2C_ENABLE |
#define | CONFIG_ARUDINO_SPI_LIBRARY_ENABLE |
#define | CONFIG_AVR_SPI_ENABLE |
#define | CONFIG_USI_SPI_ENABLE |
#define | CONFIG_AVR_UART_ENABLE |
#define | CONFIG_VGA_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_ARDUINO_WIRE_LIBRARY_ENABLE |
Define this macro if you need to enable Arduino Wire library module for compilation
Definition at line 55 of file UserSettings.h.
#define CONFIG_ARUDINO_SPI_LIBRARY_ENABLE |
Define this macro if you need to enable Arduino SPI library module for compilation
Definition at line 61 of file UserSettings.h.
#define CONFIG_AVR_SPI_ENABLE |
Define this macro if you need to enable AVR SPI module for compilation
Definition at line 64 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 70 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_TWI_I2C_ENABLE |
Define this macro if you need to enable TWI I2C module for compilation
Definition at line 58 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 67 of file UserSettings.h.
#define CONFIG_VGA_ENABLE |
Define this macro if you need to enable VGA module for compilation
Definition at line 73 of file UserSettings.h.