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?
- 267 All Categories
- 104 Announcements & News
- 35 Product News - New Product/Product Change Notice/ End-of-life
- 175 Welcome Developers!
- 48 Unboxing & Project Sharing
- 15 Tech Updates
- 235 UP Products
- 20 UP Squared Pro
- 107 UP Xtreme
- 763 UP Squared
- 1.3K UP Board
- 81 UP Core Plus
- 209 UP Core
- 1 UP Xtreme Lite
- 36 UP AI Edge
- 207 Starter Kits & Peripheral