Skip to content

Change baud on the fly #441

Closed
Closed
@GermanSheepDog

Description

@GermanSheepDog

Hello,

I like to change baudrate for an ESP32 on the fly to communicate with a VC0706.

My idea is:

  1. HardwareSerial Serial2(2);
  2. Serial2.begin(38400);
  3. ...do something with VC0706 -> This worked
  4. Serial2.end(); -> Here stopped the program!
  5. delay(1000);
  6. Serial2.begin(115400);
  7. delay(1000);
  8. ..do something with VC0706

-> It didn't not work. The ESP32 stopped at line 4.)

My idea of an very easy test was:

  1. HardwareSerial Serial2(2);
  2. Serial2.begin(38400);
  3. ...do something with VC0706
  4. Serial2.end();
  5. delay(1000);
  6. Serial2.begin(38400); -> same baud as in line 1.!!!
  7. delay(1000);
  8. ..do something with VC0706

Is this an issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions