From 74366c65ba2230291c43e7732859096702fe705c Mon Sep 17 00:00:00 2001 From: Chris-Covington Date: Sun, 15 Feb 2026 21:09:12 -0600 Subject: [PATCH] Changed byte myValue to int analogRead returns an int not a byte, so changed myValue from a byte to an int --- Github_Tutorial.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Github_Tutorial.ino b/Github_Tutorial.ino index 80143fc..2307fbe 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: ");