HPWM accept duty value from 0 to 255. in your formula when advaly is 255 then dutyy becomes 256 which is an invalid value and very likely will be seen a zero, and I think this will produce the jittering reported. Try dutyy=(advaly-128)*2
Cheers
Al.
HPWM accept duty value from 0 to 255. in your formula when advaly is 255 then dutyy becomes 256 which is an invalid value and very likely will be seen a zero, and I think this will produce the jittering reported. Try dutyy=(advaly-128)*2
Cheers
Al.
All progress began with an idea
Bookmarks