|
TinyGPU
|
"ESP32 Arduino LVGL WiFi&Bluetooth Development Board, 2.4" LCD TFT Module" - ILI9341 SPI TFT + CST816S capacitive touch, no PSRAM. (ESP32-2432S028R) - also named ESP32 Cheap Yellow Diplay More...
#include <LCDBoardsESP32.h>


Public Member Functions | |
| bool | begin () override |
| size_t | width () const override |
| Panel width in pixels. | |
| size_t | height () const override |
| Panel height in pixels. | |
| ILI9341Driver< RGB565 > & | display () override |
| The board's display driver. | |
| TouchDriver * | touch () override |
| The board's touch controller. | |
| const I2SPins & | i2s () const override |
| Analog-DAC audio on this board - every I2SPins field is -1. | |
| const LEDPins & | led () const override |
| The board's LED pin assignment. | |
| int8_t | backlightPin () const override |
| The board's backlight GPIO pin. | |
Public Member Functions inherited from LCDBoard | |
| virtual | ~LCDBoard ()=default |
| virtual bool | begin ()=0 |
| virtual size_t | width () const =0 |
| Panel width in pixels. | |
| virtual size_t | height () const =0 |
| Panel height in pixels. | |
| virtual DisplayDriver< RGB565 > & | display ()=0 |
| The board's display driver. | |
| virtual TouchDriver * | touch ()=0 |
| The board's touch controller, or nullptr if none is wired up. | |
| virtual const I2SPins & | i2s () const =0 |
| The board's I2S/PA pin assignment. | |
| virtual const LEDPins & | led () const =0 |
| The board's LED pin assignment. | |
| virtual int8_t | backlightPin () const |
| template<typename I2SConfig > | |
| void | setI2SPins (I2SConfig &cfg) |
"ESP32 Arduino LVGL WiFi&Bluetooth Development Board, 2.4" LCD TFT Module" - ILI9341 SPI TFT + CST816S capacitive touch, no PSRAM. (ESP32-2432S028R) - also named ESP32 Cheap Yellow Diplay
This is the same board pinout TinyGPU's own examples (e.g. examples/color-test) are tested against.
Display: ILI9341, 240x320, SPI - CS=15 DC=2 SCK=14 MOSI=13 MISO=12 RST=-1 BL=27. Touch: CST816S, I2C - SDA=33 SCL=32 IRQ=36 (no RST pin wired). Audio: built-in mono amplifier driven from the ESP32's internal DAC (analog output, not I2S) - i2s() is all -1 on this board. LED: discrete RGB LED (3 separate GPIOs, active low) - R=4 G=16 B=17.
#include "AudioTools.h"
AnalogAudioStream out; auto cfg = out.defaultConfig(TX_MODE); cfg.sample_rate = 44100; cfg.channels = 1; cfg.bits_per_sample = 16; out.begin(cfg);
|
inlineoverridevirtual |
The board's backlight GPIO pin.
Reimplemented from LCDBoard.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
The board's display driver.
Implements LCDBoard.
|
inlineoverridevirtual |
Panel height in pixels.
Implements LCDBoard.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
The board's LED pin assignment.
Implements LCDBoard.
|
inlineoverridevirtual |
The board's touch controller.
Implements LCDBoard.
|
inlineoverridevirtual |
Panel width in pixels.
Implements LCDBoard.