Go Down

Topic: Here is a simple example of sending data from Arduino to PureData over serial (Read 596 times) previous topic - next topic

mace

Hi everyone, some time ago i made a simple exercise in sending data from an Arduino to PureData over serial, and i would like to share a video of it. The Arduino code is simply a 16-step step sequencer, like so:

Code: [Select]
int i = 0;

void setup() {
 Serial.begin(9600);
}

void loop() {
 step = i % 16;
 Serial.write(step);
 i++;
 delay(200);
}


And you can see my PureData patch in the video. It uses the comport object to communicate with the Arduino, and the hslider object is limited to values between 0 and 15. You can find the video here on YouTube

http://www.youtube.com/watch?v=mdjD_Vm0tFA

robtillaart

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy