Quick Sign In:  

Forum: VirtualDJ Technical Support

Topic: For faster Blinking LED, what am I missing?
Hi,
I'm attempting to turn my Stem_Drums button to an effects_active 1 with a fast LED blink when the effect is active or button is pressed and LED off when the effect is off. For the most part I got the button to do what I want it to do but I can't get the LED to blink faster. It blinks at the same speed no matter if I change the numbers or not.

So far this is what I have punched in...

Stem_Drums = effect_active 1 & down? :blink 400ms :nothing

LED_Stem_Drums = effect_active 1 blink 400ms

What am I missing to make the blink faster?
 

Posted Wed 11 Oct 23 @ 4:22 pm
Think you have some spaces missing:

effect_active 1 & down? : blink 400ms : nothing

I have 300ms set on the pads of my MCX8000 and it blinks pretty fast.
 

Posted Wed 11 Oct 23 @ 4:28 pm
I'm experiencing the same issue even after making the space corrections. It's a slow blink for me.
 

Posted Wed 11 Oct 23 @ 4:36 pm
I'm sure a scripting expert will be along before long.
 

Posted Wed 11 Oct 23 @ 5:09 pm
locoDogPRO InfinityModeratorMember since 2013
maybe
LED_Stem_Drums = effect_active 1 ? blink 400ms :
 

Posted Wed 11 Oct 23 @ 6:01 pm
locodog wrote :
maybe
LED_Stem_Drums = effect_active 1 ? blink 400ms :


I could have sworn I tried this script already without success. But it worked. I was missing the colon.
I didn't know how important the colon was in a script like this serving one function. Thanks as always.
 

Posted Wed 11 Oct 23 @ 6:23 pm