hi all... I need your help
in NCalc (or even using java) I need to mantain a condition true for a specifed time
Im trying to create a led animation around an encoder where i have 4 leds, when that encoder is pressed
I managed to create the animation I wanted, but when I activate the encoder the duration of the input is too fast and does not allow the animation to end (the result is that only one of the LEDs lights up and not all 4)
of course if i Force the condition ON with the "force activation" button, the animation is correct and the 4 LEDs light up in sequence (so the animation is correct)
in the NCalc I can see that the condition is true only for an istant when I move the encoder
I need to keep this condition TRUE for at least 100ms
thank you all in advance