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 85889c4 commit f04c9d7Copy full SHA for f04c9d7
content/Hardware Support/Generic/Use-PWM-output-with-Arduino.md
@@ -15,7 +15,7 @@ Here's a basic example:
15
16
```arduino
17
int ledPin = 9; // LED connected to digital pin 9
18
-int analogPin = 3; // potentiometer connected to analog pin 3
+int analogPin = A0; // potentiometer connected to analog pin A0
19
int val = 0; // variable to store the read value
20
21
void setup() {
0 commit comments