Skip to content

Commit e5bb1bf

Browse files
committed
Change shifter Y axis pin to A2
Matching other common adapters. There is no functional difference I know of on the 32U4 boards.
1 parent a598973 commit e5bb1bf

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/pages/devices/logitech_shifter.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Note that the DE-9 connector is often erroneously referred to as DB-9. These are
2727
| Data In (SDI) | 5 | 2 | - | White | - | - |
2828
| Ground | 6 | 8 | 1 | Black | X | GND |
2929
| Power | 7 | 1 | 5 | Red | X<sup>1</sup> | - |
30-
| Y Axis Wiper | 8 | 4 | 2 | Green | X | A1 |
30+
| Y Axis Wiper | 8 | 4 | 2 | Green | X | A2 |
3131
| Power | 9 | 1 | 5 | Red | X<sup>1</sup> | VCC<sup>2</sup> |
3232

3333
<sup>1. Both power pins are identical. Only one needs to be connected. The other can be used for a detection circuit in combination with a pull-down resistor.</sup>

examples/Shifter/ShiftJoystick/ShiftJoystick.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ const bool SendAnalogAxis = false;
4141
const bool SendReverseRaw = false;
4242

4343
const int Pin_ShifterX = A0;
44-
const int Pin_ShifterY = A1;
44+
const int Pin_ShifterY = A2;
4545
const int Pin_ShifterRev = 2;
4646

4747
SimRacing::LogitechShifter shifter(Pin_ShifterX, Pin_ShifterY, Pin_ShifterRev);

examples/Shifter/ShiftPrint/ShiftPrint.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
#include <SimRacing.h>
2929

3030
const int Pin_ShifterX = A0;
31-
const int Pin_ShifterY = A1;
31+
const int Pin_ShifterY = A2;
3232
const int Pin_ShifterRev = 2;
3333

3434
SimRacing::LogitechShifter shifter(Pin_ShifterX, Pin_ShifterY, Pin_ShifterRev);

0 commit comments

Comments
 (0)