From 98134e4265b21743ea20c8b7f7508600aaf99f35 Mon Sep 17 00:00:00 2001 From: 4freding <44181144+4freding@users.noreply.github.com> Date: Mon, 15 Oct 2018 20:09:03 -0400 Subject: [PATCH] Update Github_Tutorial.ino Practice Git..Changed datatype byte to int, more approprate. --- Github_Tutorial.ino | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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); } -