3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22#include "TinyGPU/Boards/LCDBoardsCommon.h"
23#include "TinyGPU/Drivers/DisplayDriverTFTeSPI.h"
24#include "TinyGPU/Input/TouchDriverTFTeSPI.h"
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
55 uint16_t touchThreshold = 600)
60 hasTouch_(hasTouch) {}
65 if (!display_.begin())
return false;
66 if (hasTouch_)
return touch_.begin();
Display driver that renders a TinyGPU surface through Bodmer's TFT_eSPI (https://github....
Definition: DisplayDriverTFTeSPI.h:36
LCDBoard wrapping a single TFT_eSPI instance, shared between its DisplayDriverTFTeSPI and (optional) ...
Definition: LCDBoardsTFTeSPI.h:52
TFT_eSPI & tft()
Definition: LCDBoardsTFTeSPI.h:87
size_t height() const override
Panel height in pixels, as passed to the constructor.
Definition: LCDBoardsTFTeSPI.h:73
const I2SPins & i2s() const override
No I2S bus tracked here - every field is -1.
Definition: LCDBoardsTFTeSPI.h:80
DisplayDriverTFTeSPI< RGB565 > & display() override
The board's display driver.
Definition: LCDBoardsTFTeSPI.h:76
TouchDriver * touch() override
The board's touch controller, or nullptr if hasTouch was false.
Definition: LCDBoardsTFTeSPI.h:78
size_t width() const override
Panel width in pixels, as passed to the constructor.
Definition: LCDBoardsTFTeSPI.h:71
bool begin() override
Definition: LCDBoardsTFTeSPI.h:64
LCDBoardTFTeSPI(size_t width, size_t height, bool hasTouch=false, uint16_t touchThreshold=600)
Definition: LCDBoardsTFTeSPI.h:54
const LEDPins & led() const override
No LED tracked here - every field is -1.
Definition: LCDBoardsTFTeSPI.h:82
Definition: LCDBoardsCommon.h:62
RGB color stored in 16-bit RGB565 format, byte-swapped from the conventional bit layout.
Definition: RGB565.h:24
Touch driver that reads through Bodmer's TFT_eSPI (https://github.com/Bodmer/TFT_eSPI) resistive touc...
Definition: TouchDriverTFTeSPI.h:37
Base class for touch controllers.
Definition: TouchDriverCommon.h:72
Definition: DSIBusESP32.h:19
Definition: LCDBoardsCommon.h:28
Definition: LCDBoardsCommon.h:49