Heltec_ESP32 icon indicating copy to clipboard operation
Heltec_ESP32 copied to clipboard

Serial2.ino mistakes?

Open scottcopus opened this issue 4 years ago • 0 comments

I think this example Sketch needs to be fixed:

https://github.com/HelTecAutomation/Heltec_ESP32/blob/master/examples/ESP32/Serial2/Serial2.ino

line 7: * wire Rx1 to Tx1 and Rx2 to Tx2 to: * wire Rx1 (pin 2) to Tx2 (pin 23) and Rx2 (pin 22) to Tx1 (pin 17)

lines 32-33:

  if(Serial2.available()) {
    int ch = Serial2.read();

to:

  if(Serial1.available()) {
    int ch = Serial1.read();

cheers, Scott

scottcopus avatar Feb 09 '21 04:02 scottcopus