2 Replies Latest reply on Jan 26, 2017 7:55 AM by BoTa_264741

    PWM_Start() turns on the LED


      I'm trying to dim an LED usinf PWM.  I have a MOSFET connected to a GPIO, which is the PWM pin.  Whenever PWM_Start() is called for the first time, the LED lights up, then goes away, as in a spike, then the dimming kicks in.  Is there any way to make PWM_Start() to not spike the LED the first time?