10-09-2020 12:40 PM
Hi everyone, I'm trying to make a counter that has a boolean input. I would like the counter to work in the following way: the counter has to stop once I have 5 true samples in a row. How can I do?
I am attaching what I have tried to do in vain.
10-09-2020 01:31 PM
Hi giu,
two easy options:
10-09-2020 02:41 PM
@giu95se wrote:
I am attaching what I have tried to do in vain.
WIth each iteration the boolean needs to be true with a certain random probability. Use the dice.
The following is similar to the second suggestion above. For illustration I also added a chart. Make sure to study it in every detail.