06-30-2022, 12:49 AM
[Arduino IDE demo source code for KC868-A8S]--#11-KC868-A8S_AT-debug_code
Code:
void setup() {
Serial.begin(115200);
Serial2.begin(115200);
}
void loop() {
while (Serial.available()) {
delay(1);
Serial2.write(Serial.read());
}
while (Serial2.available()) {
Serial.write(Serial2.read());
}
}