News

The Arduino Mega's PWM pins are digital ... the input value into four as seen in this basic example code or by using the map() function, as you can see in this Analog In, Out Serial sample sketch.