Using the SDK Setting the PWM frequency,......

PyaarPyaar New Member Posts: 5

In the SDK there appears to be only two commands in relation to the PWM, Set and get.

The "EApiPwmSetValue" uses 4 input values. But none of these values change the frequency of the PWM.

At present the minimum frequency at 17Mhz when the command is initialised with the following:
EApiPwmSetValue(0,1,0,1)
with the first variable being the PWM ID number,
Second is the Base Unit Integer
the third is the Base Unit fraction - which cannot be set to anything but 0 for some reason
the forth is the duty.

So the question is. How do you set the Upboard PWM frequency to its minimum of 293Hz?

Comments

Sign In or Register to comment.