-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error during compilation of example code for testing communication #65
Comments
Thanks for the reply, however I am using |
Hi all, problem solved, thanks @Luro02 |
Do you have any recommendations on how I can change the library to best work with the various versions of ESP32? I will take a look at this when I have a chance. |
One could adjust the code only for the esp32 3.x version; #if ESP_ARDUINO_VERSION_MAJOR >= 3
hardware_serial_ptr_->end();
#else
hardware_serial_ptr_->end(false);
#endif Where is the |
That works, but need to hit the reset button on the ESP32, figured it out after just messing around. |
I remember I needed to add end(false) to fix some bug, but I should have made a comment in the code about it because now I forget why I thought that was necessary. I think I will just replace that line with end() and people can upgrade to the newest esp32 3.x version if they run into any problems. Thanks! |
I am using ESP32, the same code with 0 modification was working just fine yesterday, since today morning I have been running into this error and idk what to do.
Error message displayed:
For the example code:
The text was updated successfully, but these errors were encountered: