3 Replies Latest reply on Apr 26, 2015 10:13 PM by userc_10748 Branched from an earlier discussion.

    Wiced Sense hardware timer example (part 2)


      Continued from this closed thread: Wiced Sense hardware timer example


      > I tested the above piece of code but that didn't work as expected.

      Could you please describe what you see?


      If you want glitch free PWM transitions, you might want to use pwm_transitionToSubstituteValues() instead of pwm_start in the timer interrupt handler. Other than that and the fact that the timer is too short, this is the right way to use the timer. Have you tried longer timer intervals?