Page 1 of 1

Tick button to blue one sample true

PostPosted: Tue Apr 26, 2022 2:58 pm
by Tepeix
Hi,

Here's a way to make the tick button fire only one sample in blue or white.

Note that there's another solution here : viewtopic.php?f=2&t=90847&p=227495#p227495

I will try to optimize with a special hop.

(Include also a little counter prototype)

Re: Tick button to blue one sample true

PostPosted: Wed Apr 27, 2022 12:20 am
by Tepeix
While meditating, another idea comes in my mind.

Now each tick make alternate a counter from 1 to 0.
The code keep a temp variable of the input and compare.

It's a little simpler and could be use more easily.

Re: Tick button to blue one sample true

PostPosted: Sat Apr 30, 2022 3:48 pm
by Tepeix
Thanks to Spogg ! We have some simplification on the counter that become a flipper !)
I did not see that in my meditation ;)