Here is my version of Darrels 10bit HPWM_L. Original version works with PBPW. There is comments in code, what is changed. Later Darrel publise his version on me labs forum.
Example:
Frequency must be same for all channels.Code:include "HPWM_L.pbp" DutyCycle1 VAR WORD DutyCycle2 VAR WORD Frequency VAR WORD @ HPWM10 1, _DutyCycle1, _Frequency @ HPWM10 1, _DutyCycle2, _Frequency
HPWM10_L.zip
EDIT:
Here is archive with original code and example:HPWM10.zip
I can't find S_PWM![]()
Bookmarks