SX12XX-LoRa
SX12XX-LoRa copied to clipboard
Update 104_LoRa_Receiver_Detailed_Setup_ESP32.ino
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.
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 ?