Skip to content

Commit fcf1d59

Browse files
committed
Add shield pin versions of objects to examples
Commented out by default
1 parent e3fe242 commit fcf1d59

4 files changed

Lines changed: 4 additions & 0 deletions

File tree

examples/Pedals/PedalsJoystick/PedalsJoystick.ino

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ const int Pin_Brake = A1;
3636
const int Pin_Clutch = A0;
3737

3838
SimRacing::LogitechPedals pedals(Pin_Gas, Pin_Brake, Pin_Clutch);
39+
//SimRacing::LogitechPedals pedals(PEDAL_SHIELD_V1_PINS);
3940

4041
Joystick_ Joystick(
4142
JOYSTICK_DEFAULT_REPORT_ID, // default report (no additional pages)

examples/Pedals/PedalsPrint/PedalsPrint.ino

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ const int Pin_Brake = A1;
3232
const int Pin_Clutch = A0;
3333

3434
SimRacing::LogitechPedals pedals(Pin_Gas, Pin_Brake, Pin_Clutch);
35+
//SimRacing::LogitechPedals pedals(PEDAL_SHIELD_V1_PINS);
3536

3637

3738
void setup() {

examples/Shifter/ShiftJoystick/ShiftJoystick.ino

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ const int Pin_ShifterY = A2;
4545
const int Pin_ShifterRev = 2;
4646

4747
SimRacing::LogitechShifter shifter(Pin_ShifterX, Pin_ShifterY, Pin_ShifterRev);
48+
//SimRacing::LogitechShifter shifter(SHIFTER_SHIELD_V1_PINS);
4849

4950
const int Gears[] = { 1, 2, 3, 4, 5, 6, -1 };
5051
const int NumGears = sizeof(Gears) / sizeof(Gears[0]);

examples/Shifter/ShiftPrint/ShiftPrint.ino

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ const int Pin_ShifterY = A2;
3232
const int Pin_ShifterRev = 2;
3333

3434
SimRacing::LogitechShifter shifter(Pin_ShifterX, Pin_ShifterY, Pin_ShifterRev);
35+
//SimRacing::LogitechShifter shifter(SHIFTER_SHIELD_V1_PINS);
3536

3637
const unsigned long PrintSpeed = 1500; // ms
3738
unsigned long lastPrint = 0;

0 commit comments

Comments
 (0)