From 27c4cbdb0000b0749d39a36b32f6ed7fd4d0ac4f Mon Sep 17 00:00:00 2001 From: MaderDash <32471649+MaderDash@users.noreply.github.com> Date: Sat, 29 Jun 2024 20:00:14 -0500 Subject: [PATCH] Update analogWrite.adoc #979 corecting the analog pin example. --- Language/Functions/Analog IO/analogWrite.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Language/Functions/Analog IO/analogWrite.adoc b/Language/Functions/Analog IO/analogWrite.adoc index 36894922..197893fb 100644 --- a/Language/Functions/Analog IO/analogWrite.adoc +++ b/Language/Functions/Analog IO/analogWrite.adoc @@ -83,7 +83,7 @@ Sets the output to the LED proportional to the value read from the potentiometer [source,arduino] ---- int ledPin = 9; // LED connected to digital pin 9 -int analogPin = 3; // potentiometer connected to analog pin 3 +int analogPin = A3; // potentiometer connected to analog pin 3 int val = 0; // variable to store the read value void setup() {