Hardware or software ?
Hardware or software ?
Dave
Always wear safety glasses while programming.
You will need to setup a couple of variables. One for Dutycycle and one for Frequency to control the Channel.
Code:DC VAR BYTE 'Dutycycle FQ VAR WORD 'Frequency HPWM 1,DC,FQ
Dave
Always wear safety glasses while programming.
I'm using multi_SPWM. I'm wondering if there is a way to change the frequency using a pot?
Not the way it is written.
The frequency is calculated a compile-time and cannot be changed at run-time.
Of course, that doesn't mean it can't be done.
Just that you can't do it with that program.
<br>
DT
Bookmarks