Hi there! First time posting and I'm new to PD and Audio programming as a whole.
I'm trying to make a rather basic sound design instrument with an Arduino (Uno) and a mpu6050 gyro/accelerometer. I'm running into some issues with trying to get the data over to PD and then unpacking it once it is there. I've looked through heaps of different tutorials and forums and made some part of a blend from each, to no avail. I'll attach screenshots of my Arduino IDE code and the PD patch so far.
Wiring is as follows: A4 to SDA, A5 to SCL, 5V to VCC, GND to GND.
I'm just trying to get the X, Y or Z values to display in the number boxes to get me started, any help would be amazing or if anybody has any similar projects to share, they would be greatly appreciated!
Kind regards,
Dan
-
Arduino Gyroscope (MPU6050) Instrument Issues
-
@TheGingerFig The last Serial.print() in your loop should be a Serial.println() so that it generates a CR/LF (that's what the [sel 10 13] is looking for). And then you need the string in that last Serial.println() to terminate with a semicolon (for [fudiparse]).
Edit: maybe you don't need the semicolon
-
@jameslo Hi James, thanks for the speedy response!
I implemented the ln and it's working, I can't thank you enough