Setting the PWM frequency using the SDK
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:
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?
- 271 All Categories
- 104 Announcements & News
- 37 Product News - New Product/Product Change Notice/ End-of-life
- 175 Welcome Developers!
- 49 Unboxing & Project Sharing
- 16 Tech Updates
- 256 UP Products
- 21 UP Squared Pro
- 110 UP Xtreme
- 767 UP Squared
- 1.3K UP Board
- 83 UP Core Plus
- 210 UP Core
- 3 UP Xtreme Lite
- 37 UP AI Edge
- 207 Starter Kits & Peripheral