how do you generate PWM using an arduino ( code) ?
arun8277:
how do you generate PWM using an arduino ( code) ?
What for?
The PWM needed to dim an LED is generated by analogue write but the PWM needed to control a servo motor is generated by the code in the servo libiary.
Further more, the multiple multiplexed PWM required to emulate a multi channel radio control is something very different.