1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-08-01 03:47:23 +03:00

Modifying examples to use Serial.write() instead of Serial.print(BYTE).

This commit is contained in:
David A. Mellis
2011-02-26 13:57:41 -05:00
parent d15e9aa98a
commit 3eae87adc9
7 changed files with 15 additions and 15 deletions

View File

@ -28,6 +28,6 @@ void loop() {
// read from port 1, send to port 0:
if (Serial1.available()) {
int inByte = Serial1.read();
Serial.print(inByte, BYTE);
Serial.write(inByte);
}
}