Search found 1 match

by Vaibhavi
Mon Aug 08, 2022 11:27 am
Forum: ESP32 Arduino
Topic: Serial communication between two ESP32 dev boards
Replies: 2
Views: 12256

Re: Serial communication between two ESP32 dev boards

Receiving Code : #define RXp2 16 #define TXp2 17 void setup() { // put your setup code here, to run once: Serial.begin(115200); Serial2.begin (SERIAL_8N1, RXp2,TXp2); } void loop() { Serial.println("Message Received: "); Serial.println(Serial2.readString()); } Sending Code: void setup() { // put you...