Skip to content
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

begin function crashes #1

Open
lunard opened this issue Jul 31, 2021 · 0 comments
Open

begin function crashes #1

lunard opened this issue Jul 31, 2021 · 0 comments

Comments

@lunard
Copy link

lunard commented Jul 31, 2021

Hello, my name is Luca from Italy.
Thanks a lot for your nice example !
I'm using a M5StickC Plus and the line

mySerial->begin(19200);

causes a crash of the ESP32.

I'm able to initialise the HardwareSerial using

mySerial->begin(115200, SERIAL_8N1, sw_serial_rx_pin, sw_serial_tx_pin);

With this change, the project compiles and the ESP32 runs it, BUT I have problem by reading data form the TTY Serial:
Serial.available() return always 0.
If i comment the above line (mySerial.begin..), I'm able to read data on the TTY Serial

Do you have any suggestion ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant