diff --git a/Github_Tutorial.ino b/Github_Tutorial.ino index 80143fc..bf035c9 100644 --- a/Github_Tutorial.ino +++ b/Github_Tutorial.ino @@ -9,6 +9,8 @@ If we have an analog sensor such as a trimpot or flex sensor on A0, this code would attempt to read it and output it to the terminal at 9600bps. + + Cool tutorial */ void setup() @@ -21,7 +23,7 @@ void setup() void loop() { - byte myValue = 0; + int myValue = 0; myValue = analogRead(A0); Serial.print("The value is: "); @@ -29,4 +31,3 @@ void loop() delay(250); } -