Skip to content

Commit 4295889

Browse files
committed
Add DE-9 power pin comments to shifters
Mostly because the CS pin pull-up is absolutely necessary for the 'reverse' signal to work on the Driving Force shifters.
1 parent b46ecde commit 4295889

6 files changed

Lines changed: 14 additions & 0 deletions

File tree

examples/Shifter/LogitechShifter/LogitechShifter_Joystick/LogitechShifter_Joystick.ino

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ const bool SendAnalogAxis = false;
4141
// games, but can be useful for custom controller purposes.
4242
const bool SendReverseRaw = false;
4343

44+
// Power (VCC): DE-9 pin 9
45+
// Ground (GND): DE-9 pin 6
46+
// Note: DE-9 pin 3 (CS) needs to be pulled-up to VCC!
4447
const int Pin_ShifterX = A0; // DE-9 pin 4
4548
const int Pin_ShifterY = A2; // DE-9 pin 8
4649
const int Pin_ShifterRev = 2; // DE-9 pin 2

examples/Shifter/LogitechShifter/LogitechShifter_Print/LogitechShifter_Print.ino

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@
2828

2929
#include <SimRacing.h>
3030

31+
// Power (VCC): DE-9 pin 9
32+
// Ground (GND): DE-9 pin 6
33+
// Note: DE-9 pin 3 (CS) needs to be pulled-up to VCC!
3134
const int Pin_ShifterX = A0; // DE-9 pin 4
3235
const int Pin_ShifterY = A2; // DE-9 pin 8
3336
const int Pin_ShifterRev = 2; // DE-9 pin 2

examples/Shifter/LogitechShifterG25/LogitechShifterG25_Joystick/LogitechShifterG25_Joystick.ino

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@
3131
#include <SimRacing.h>
3232
#include <Joystick.h>
3333

34+
// Power (VCC): DE-9 pin 9
35+
// Ground (GND): DE-9 pin 6
3436
const int Pin_ShifterX = A0; // DE-9 pin 4
3537
const int Pin_ShifterY = A2; // DE-9 pin 8
3638

examples/Shifter/LogitechShifterG25/LogitechShifterG25_Print/LogitechShifterG25_Print.ino

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@
2727

2828
#include <SimRacing.h>
2929

30+
// Power (VCC): DE-9 pin 9
31+
// Ground (GND): DE-9 pin 6
3032
const int Pin_ShifterX = A0; // DE-9 pin 4
3133
const int Pin_ShifterY = A2; // DE-9 pin 8
3234

examples/Shifter/LogitechShifterG27/LogitechShifterG27_Joystick/LogitechShifterG27_Joystick.ino

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@
3131
#include <SimRacing.h>
3232
#include <Joystick.h>
3333

34+
// Power (VCC): DE-9 pin 9
35+
// Ground (GND): DE-9 pin 6
3436
const int Pin_ShifterX = A0; // DE-9 pin 4
3537
const int Pin_ShifterY = A2; // DE-9 pin 8
3638

examples/Shifter/LogitechShifterG27/LogitechShifterG27_Print/LogitechShifterG27_Print.ino

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@
2727

2828
#include <SimRacing.h>
2929

30+
// Power (VCC): DE-9 pin 9
31+
// Ground (GND): DE-9 pin 6
3032
const int Pin_ShifterX = A0; // DE-9 pin 4
3133
const int Pin_ShifterY = A2; // DE-9 pin 8
3234

0 commit comments

Comments
 (0)