Skip to content

Commit f04c9d7

Browse files
Fixed? the code under "Using PWM in your sketch"
1 parent 85889c4 commit f04c9d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/Hardware Support/Generic/Use-PWM-output-with-Arduino.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Here's a basic example:
1515

1616
```arduino
1717
int ledPin = 9; // LED connected to digital pin 9
18-
int analogPin = 3; // potentiometer connected to analog pin 3
18+
int analogPin = A0; // potentiometer connected to analog pin A0
1919
int val = 0; // variable to store the read value
2020
2121
void setup() {

0 commit comments

Comments
 (0)