void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
char c;
while(true){
if(Serial.available()){
c=Serial.read();
Serial.println(c);
if(c=='x')break;
}
}
}
void loop() {
}
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
char c;
while(true){
if(Serial.available()){
c=Serial.read();
Serial.println(c);
if(c=='x')break;
}
}
}
void loop() {
}