Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Arduino IDE demo source code for KC868-A8S]--#11-KC868-A8S_AT-debug_code
#1
[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());
  }
}
Reply
#2
before use code , need config hardware serial port in "HardwareSerial.cpp"
   
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)