Struct SYN_OLED¶
Generic OLED Display Instance Context. More...
#include <syn_oled.h>
Public Attributes¶
| Type | Name |
|---|---|
| uint8_t | col_offset |
| uint8_t | contrast |
| bool | display_on |
| uint16_t | height |
| SYN_SoftI2C | i2c |
| uint8_t | i2c_addr |
| bool | inverted |
| SYN_OLEDType | type |
| uint16_t | width |
Detailed Description¶
Generic OLED Display Instance Context.
Public Attributes Documentation¶
variable col_offset¶
Column start offset (0 for SSD1306, 2 for SH1106)
variable contrast¶
Contrast setting (0 to 255)
variable display_on¶
True if display powered on
variable height¶
Display height in pixels
variable i2c¶
Software I2C bus context
variable i2c_addr¶
7-bit I2C device address
variable inverted¶
True if display colors inverted
variable type¶
Controller IC type enum
variable width¶
Display width in pixels
The documentation for this class was generated from the following file src/syntropic/display/syn_oled.h