Giter VIP home page Giter VIP logo

Comments (2)

ZinggJM avatar ZinggJM commented on July 17, 2024

Hello, thank you for your interest!

The SPI version of the GFX_TFT class for RA8875, GFX_SPI_RA8875, has 3 constructors:

    GFX_SPI_RA8875(int16_t cs_pin, int16_t dc_pin, int16_t rst_pin = -1, int16_t bl_pin = -1);
    GFX_SPI_RA8875(int16_t cs_pin, int16_t dc_pin, int16_t mosi_pin, int16_t sclk_pin, int16_t rst_pin, int16_t bl_pin = -1);
    GFX_SPI_RA8875(SPIClass *spi, int16_t cs_pin, int16_t dc_pin, int16_t rst_pin = -1, int16_t bl_pin = -1);

The first one uses the default HW SPI channel as defined by the Arduino package for the board you compile for.
This is the only one I have tested with.

The second one should use SW SPI provided by the cloned Adafruit_SPITFT class.

The third should be able to use any SW or HW SPI class instance. It may bypass the Adafruit_SPITFT clone. Untested.

There is no other support for alternative HW SPI channels on multi-SPI capable processors.

Jean-Marc

from gfx_tft.

gcharles81 avatar gcharles81 commented on July 17, 2024

Thanks @ZinggJM for your input , I am initializing the instance with GFX_SPI_RA8875 tft(PB12,PB1,PB15,PB13,PC5); but I cannot get it to work with this Black STM32F407 board using the TFT connector https://stm32-base.org/boards/STM32F407VGT6-STM32F4XX-M.html

from gfx_tft.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.