Closed pauldvg closed 4 years ago
I finally managed to get it working by removing all reference to the SoftwareSerial class and objets in your library. I simply used the Serial1 port of the ESP32 with LoRa_E32 e32ttl(&Serial1, LoRa_AUX, LoRa_M0, LoRa_M1); // serial port, aux, m0, m1, baudrate
Thank you
Hi paul, Sorry if I write only now. I'm going tuo fix the problem as soon as possible. Thanks tuo open this issue Renzo
Hi pauldvg, I add a check on esp32 to disable by default SoftwareSerial.
But If you remove the check #ifndef ESP32 you can enable SoftwareSerial with esp32 and work with espsoftwareserial library without problem https://github.com/plerup/espsoftwareserial
With that library you can use softwareserial with esp32.
Bye and thanks Renzo
Thank you for your very quick reaction ! I will try the new version
Tested and working. Thanks
Hello, First of all thank you for your work, I used your library successfully with an Arduino board. Now I want to use it with an ESP32, but I can't get even the simplest exemple to work because of a problem with SoftwareSerial which does not exist for ESP32, even thought I'm trying to use the hardware serial port (GPIO 1 and 3).. How did you manage to make it work with an ESP32? Can you provide a exemple code that works for the ESP32 ? Thank you very much