Skip to content

KristobalJunta/floppymusic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

floppymusic

This repo contains melodies, written in C++, to be played using Raspberry Pi and floppy disk drive. This was made using XtraPerianer's guide. I also edited that instruction and added it to repository here

To assemble this you need:

  • Raspberry Pi
  • floppy disk drive
  • power source; it's perfect if you have one from an old PC, it should be 5V
  • wires to connect everything, e.g. the power source and the battery
  • jumper wires or jumpers

Also you need to install wiringPi lib in order to run the code.

Compile and run

First check if you have c++ compiler on you Raspberry, and install it if you don't:

sudo apt-get install g++

Then go to directory with your code (You can get an example here):

g++ music.cpp -o music -lwiringPi

You should now be able to run the Programm by simply typing:

./music

Guides on the Internet

And original code source:

About

Code for playing music with Raspberry Pi and floppy disk drive

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages