PWM function (by Ziggy)
Ihor,
Woulld it be possible to modify the PWM function so that the duty cycle variable is not specified in terms of percentages( parts per hundred ) but rather the actual counter count or promil ( parts per thousand) as opposed to percentage.