8
votes
1answer
157 views

Arduino serial communication protocol design

I make a drum sequencer interface for electronic music. It uses an arduino mega as it's microprocessor, and currently it interfaces to a Processing program that I wrote for serial communication. ...
1
vote
1answer
771 views

Is there a more robust Serial communication library for Arduino and the desktop?

Was wondering if there exists anywhere a serial communications library that can handle the following: simple compression/uncompression of the sent data to allow for higher amounts of data throughput ...
1
vote
1answer
246 views

Processing RXTX issue [closed]

I am new to Processing and attempting to write code to communicate with my Arduino - on a linux platform. When I run the following code: println(Serial.list()); ...
1
vote
1answer
2k views

How can I send multiple values from Processing to Arduino via Serial library?

I've done a basic test sending a single int value to Arduino from Processing via the Processing Serial library and all's fine. I would like to send multiple int ...
1
vote
1answer
1k views

Arduino Serial communication troubles

I'm having problems getting my communication code to work. I enter the data 1, 0, 255, 50 and then it errors (shouldn't it wait until 8 bits have been sent?) it exits with my debug message of ...
2
votes
2answers
256 views

Serial nested if statements (Not working)

I have been trying to get this to work for a few days. What i have at the moment is TouchOSC installed on my Iphone sending commands to a processing program, which in turn simplify's them and sends ...