From 627f777a1c518d2a5025a8342f121ea2fd4a5ca3 Mon Sep 17 00:00:00 2001 From: n-e-y-s <44730000+n-e-y-s@users.noreply.github.com> Date: Sat, 12 Dec 2020 20:28:25 +0100 Subject: [PATCH] Update G27_Pedals_and_Shifter.ino Add a note about the observations from @eriknz in https://github.com/n-e-y-s/G27_Pedals_and_Shifter/issues/8 --- .../G27_Pedals_and_Shifter.ino | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/G27_Pedals_and_Shifter/G27_Pedals_and_Shifter.ino b/G27_Pedals_and_Shifter/G27_Pedals_and_Shifter.ino index 5e1df1a..d049e87 100644 --- a/G27_Pedals_and_Shifter/G27_Pedals_and_Shifter.ino +++ b/G27_Pedals_and_Shifter/G27_Pedals_and_Shifter.ino @@ -14,7 +14,24 @@ #define GREEN_PIN 5 #define BLUE_PIN 6 -// PEDAL PINS +// PEDAL PINS - please note the comments of @eriknz in +// https://github.com/n-e-y-s/G27_Pedals_and_Shifter/issues/8 +// This is the wiring suggested by eriknz, which does not connect the pedal ground +// to +5V (pedals need to be inverted in the calibration gui): +// +//| DB9 | Original | Harness | Description | Pro Micro | +//| 1 | Black | Black | GND | GND | +//| 2 | Orange | Yellow | Throttle | pin 18 (A0) | +//| 3 | White | White | Brake | pin 19 (A1) | +//| 4 | Green | Green | Clutch | pin 20 (A2) | +//| 5 | | | | | +//| 6 | connected in pedals plug to pin 9 +//| 7 | | | | | +//| 8 | | | | | +//| 9 | Red | Red | +5V | +5V | +// +// This is the original wiring from @functionreturnfunction +// //| DB9 | Original | Harness | Description | Pro Micro | //| 1 | Black | Red | +5v | +5v | //| 2 | Orange | Yellow | Throttle | pin 18 (A0) |