Pages: [1]   Go Down
Author Topic: Here is a simple example of sending data from Arduino to PureData over serial  (Read 543 times)
0 Members and 1 Guest are viewing this topic.
Helsinki
Offline Offline
Newbie
*
Karma: 0
Posts: 31
A librarydude
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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:
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

« Last Edit: July 18, 2013, 03:11:57 am by mace » Logged

Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 224
Posts: 13917
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

nice
Logged

Rob Tillaart

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

Pages: [1]   Go Up
Jump to: