SX12XX-LoRa icon indicating copy to clipboard operation
SX12XX-LoRa copied to clipboard

Update 104_LoRa_Receiver_Detailed_Setup_ESP32.ino

Open qubi-dev opened this issue 4 years ago • 1 comments

SPI does not initialize correctly without adding the global variables to SPI.begin() on some custom boards with different default SPI pin mappings. Tested using bare ESP32-WROOM 32 module. Original code fails when using Board: "Silicognition wESP32". Above change fixes for all boards.

qubi-dev avatar Apr 10 '20 04:04 qubi-dev

I was aware of the SPI.begin(SCK, MISO, MOSI, NSS) form.

Are you saying that for your particular ESP32 board, SPI.Begin(); does not work but SPI.begin(18, 19 23, 5); does ?

Will SPI.begin(18, 19 23, 5); work for all possible ESP32 boards ?

StuartsProjects avatar Apr 10 '20 05:04 StuartsProjects