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

raaymaan's icon

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

Andrew Benson's icon

It is difficult to say without seeing your patch.

AB

raaymaan's icon

Of course

Max Patch
Copy patch and select New From Clipboard in Max.

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

Andrew Benson's icon

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

raaymaan's icon

Thank you, will try tomorrow :)