Come up with a project.


Analog Output

Pin is high is called Pulse width - half the total time it takes to go from low to high to low again.

Pin is high is called Pulse width - half the total time it takes to go from low to high to low again.

*Arduino boards have a few pins which can generate a continuous PWM signal. On the Arduino Nano 33 IoT. They’re pins 2, 3, 5, 6, 9, 10, 11, 12, A2, A3, and A5.


1 analogWrite(pin, duty);

Applications of Pulse Width Modulation