From d3e56a1ad2a2a65312e031512e35f4d27f6f7e1f Mon Sep 17 00:00:00 2001 From: Nick Date: Wed, 14 Jan 2015 10:43:17 -0700 Subject: [PATCH] corrected byte to int analogread returns int not byte --- 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: ");