From 86214e695d3f0f52e2fd6cb468aa426c11f7e4b0 Mon Sep 17 00:00:00 2001 From: Marc H Date: Fri, 8 May 2015 03:00:59 -0700 Subject: [PATCH] corrected byte to int (following tutorial) Fixed bug in program. This is a sample file used in the sparkfun github tutorial. --- 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: ");