Counter

Hi,
I need a Counter, that counts for every 1 it recieves upward, till it reaches 4 and then begins at 1 again. If i use the standard counter, it counts 2 oder 3 steps every time i input a 1. So, I need a counter that doesn’t count continuous on a input, but rather counts only 1 step until the next 0 is recieved.

you need a TogEdge node between your input and the counter’s input. Then only one bang will be sent to the counter, and it will only count up everytime your value goes from 0 to 1

And set the Maximum pin to 4, Minimum to 1, and Mode to wrap.

TogEdge (Animation) --> still one of the most overseen nodes.