On off problem

I am going crazy for surely resolving a simple problem.
I need a patch that when to an input the value 1 arrive
in output also gives me the value 1 when the entry returns to 0.
when the same input returns to 1 the second time the output it has to return to zero.
restarting all from the beginning.
how can I resolve?
I attach the patch from where the input arrives.

trautner msaschera.v4p (12.5 kB)

TogEdge -> Toggle ?

thanks thousand,
it perfectly works.