14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35template <
typename RGB_T =
RGB565>
39
40
41
42
43
50 return driver_->begin();
65 driver_->writeData(surface);
73 bool is_active =
false;
Hardware abstraction for writing framebuffers to SPI-based color displays.
Definition: DeviceOutput.h:36
bool begin()
Initializes the display and prepares it for receiving data.
Definition: DeviceOutput.h:48
bool writeData(ISurface< RGB_T > &surface)
Write a framebuffer to the display (w x h, RGB565, 2 bytes per pixel).
Definition: DeviceOutput.h:62
void end()
Definition: DeviceOutput.h:55
DeviceOutput(DisplayDriver< RGB_T > &driver)
Construct a DeviceOutput with a display driver.
Definition: DeviceOutput.h:44
Abstract base class for display drivers.
Definition: DisplayDriver.h:17
RGB color stored in 16-bit RGB565 format.
Definition: RGB565.h:13
Definition: AVIWriter.h:9