I want to connect my sensonrs to an arduino leonardo.
The principal idea is use it like a scratch (like dj hero or beatmania??), if I move the scratsh up, the mouse will go up ( y Axis ), and if it go down, the y Axis down.
The middle is for gnd and the other four to 0 to 3 pin in the arduino.
So my problem is I am not sure about the conecction and also the code to run my program, beacuse all the thing that i try to do, had no work in my computer.