From cfeaf255b0c573e4a5a1bdf847adefb572e07162 Mon Sep 17 00:00:00 2001 From: prateekmohan1 Date: Sat, 21 Feb 2015 14:33:54 +0100 Subject: [PATCH 1/3] Corrected byte to int There was an error with previous code, had to change byte to int. --- 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: "); From 55ce223f7784b11b9c277480a35bed6bfc0ddb76 Mon Sep 17 00:00:00 2001 From: prateekmohan1 Date: Sat, 21 Feb 2015 15:39:27 +0100 Subject: [PATCH 2/3] Revert "Corrected byte to int" This reverts commit cfeaf255b0c573e4a5a1bdf847adefb572e07162. --- Github_Tutorial.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Github_Tutorial.ino b/Github_Tutorial.ino index 2307fbe..80143fc 100644 --- a/Github_Tutorial.ino +++ b/Github_Tutorial.ino @@ -21,7 +21,7 @@ void setup() void loop() { - int myValue = 0; + byte myValue = 0; myValue = analogRead(A0); Serial.print("The value is: "); From 83e259e966b16684d0f8374cd042c49a907043e9 Mon Sep 17 00:00:00 2001 From: prateekmohan1 Date: Sat, 21 Feb 2015 15:39:50 +0100 Subject: [PATCH 3/3] Revert "Revert "Corrected byte to int"" This reverts commit 55ce223f7784b11b9c277480a35bed6bfc0ddb76. --- 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: "); pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy