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