Closed haschler closed 1 year ago
Just my two cents on this topic: Breaking the functionality for approx. 95% of ESP32 users just to support the special needs of perhaps 5% is not good... Removing the hardcoded pin numbers makes the library work on every ESP32 model/variant. You just have to wire the four SPI lines according to the pinout of your board (VSPI). The interrupt pin can be chosen freely (default is GPIO2) and passed to the constructor of RFM69 if needed.
spi->begin() chooses VSPI pin numbering by default.