If you use something other the pin A2 for the Analog input, you need to change more then only line 77.
You also need to change line 95 to the correct pin.
I used A0 and A5 as pins, So I need to change Line77 to A5 and line 95 to 5
|
int y=analogRead(2); // Y axis |
If you use something other the pin A2 for the Analog input, you need to change more then only line 77.
You also need to change line 95 to the correct pin.
I used
A0andA5as pins, So I need to change Line77 toA5and line 95 to5LOGITECH_USB_ADAPTER/Logitech_Shifter_USB.ino
Line 95 in fbfec5a