![]() |
OpenSourceSimWheelESP32
Open-source wireless steering wheel/button box for ESP32 boards
|
Monochrome OLED working parameters. More...
#include <OutputHardware.hpp>
Static Public Member Functions | |
| static OLEDParameters | for132x64 () |
| Base parameters for 128x64 displays having a 132x64 controller. | |
| static OLEDParameters | withResolution (uint8_t width, uint8_t height, const OLEDParameters ¶ms) |
| Force a specific graphics resolution. | |
Public Attributes | |
| bool | flip_horizontal = false |
| True to flip horizontally. | |
| bool | flip_vertical = false |
| True to flip vertically. | |
| bool | inverted_display = false |
| True to swap black and white pixels. | |
| uint8_t | screen_width = 128 |
| Screen width resolution in pixels. | |
| uint8_t | screen_height = 64 |
| Screen height resolution in pixels. | |
| uint8_t | start_row = 0 |
| Row pixel index where display starts. | |
| uint8_t | start_col = 0 |
| Column pixel index where display starts. | |
| uint8_t | display_offset = 0 |
| Row offset where the physical display meets the logical display. | |
| uint8_t | contrast = 127 |
| Display contrast (higher value means higher contrast) | |
| uint8_t | COMpins = 0x12 |
| COM pins value as required by the controller, bit[4] = COM pin configuration, bit[5] = COM left/right remap. | |
| uint8_t | oscillator_frequency = 0x80 |
| Display clock divide ratio/oscillator frequency. | |
Monochrome OLED working parameters.
Definition at line 414 of file OutputHardware.hpp.
|
inlinestatic |
Base parameters for 128x64 displays having a 132x64 controller.
Definition at line 446 of file OutputHardware.hpp.
|
inlinestatic |
Force a specific graphics resolution.
| width | Screen width in pixels |
| height | Screen height in pixels |
| params | Other parameters |
Definition at line 461 of file OutputHardware.hpp.
| uint8_t OLEDParameters::COMpins = 0x12 |
COM pins value as required by the controller, bit[4] = COM pin configuration, bit[5] = COM left/right remap.
Definition at line 439 of file OutputHardware.hpp.
| uint8_t OLEDParameters::contrast = 127 |
Display contrast (higher value means higher contrast)
Definition at line 433 of file OutputHardware.hpp.
| uint8_t OLEDParameters::display_offset = 0 |
Row offset where the physical display meets the logical display.
Definition at line 431 of file OutputHardware.hpp.
| bool OLEDParameters::flip_horizontal = false |
True to flip horizontally.
Definition at line 417 of file OutputHardware.hpp.
| bool OLEDParameters::flip_vertical = false |
True to flip vertically.
Definition at line 419 of file OutputHardware.hpp.
| bool OLEDParameters::inverted_display = false |
True to swap black and white pixels.
Definition at line 421 of file OutputHardware.hpp.
| uint8_t OLEDParameters::oscillator_frequency = 0x80 |
Display clock divide ratio/oscillator frequency.
Definition at line 441 of file OutputHardware.hpp.
| uint8_t OLEDParameters::screen_height = 64 |
Screen height resolution in pixels.
Definition at line 425 of file OutputHardware.hpp.
| uint8_t OLEDParameters::screen_width = 128 |
Screen width resolution in pixels.
Definition at line 423 of file OutputHardware.hpp.
| uint8_t OLEDParameters::start_col = 0 |
Column pixel index where display starts.
Definition at line 429 of file OutputHardware.hpp.
| uint8_t OLEDParameters::start_row = 0 |
Row pixel index where display starts.
Definition at line 427 of file OutputHardware.hpp.