6#include "TinyGPU/Surface/ISurface.h"
7#include "TinyGPU/Drivers/DisplayDriver.h"
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33template <
typename RGB_T =
RGB565>
37
38
39
40
41
48 return driver_->begin();
63 driver_->writeData(surface);
71 bool is_active =
false;
Hardware abstraction for writing framebuffers to SPI-based color displays.
Definition: DeviceOutput.h:34
bool begin()
Initializes the display and prepares it for receiving data.
Definition: DeviceOutput.h:46
bool writeData(ISurface< RGB_T > &surface)
Write a framebuffer to the display (w x h, RGB565, 2 bytes per pixel).
Definition: DeviceOutput.h:60
void end()
Definition: DeviceOutput.h:53
DeviceOutput(DisplayDriver< RGB_T > &driver)
Construct a DeviceOutput with a display driver.
Definition: DeviceOutput.h:42
Definition: DisplayDriver.h:49
RGB color stored in 16-bit RGB565 format, byte-swapped from the conventional bit layout.
Definition: RGB565.h:24
Definition: DSIBusESP32.h:19