These configuration parameters are used by auto_init when the the integration of U8G2 graphic library for monochome displays to Display device generic API is enabled. More...
These configuration parameters are used by auto_init when the the integration of U8G2 graphic library for monochome displays to Display device generic API is enabled.
Files | |
file | u8g2_display_params.h |
Default configuration. | |
Macros | |
#define | U8G2_DISPLAY_PARAM_SCREEN_IDS 0 |
Default screen identifiers. | |
Variables | |
static const u8g2_display_params_t | u8g2_display_params [] |
Configuration struct. More... | |
static const uint8_t | u8g2_display_screen_ids [] |
Configure screen identifiers. More... | |
Default configuration parameters for u8g2 displays | |
#define | U8G2_DISPLAY_PARAM_DEV I2C_DEV(0) |
Default I2C or SPI device. More... | |
#define | U8G2_DISPLAY_PARAM_I2C_ADDR (0x3c) |
Default I2C address. More... | |
#define | U8G2_DISPLAY_PARAM_PIN_CS GPIO_UNDEF |
Default SPI CS pin. More... | |
#define | U8G2_DISPLAY_PARAM_PIN_DC GPIO_UNDEF |
Default SPI D/C pin. More... | |
#define | U8G2_DISPLAY_PARAM_PIN_RESET GPIO_UNDEF |
Default SPI Reset pin. More... | |
#define | U8G2_DISPLAY_PARAM_INIT_FUNCTION u8g2_Setup_ssd1306_i2c_128x64_noname_f |
Default U8G2 initialization function. More... | |
#define | U8G2_DISPLAY_PARAMS |
Default configuration struct. More... | |
#define U8G2_DISPLAY_PARAM_DEV I2C_DEV(0) |
Default I2C or SPI device.
For I2C displays, set to the desired I2C bus using I2C_DEV (e.g. I2C_DEV(0)
). For SPI displays, set to the desired SPI bus using SPI_DEV (e.g. SPI_DEV(0)
).
Definition at line 44 of file u8g2_display_params.h.
#define U8G2_DISPLAY_PARAM_I2C_ADDR (0x3c) |
Default I2C address.
0
when using SPI Definition at line 52 of file u8g2_display_params.h.
#define U8G2_DISPLAY_PARAM_INIT_FUNCTION u8g2_Setup_ssd1306_i2c_128x64_noname_f |
Default U8G2 initialization function.
Definition at line 85 of file u8g2_display_params.h.
#define U8G2_DISPLAY_PARAM_PIN_CS GPIO_UNDEF |
Default SPI CS pin.
Definition at line 60 of file u8g2_display_params.h.
#define U8G2_DISPLAY_PARAM_PIN_DC GPIO_UNDEF |
Default SPI D/C pin.
Definition at line 68 of file u8g2_display_params.h.
#define U8G2_DISPLAY_PARAM_PIN_RESET GPIO_UNDEF |
Default SPI Reset pin.
Definition at line 76 of file u8g2_display_params.h.
#define U8G2_DISPLAY_PARAMS |
Default configuration struct.
Definition at line 92 of file u8g2_display_params.h.
|
static |
Configuration struct.
Definition at line 109 of file u8g2_display_params.h.
|
static |
Configure screen identifiers.
Definition at line 124 of file u8g2_display_params.h.