|
idfxx 1.0.0
Modern C++23 components for ESP-IDF
|
ILI9341 display controller driver. More...
Public Member Functions | |
| ili9341 (std::shared_ptr< idfxx::lcd::panel_io > panel_io, panel::config config) | |
| Creates a new ili9341 panel. | |
| ~ili9341 () | |
| ili9341 (const ili9341 &)=delete | |
| ili9341 & | operator= (const ili9341 &)=delete |
| ili9341 (ili9341 &&)=delete | |
| ili9341 & | operator= (ili9341 &&)=delete |
| esp_lcd_panel_handle_t | idf_handle () const override |
| Returns the underlying ESP-IDF handle. | |
| result< void > | try_swap_xy (bool swap) override |
| Swaps the X and Y axes. | |
| result< void > | try_mirror (bool mirrorX, bool mirrorY) override |
| Mirrors the display. | |
| result< void > | try_display_on (bool on) override |
| Turns the display on or off. | |
Public Member Functions inherited from idfxx::lcd::panel | |
| virtual | ~panel ()=default |
| virtual void | swap_xy (bool swap) |
| Swaps the X and Y axes. | |
| virtual void | mirror (bool mirrorX, bool mirrorY) |
| Mirrors the display. | |
| virtual void | display_on (bool on) |
| Turns the display on or off. | |
Static Public Member Functions | |
| static result< std::unique_ptr< ili9341 > > | make (std::shared_ptr< idfxx::lcd::panel_io > panel_io, panel::config config) |
| Creates a new ili9341 panel. | |
ILI9341 display controller driver.
Driver for ILI9341-based LCD displays (typically 240x320 resolution).
Definition at line 31 of file ili9341.hpp.
|
explicit |
| idfxx::lcd::ili9341::~ili9341 | ( | ) |
|
delete |
|
delete |
|
overridevirtual |
Returns the underlying ESP-IDF handle.
Implements idfxx::lcd::panel.
|
static |
|
overridevirtual |
Turns the display on or off.
| on | true to turn on, false to turn off. |
Implements idfxx::lcd::panel.
|
overridevirtual |
Mirrors the display.
| mirrorX | true to mirror horizontally. |
| mirrorY | true to mirror vertically. |
Implements idfxx::lcd::panel.
|
overridevirtual |
Swaps the X and Y axes.
| swap | true to swap, false for normal. |
Implements idfxx::lcd::panel.