R RJB Active Member Licensed User Longtime User Jun 21, 2020 #1 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: Jun 21, 2020
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
R RJB Active Member Licensed User Longtime User Jun 21, 2020 #2 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
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!