Arduino mega serial1 serial2 etc..

    Apr 25 2012 | 2:03 pm
    Arduino mega got 4 different serials, as you can see here
    if for example you set Serial1.begin and Serial2.begin, does anyone knows how to send message on each separate serial from max/msp using serial object ?

    • Apr 25 2012 | 2:38 pm
      serial ports are hardware ports. If you want to send messages to 2 serial inputs on your arduino from the same computer, then you need a USB->serial interface plugged on your computer (does PCs still have a serial port?) and connect your arduino twice: one time over USB (this is Serial1), one time to the interface. Then you need to serial objects in Max
      But this seems a very strange idea: why isn't 1 port enough to communicate between 2 devices. Or do I misunderstand something?
      (je répond à ton PM de suite ;-)
    • Apr 25 2012 | 2:44 pm
      Patrick my arduino hero!
      well as i was trying to send text to a lcd separating line 1, line 2 and controlling leds in same time, i though sending data for line 1 on serial1, line 2 to serial2 and leds on serial3 might maybe make it easier :)
    • Apr 25 2012 | 3:14 pm
      It's the arduino who should parse the data it receives on serial 1 to the other serial ports.