|
| 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.
|
| |
| 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) |
| |
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.