mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-30 16:24:09 +03:00
Cleaned up examples (new Serial lib, etc)
This commit is contained in:
@ -30,7 +30,7 @@ void readSerialString (char *strArray) {
|
||||
while (serialAvailable()){
|
||||
strArray[i] = Serial.read();
|
||||
i++;
|
||||
Serial.write(strArray[(i-1)]); //optional: for confirmation
|
||||
Serial.print(strArray[(i-1)]); //optional: for confirmation
|
||||
}
|
||||
Serial.println(); //optional: for confirmation
|
||||
}
|
||||
|
Reference in New Issue
Block a user