Possibility to pause/stop the SPI interface? #2464
-
I'm having an Arduino project (esp32 development board) that uses the great TFT_eSPI library for controlling an ILI9488 via SPI, which works nicely.
If I do not end the SPI connection, it will interfere with my alternative usage of the GPIOs. (Obviously I'd need to call myDisplay.init() again once I want to update the TFT.) So the actual question: Does the library already offer some functionality to pause/end an SPI connection which I didn't recognise or is this functionality really missing and adding something like closeSpi() the way to go? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Did you tried to tie other connection by tft.getSPIinstance() ? |
Beta Was this translation helpful? Give feedback.
Did you tried to tie other connection by tft.getSPIinstance() ?
For example I have sd card reader and this work perfectly:
SD.begin(SD_CS, tft.getSPIinstance())