From 973c9178e34539b384e50757b3dbf0690dca4424 Mon Sep 17 00:00:00 2001 From: Davitronix_cyber Date: Mon, 12 Sep 2022 18:04:38 +0100 Subject: [PATCH 1/2] Update Github_Tutorial.ino Change variable byte to int --- Github_Tutorial.ino | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Github_Tutorial.ino b/Github_Tutorial.ino index 80143fc..e99c210 100644 --- a/Github_Tutorial.ino +++ b/Github_Tutorial.ino @@ -21,7 +21,7 @@ void setup() void loop() { - byte myValue = 0; + int myValue = 0; myValue = analogRead(A0); Serial.print("The value is: "); @@ -29,4 +29,3 @@ void loop() delay(250); } - From 78884d9ffc544bd71c72d828d22eb40f9a454373 Mon Sep 17 00:00:00 2001 From: Davitronix_cyber Date: Mon, 12 Sep 2022 18:16:29 +0100 Subject: [PATCH 2/2] Update Github_Tutorial.ino print the value in same line --- Github_Tutorial.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Github_Tutorial.ino b/Github_Tutorial.ino index e99c210..b0f5550 100644 --- a/Github_Tutorial.ino +++ b/Github_Tutorial.ino @@ -25,7 +25,7 @@ void loop() myValue = analogRead(A0); Serial.print("The value is: "); - Serial.println(myValue); + Serial.print(myValue); delay(250); }