B4R Question Change SPI pins?

RJB

Active Member
Licensed User
Longtime User
Does anyone know which pins the code in [code module]SPI uses for data/ clock?
Is it possible to change these? And if so how?
Thanks
 
Last edited:

RJB

Active Member
Licensed User
Longtime User
FYI after several more hours I've found C:\Users\xxxxx\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\variants\esp32\pins_arduino.h which contains:
B4X:
static const uint8_t SDA = 21;
static const uint8_t SCL = 22;
static const uint8_t SS    = 5;
static const uint8_t MOSI = 23;
static const uint8_t MISO = 19;
static const uint8_t SCK   = 18;
So probably a good place to start!
 
Upvote 0
Top