Question: what are pwm pins used for?
Answer: PWM stands for Pulse Width Modulation technique , It is used to convert the digital signal into an analog by varying the width of the Pulse . The PWM pins are used for giving the desired analog output . They are used to set the LED brightness or to run Stepper or Servo Motor or anything which require analog inputs .