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?
luguangfeng2011@gmail.com