This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

LP5562: seamless transition from one LED pattern to a second one in response to an event

Part Number: LP5562

 I want to seamlessly transition from one looping LED pattern into another in response to an event. I’m doing this by putting the device into HOLD mode and moving the PC from loop 1 to loop 2, but I need my second pattern to start at the same PWM level that my first ended at. Is there a way to either maintain an engine’s current PWM level when switching from RUN to HOLD  mode, or preferably, to read the current PWM value outside of direct control mode? any tips on how to achieve seamless transition will help

 

Thanks!

  • You can't read the PWM out but as you are using PC so you can get the fade in or fade out effect from the PWM level you held.

    For example, the engine is running ramp down instruction and you send hold to the driver, then the LED stops at a certain level.

    You can change the PC to a line that uses ramp up instruction, and you sen run. Then the LED will ramp up from the level you stop.