TinyGPU
Loading...
Searching...
No Matches
Public Member Functions | List of all members
LCDBoardGuitionESP32S3_4_3Display Class Reference

"Guition ESP32-S3 4.3" 480x272 Capacitive Touch Display" (JC4827W543C_I): it has a NV3041A QSPI display, GT911 capacitive touch NV3041A QSPI TFT + GT911 capacitive touch (I2C) + NS4168 speaker amp (speaker output only - no codec/mic on this board). More...

#include <LCDBoardsESP32.h>

Inheritance diagram for LCDBoardGuitionESP32S3_4_3Display:
Inheritance graph
[legend]
Collaboration diagram for LCDBoardGuitionESP32S3_4_3Display:
Collaboration graph
[legend]

Public Member Functions

bool begin () override
 
size_t width () const override
 Panel width in pixels.
 
size_t height () const override
 Panel height in pixels.
 
NV3041ADriver< RGB565 > & display () override
 The board's display driver.
 
TouchDriver * touch () override
 The board's touch controller.
 
const I2SPins & i2s () const override
 The board's I2S pin assignment.
 
const LEDPins & led () const override
 This board has no RGB LED - every LEDPins field is -1.
 
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)
 

Detailed Description

"Guition ESP32-S3 4.3" 480x272 Capacitive Touch Display" (JC4827W543C_I): it has a NV3041A QSPI display, GT911 capacitive touch NV3041A QSPI TFT + GT911 capacitive touch (I2C) + NS4168 speaker amp (speaker output only - no codec/mic on this board).

Display: NV3041A, 480x272, QSPI - CS=45 SCLK=47 D0=21 D1=48 D2=40 D3=39 BL=1, 32MHz. Touch: GT911, I2C - SDA=8 SCL=4 INT=3 RST=38, address 0x5D. I2S (NS4168 amp): BCK=42 WS=2 DATA=41. LED: none on this board.

Note
Audio setup: no codec on this board - the NS4168 is a plain I2S power amp, so audio_tools::I2SStream (TX only; there's no mic/data_in) is enough:

#include "AudioTools.h"

I2SStream out; auto cfg = out.defaultConfig(TX_MODE); cfg.sample_rate = 44100; cfg.channels = 2; cfg.bits_per_sample = 16; board.setI2SPins<I2SConfig>(cfg); out.begin(cfg);

Member Function Documentation

◆ backlightPin()

int8_t backlightPin ( ) const
inlineoverridevirtual

The board's backlight GPIO pin.

Reimplemented from LCDBoard.

◆ begin()

bool begin ( )
inlineoverridevirtual

Sets up the backlight, QSPI display controller, and touch controller. Returns false if the display or touch begin() fails.

Implements LCDBoard.

◆ display()

NV3041ADriver< RGB565 > & display ( )
inlineoverridevirtual

The board's display driver.

Implements LCDBoard.

◆ height()

size_t height ( ) const
inlineoverridevirtual

Panel height in pixels.

Implements LCDBoard.

◆ i2s()

const I2SPins & i2s ( ) const
inlineoverridevirtual

The board's I2S pin assignment.

Implements LCDBoard.

◆ led()

const LEDPins & led ( ) const
inlineoverridevirtual

This board has no RGB LED - every LEDPins field is -1.

Implements LCDBoard.

◆ touch()

TouchDriver * touch ( )
inlineoverridevirtual

The board's touch controller.

Implements LCDBoard.

◆ width()

size_t width ( ) const
inlineoverridevirtual

Panel width in pixels.

Implements LCDBoard.


The documentation for this class was generated from the following file: