I am trying to make a drum kit and an oled panel would be amazing for my project. Once I got my hands on it though, I didn't know how to use it with puredata to display data. How can I do this? I am using a raspberry pi and puredata vanilla.
How to use i2c oled with puredata?
@flight453 This should give some clues...... https://github.com/oldmanfury/tt_warp and has links in the readme to tutorials.
It looks like some Python programming could be necessary.
Using an Arduino is another option. Are you using a Raspberry Pi or something similar for that?
I am using a raspberry pi. Using an arduino would be a option, but I don't have one right now.
Even if I did, how would I use it? I am making a drum kit and am using the gpio pins connected to sensors which will be triggers for the audio. How would the arduino be connected to the raspberry pi? I am guessing via midi, but will we be able to use gpio and midi at the same time???
One option would be to use en Teensy : it has a micro usb port that can be used as usbmidi and of course lots of gpio pins. It looks a bit like an arduino micro but gives more for less money and can be programmed with the same tools (arduino IDE for instance). The teensy LC ("low cost") is already far better than an arduino micro for instance.
Sure Teensy is a great solution, that's what I usually use myself. You don't need to use it as a MIDI device, raw serial will also work fine. The Raspberry though could also do the job, since it's I2C and the Pi supports this protocol.
We have no idea which OLED you're talking about and what code already exists to control it. If you provide more info we'll be able to provide more help.