multiple arduino serial communication from max
With a 'serial a 9600' object i can easily send data to arduino. Is there a way to send different serial messages to different arduino's through my two usb ports? Or sending the same messages to two arduinos?
It doesn't work by just connecting two arduino's and let max send numbers. Only one will receive them. When you would disconnect that arduino, the serial message get sends over the other usb port.
Can anybody help me with this one?
Each Arduino talks to the computer on a different serial port. So you'd need a [serial a 9600] for communicating with one Arduino, and [serial b 9600] (or whatever port your second microcontroller is on) for communicating with the second one.
Solved. Thank you!
having the same issue, non resolved though. could you maybe elaborate on the solve?