Difference between revisions of "Pure Data"
From Digipool-Wiki
(→Download both files as Zip) |
|||
Line 34: | Line 34: | ||
== Download both files as Zip == | == Download both files as Zip == | ||
− | [[Media:PD-ArduinoSimpleSerial.zip PD-ArduinoSimpleSerial.zip]] | + | [[Media:PD-ArduinoSimpleSerial.zip|PD-ArduinoSimpleSerial.zip]] |
<br> | <br> |
Revision as of 19:03, 2 January 2025
Contents
Easy Serial Connection to Arduino
The fastest and easiest way to receive Arduino (sensor) data with PD.
Screenshot of the PD-Patch
Arduino Code
void setup() { Serial.begin(9600); } void loop() { int sensorValue = analogRead(A0); int sendValue = map(sensorValue, 0, 1024, 0, 255); Serial.write(sendValue); delay(100); }
Download both files as Zip