Hey guys, I’m still here!
Here is a video of what I’ve been working on – showing the touch buttons in action: https://www.youtube.com/watch?v=hTHq2mPqIF0
You can see, I’m using breadboard wires, which are pretty thin.
I made this python script to control MPC. It has some simple logic to see if you are playing anything and if there is nothing, play a predetermined playlist off spotify.
Then it is a simple call to the program in the /etc/rc.local file like this:
sudo python /path/to/file/5pad.py &
FYI: The &
allows the program to run in the background.
Also, if you are running out of GPIO pins, I created an additional file which works with the I2C gpio expander from Adafruit