Skip to content

jonkpirateboy/Romance-machine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

Romance machine

Code and build instructions for Romance machine

Install Raspbian on a Raspberry Pi

Buy a button and jumper wires

Connect two wires to pins 5 and 23, and to your button

Open console and enter

pip install pygame

Download the script and put it in your home folder, /home/pi/

You'll need to change the list of songs to songs that you have on your Pi.

Open console and enter

sudo nano /etc/rc.local

In /etc/rc.local you enter

python /home/pi/romance.py

before exit 0, that will make the script run on startup

Restart your Pi and press the button.