start timer on mouse down

hey ho,

when i input the channel of the leftmousebutton to the start parameter
of the timer, it does nothing.
when i use the done channel of another timer, it works.

this confuses me, because the are both outputting 1 right?

thanks so far,
Ronny

Hey Ronny,

That is strange. Can you post a toe or tox of just this problem that you’re seeing? It seems to work for me, but without seeing how you’ve wired things up it’s hard to say what might be going wrong.

okay, it works on my side too now :astonished:

how can i use the mouse release to pulse the intialise ?
just want to restart the timer when releasing.

or how can i detect a change from 1 to 0 and outputting a pulse for that.

thanks so far,
ROnny

You can do this with either a chop execute - when the channel changes from on to off, or you can use a math CHOP to invert the values. On the range page change 0-1 to be 1-0. This will give you a 1 when the mouse button is not pressed. Does that help?

thanks mate!

Logic CHOP is another good option when doing simple on-off manipulation as well.
In addition to Invert (needed here), also provides Rising Edge, Toggle, etc.

docs.derivative.ca/index.php?title=Logic_CHOP

Cheers
Rob