Closed
Description
Hello,
I like to change baudrate for an ESP32 on the fly to communicate with a VC0706.
My idea is:
- HardwareSerial Serial2(2);
- Serial2.begin(38400);
- ...do something with VC0706 -> This worked
- Serial2.end(); -> Here stopped the program!
- delay(1000);
- Serial2.begin(115400);
- delay(1000);
- ..do something with VC0706
-> It didn't not work. The ESP32 stopped at line 4.)
My idea of an very easy test was:
- HardwareSerial Serial2(2);
- Serial2.begin(38400);
- ...do something with VC0706
- Serial2.end();
- delay(1000);
- Serial2.begin(38400); -> same baud as in line 1.!!!
- delay(1000);
- ..do something with VC0706
Is this an issue?
Metadata
Metadata
Assignees
Labels
No labels