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

Nov 24, 2009 at 6:21pm

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

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

#46760
Nov 24, 2009 at 6:35pm

It is difficult to say without seeing your patch.

AB

#168219
Nov 24, 2009 at 9:04pm

Of course

– Pasted Max Patch, click to expand. –

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

#168220
Nov 24, 2009 at 9:57pm

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

#168221
Nov 25, 2009 at 12:34am

Thank you, will try tomorrow :)

#168222

You must be logged in to reply to this topic.