writing multiple bytes to the serial port / Arduino

    Jul 28 2013 | 9:01 pm
    I'm starting to play with Arduino (to control DMX) and most of the examples just write 1 byte to the Arduino: I'd like to send messages with 2 bytes (channel, value).
    If I send it into a [serial] object as a list, the arduino doesn't see it as '2 bytes received'
    On the arduino, I"m using "Serial.available()" to report back how many bytes were received, followed by two 'Serial.read' to read the two bytes, and store them as a value
    While reading messages that were sent by the Arduino works great (using the [serial] object) I'm struggling with the sending of messages: I'm also not 100% sure if I can just send numbers, or if I need to convert to symbol, or ASCI! Any ideas anyone?

    • Aug 02 2013 | 12:03 pm
      ok so it's working now, looks like sending it in whichever format works.. not sure why I didn't get it to work first time!
      thanks for watching :-)
    • Aug 02 2013 | 12:04 pm
      btw is there a way to delete posts like this which just take up space without being helpful?