Code and project help needed.

I am looking to get some guidance if at all possible. Still new to the arduino language and need some guidance. I have built this project that I found online and has been working great until something went really wrong. It was my own doing and not sure what the problem is.

From this code the switches involved work from a resistor ladder.

However I would like to have each switch separate and was wondering if I could get some help.

This is the code here.
http://practicalusage.com/wp-content/uploads/2011/05/PU_1_logic_3.pde
Any help here would be massively benaficial

Thanks all

Still new to the arduino language and need some guidance.

Geez man, you picked a real whopper here. This code has more than Arduino framework code, it contains raw Atmel code (which isn't portable to the new Due, btw).

...until something went really wrong.

Need some more information here. Was it working fine, then you did something, and now it does nothing? Does it still work as was designed but not as you intended? Is it billowing clouds of smoke? (joking about that last one)

I assume you're doing a Alesis Vortex hack?

Either way, yes, by the looks of the code, they have a resistor ladder thing going which is a cheap, inexpensive way to get multiple binary inputs into one pin.

However I would like to have each switch separate and was wondering if I could get some help.

What do you mean by "separate?" Are you looking to be able to handle multiple buttons being pressed simultaneously? If so, what Arduino are you using and how many buttons are you looking to incorporate? 5? 10? 50?