Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By costo
#40516 Thank you very much for your help.

In the meantime I have added this function in my sketch (without the ....... dots) and also added the command

user_init();

as first line in the setup.

Sketch compiles and I flash it but sadly I still get all outputs from Serial.print functions to the normal Rx and Tx .
So there is something more going on which I do not understand :(

edit: also tried it the way exactly as you supposed but that gives me the same result.
User avatar
By martinayotte
#40526 BTW, I'm seeing that the ArduinoESP core has integrate Serial.swap(), so you can try it out instead of using the plain SDK alternate function.
It should be something like :
Code: Select allSerial.swap(15); //toggle between use of GPIO13/GPIO15 or GPIO3/GPIO(1/2) as RX and TX