Looping 3 LEDs on 3 different pins



  • Hi,
    I'm trying to loop 3 LEDs in a way such that the 1st LED (green) will run for 45 sec, then the 2nd one (orange) for 15 sec and then the 3rd one (red) for 5 sec and then the Green one again. None of them run together.

    Thank you for your help!

    Sid


  • administrators

    Hi Sid,

    thank you for your question. Custom made solution is far beyond our "free of charge" support. However here are some function blocks which might help you achieve your goal:

    TIMER_ - Multipurpose timer
    BINS – Controlled binary sequence generator
    EDGE_ - Falling/rising edge detection in a binary signal

    If there is anything unclear, let us know.

    Regards, Tomas