Skip to content
Discussion options

You must be logged in to vote

I have found the answer :)
Long read....
Short version
#define TFT_SCLK 24
#define TFT_MISO 22
#define TFT_MOSI 23

Sets the #defines for the existing hw SPI on the ICSP header
So it now works with TFT_eSPI

Pity they didn't publish that in the Zero tech specs

Long version
See:
https://learn.adafruit.com/using-atsamd21-sercom-to-add-more-spi-i2c-serial-ports?view=all

Quite a read, however there are solutions to set the SPI to other available pins Eg 11, 12, 13 and indeed other comms can be re tasked as required if available. Bit of mucking about needed.

Cheers
MrGreg

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@mrjgreg
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by mrjgreg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants