1
0
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:
David A. Mellis
2006-04-26 16:57:14 +00:00
parent 260c5d5ee1
commit 53a6afd3f6
6 changed files with 143 additions and 137 deletions

View File

@ -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
}