AnsweredAssumed Answered

PWM SetRatio

Question asked by David Grimes on Mar 5, 2015
Latest reply on Mar 16, 2015 by David Grimes

Hi all,


Ok, so I have been using the PWM bean in CW10.6 for a QD4 micro and SetRatio16 to create a hopefully accurate PWM signal. Recently we found the bean performs a right shift (ActualRatio.Value >> 8) internal to the generated code so the PWM resolution is only 8-bits instead. Can the QD4 be set to output at higher than 8-bit PWM duty cycle? Is this a limitation of the bean I chose or is there something else that prevents this?