Forums > MaxMSP

Is it possible to have more than one int per trigger?

November 24, 2009 | 6:21 pm

Hi guys,

I’m sending 5 bytes of separated data to a serial port using a trigger. It works fine when I bang the messages in the appropriate order.

My problem is that the last two bytes are variables and so i send them as an integer. I am able to have one integer being sent but I have no idea how to wire up 2 separate ones as the input value just gets sent to both output values.

Thanks for reading this, looking forward to any help/comments.

raaymaan


November 24, 2009 | 6:35 pm

It is difficult to say without seeing your patch.

AB


November 24, 2009 | 9:04 pm

Of course

– Pasted Max Patch, click to expand. –

The two integers are independent variables but when one changes so does the other…


November 24, 2009 | 9:57 pm

Try pak/unpack. That should be able to solve this problem.


November 25, 2009 | 12:34 am

Thank you, will try tomorrow :)


Viewing 5 posts - 1 through 5 (of 5 total)