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

WeAct "MiniSTM32H7xx" core board (STM32H750VBT6/STM32H743VIT6) with its bundled, ribbon/FPC-mounted 0.96" 160x80 ST7735 TFT, mounted landscape: https://github.com/WeActStudio/MiniSTM32H7xx. More...

#include <LCDBoardsSTM32.h>

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

Public Member Functions

bool begin () override
 
size_t width () const override
 Panel width in pixels (landscape).
 
size_t height () const override
 Panel height in pixels (landscape).
 
ST7735DriverHardwareSPI & display () override
 The board's display driver.
 
TouchDriver * touch () override
 This board has no touch controller.
 
const I2SPins & i2s () const override
 This board has no I2S bus - every I2SPins field is -1.
 
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

WeAct "MiniSTM32H7xx" core board (STM32H750VBT6/STM32H743VIT6) with its bundled, ribbon/FPC-mounted 0.96" 160x80 ST7735 TFT, mounted landscape: https://github.com/WeActStudio/MiniSTM32H7xx.

Display: ST7735, 160x80, hardware SPI4 (see ST7735DriverHardwareSPI's doc comment for the earlier bit-banged detour and why hardware SPI4 turned out fine after all) - CS=PE11 DC(RS)=PE13 SCK=PE12 MOSI=PE14 RST=PE15; BL=PE10 (TIM1_CH2N, PWM-capable - driven via analogWrite() by begin(); a plain digital HIGH left the backlight dark on real hardware, see backlightPin() for further brightness control). Touch/I2S/LED: none on this board.

Panel offsets (xOffset=1, yOffset=26) and MADCTL (0xA8 = MY|MV|BGR) match Adafruit_ST7735's INITR_MINI160x80_PLUGIN tab + setRotation(1) - the variant meant for ribbon/FPC-mounted mini panels like this one, as opposed to a directly-soldered module - confirmed working on real hardware, including its need for INVON (see ST7735DriverHardwareSPI::begin()) where the plain (non-plugin) INITR_MINI160x80 tab uses INVOFF.

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 and display controller. Returns false if the display begin() fails.

Implements LCDBoard.

◆ display()

ST7735DriverHardwareSPI & display ( )
inlineoverridevirtual

The board's display driver.

Implements LCDBoard.

◆ height()

size_t height ( ) const
inlineoverridevirtual

Panel height in pixels (landscape).

Implements LCDBoard.

◆ i2s()

const I2SPins & i2s ( ) const
inlineoverridevirtual

This board has no I2S bus - every I2SPins field is -1.

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

This board has no touch controller.

Implements LCDBoard.

◆ width()

size_t width ( ) const
inlineoverridevirtual

Panel width in pixels (landscape).

Implements LCDBoard.


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