From ca2d8e17abd9c342f8b5925ce7f8ba927eaa9f56 Mon Sep 17 00:00:00 2001 From: qminhvuu Date: Sat, 29 Jun 2024 22:50:47 +0930 Subject: [PATCH 1/2] Changes byte to int analogRead returns an 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 8a279a09c23c6bdb47059b6fed34dff59b1e00ee Mon Sep 17 00:00:00 2001 From: qminhvuu Date: Sat, 29 Jun 2024 22:52:32 +0930 Subject: [PATCH 2/2] Add a new comment --- Github_Tutorial.ino | 1 + 1 file changed, 1 insertion(+) diff --git a/Github_Tutorial.ino b/Github_Tutorial.ino index 2307fbe..734ed5a 100644 --- a/Github_Tutorial.ino +++ b/Github_Tutorial.ino @@ -21,6 +21,7 @@ void setup() void loop() { + // A random comment int myValue = 0; myValue = analogRead(A0); 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