We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b21f89 commit 98134e4Copy full SHA for 98134e4
Github_Tutorial.ino
@@ -9,6 +9,8 @@
9
10
If we have an analog sensor such as a trimpot or flex sensor on A0, this code would attempt
11
to read it and output it to the terminal at 9600bps.
12
+
13
+ Cool tutorial
14
*/
15
16
void setup()
@@ -21,12 +23,11 @@ void setup()
21
23
22
24
void loop()
25
{
- byte myValue = 0;
26
+ int myValue = 0;
27
myValue = analogRead(A0);
28
29
Serial.print("The value is: ");
30
Serial.println(myValue);
31
32
delay(250);
33
}
-
0 commit comments