Closed vshymanskyy closed 5 years ago
Good idea. We can add this to the pin map, I think.
@terrillmoore I could need this, too, for my paxcounter software which supports generic boards.
Suggested implemenation with pull request #157
Unfortunately, I discovered that my suggestion of adding to the pinmap can't work on Adafruit BSPs. Sigh. Plus (after suggesting that) I learned that changing the pinmap can be a major breaking change. See my comments on #157.
This is closed by #190.
On some boards, SPI.begin() is used to set SPI pins:
Currently, this is hardcoded in the library, but it may be best to leave it for the user sketch. https://www.thethingsnetwork.org/forum/t/big-esp32-sx127x-topic/10247/131