07-27-2024, 05:31 AM
Code:
void setup() {
Serial.begin(115200);
Serial2.begin(115200,SERIAL_8N1,13,5);
//KinCony KC868-A2 PCB v2.4 RXD:GPIO13 TXD:GPIO5
}
void loop() {
while (Serial.available()) {
// delay(1);
Serial2.write(Serial.read());
}
while (Serial2.available()) {
Serial.write(Serial2.read());
}
}