Attempt at a multi-function button…

Oct 8, 2012 at 7:23pm

Attempt at a multi-function button…

I searched the forum looking for anything that might pertain here, but I’m not sure how to phrase this, so here goes…
I am trying to make a multi-function button on my launchpad. I’ve attached what I have come up with so far. This patch works save one issue. The first time you press one of the assigned buttons after the patch loads the counter does not increment. Am I totally on the wrong track here or am I just missing something small? Any help would be appreciated. Thanks.

– Pasted Max Patch, click to expand. –
#64679
Oct 8, 2012 at 8:11pm

counter will count over the range that it is set to count. In your case, it is 0-2, so the first count would be 0, the second count 1, and the third count 2.

If you want the first count to be 1, you can either change your range to 1-3 or set the next count to be 1 on load:

– Pasted Max Patch, click to expand. –
#233325
Oct 8, 2012 at 9:48pm

Thanks for the help Chris. I’m still trying to wrap my head around weather using the counter object is my best bet, but I now have a handle on how it works, thanks!

#233326

You must be logged in to reply to this topic.