From 6627b45ea62b3d0f79e21269d8015311cd146c53 Mon Sep 17 00:00:00 2001 From: SimonePDA Date: Wed, 28 Mar 2018 14:00:48 +0200 Subject: [PATCH] Update available.adoc Fixes the issue with BYTE keyword that is no longer supported, fixing #320 --- Language/Functions/Communication/Serial/available.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Language/Functions/Communication/Serial/available.adoc b/Language/Functions/Communication/Serial/available.adoc index a6bdc8769..286b5ebc5 100644 --- a/Language/Functions/Communication/Serial/available.adoc +++ b/Language/Functions/Communication/Serial/available.adoc @@ -82,13 +82,13 @@ void loop() { // read from port 0, send to port 1: if (Serial.available()) { int inByte = Serial.read(); - Serial1.print(inByte, BYTE); + Serial1.print(inByte, DEC); } // read from port 1, send to port 0: if (Serial1.available()) { int inByte = Serial1.read(); - Serial.print(inByte, BYTE); + Serial.print(inByte, DEC); } } ----