AnsweredAssumed Answered

pwm-dutycylcle config problem

Question asked by 吕泓智 on Sep 15, 2017
Latest reply on Apr 16, 2018 by Kader.M

I have a problem with pwm dutycycle config.

why duty,duty1 is uint32_t but not int32_t.   as the figure below, I need to config duty to a negative value.

For  I want to input a dutycylcle (double x:0-100) , output a 4 pwm .   Problem: set y0 as (  uint ,  int  ) , doesn't work well.  is there any suggestions?Jensluguangfeng2011@gmail.comJens