Could just be "woods for the trees" but I can't seem to figure out how to make the Adafruit ST7735 library use the RP2040s SPI1 hardware pins instead of SPI0?
For numerous reasons I need to use the SPI1 hardware pins so using the default SPI0 pins isn't an option in this case. I know I can include the SPI pin numbers I want to use in the constructor but that makes it Software SPI and is much slower than Hardware - so how can I use the second (SPI1) pins?
My SPI1 pins are already defined in the appropriate pins_arduino.h as:
Code: Select all
#define PIN_SPI1_MISO (12u)
#define PIN_SPI1_MOSI (15u)
#define PIN_SPI1_SCK (14u)
#define PIN_SPI1_SS (13u)