exit status 1 Error compiling for board Arduino/Genuino Uno.

Interesting sounding project but it is not very likely that you'll just find exactly the right code for your choice of components. You're going to have to do some work.

So to help we really need to see the code that you are trying to compile. There is not much point us just trying to guess what you have.

Steve