-
Notifications
You must be signed in to change notification settings - Fork 258
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
ESP32-S3 Serial.read() infinite loop #315
Comments
There's a couple of things I can think of. Based on this image: We can see that the TX pin is 17, and RX is 18. Having set RX as 16 could be the problem, with incorrect data being read on that pin. Another possibility is that calling |
HI, thanks for pointing out the PINs, this was probably one of many error. I wasn't able to let the library work also with the custom transport (same infinite loop problem) instead I opted for the "old" serial method. I'm posting the working code just as reference if someone has the same problem
|
Context
Please answer a few questions to help us understand your problem better and guide you to a solution:
What board are you using ?
ESP32-S3-DevKitC-1 v1.1
How are you using MIDI ?
Is your problem related to:
How comfortable are you with code ?
Describe your problem (what does not work):
I'm trying to implement a Serial (DIN) communication to a working BLE Project, so far I can read every MIDI messages coming from my BLE Input device but calling MIDI_Serial.read(); creates an infinite loop where my ESP32 continuosly fires the callback functions.
Should I call somewhere the end() method or my implementation is wrong?
Here the relevant code
The text was updated successfully, but these errors were encountered: