From c32f13f48224641d16d444cfcd71cd5dd49b5167 Mon Sep 17 00:00:00 2001 From: akolson Date: Sat, 10 Aug 2013 20:37:53 +0300 Subject: [PATCH] Correct byte to int analogRead returns an it. there was a kind of type mismatch --- 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: ");