Forums > MaxMSP

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

Nov 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.


Nov 24 2009 | 6:35 pm

It is difficult to say without seeing your patch.


Nov 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…

Nov 24 2009 | 9:57 pm

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

Nov 25 2009 | 12:34 am

Thank you, will try tomorrow :)

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

Forums > MaxMSP