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?
- 302 All Categories
- 104 Announcements & News
- 50 Product News - New Product/Product Change Notice/ End-of-life
- 184 Welcome Developers!
- 50 Unboxing & Project Sharing
- 24 Tech Updates
- 478 UP Products
- UP Element i12 Edge
- 1 UP Squared V2
- 2 UP 4000
- 23 UP Xtreme i11
- 30 UP Squared 6000
- 42 UP Squared Pro
- 137 UP Xtreme
- 806 UP Squared
- 1.4K UP Board
- 87 UP Core Plus
- 219 UP Core
- 3 UP Xtreme Lite
- 43 UP AI Edge
- 215 Starter Kits & Peripheral