Comments (2)
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.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gfx_tft.