Closed kind3r closed 4 years ago
Hi Kind3r, Thank you for notifying me of this shortcoming and for the code, I can't grab directly your pull request because compatibility problem steal some precious code from you pull request, and I create a new branch here https://github.com/xreef/LoRa_E32_Series_Library/tree/Add_rx_tx_pins_for_esp32_device I hope It's work for you, please give me a feedback.
If you give me an OK about this code, when I have sometime I test backward compatibility and I put all in a master branch.
Thanks again Renzo
Ok, I can confirm it's working. Thanks !
Ok thanks for your feedback, I'm going to test on other device than I put all in a master branch. Thanks again bye Renzo
I can't for the love of C++ (read hate) set custom pins with HardwareSerial. Re-defining
RX1
andTX1
forSerial1
does not work, only way to set other pins seems to be viaHardwareSerial.begin()
which is called inLoRa_E32::begin()
viaNeedsStream::begin()
.Any ideea how I can work around this ?
I can create a new constructor to specify the pins and try to create a pull request.