8chan
This commit is contained in:
parent
e572a63bc8
commit
4b8427bda3
|
@ -55,6 +55,14 @@ static void setupEtb() {
|
|||
// Unused
|
||||
engineConfiguration->etbIo[0].directionPin2 = Gpio::Unassigned;
|
||||
|
||||
// PWM pin
|
||||
engineConfiguration->etbIo[1].controlPin = H144_GP4;
|
||||
// DIR pin
|
||||
engineConfiguration->etbIo[1].directionPin1 = H144_GP3;
|
||||
// Disable pin
|
||||
engineConfiguration->etbIo[1].disablePin = Gpio::Unassigned;
|
||||
// Unused
|
||||
engineConfiguration->etbIo[0].directionPin2 = Gpio::Unassigned;
|
||||
// we only have pwm/dir, no dira/dirb
|
||||
engineConfiguration->etb_use_two_wires = false;
|
||||
}
|
||||
|
|
|
@ -149,9 +149,28 @@ pins:
|
|||
color: black
|
||||
type: gnd
|
||||
|
||||
- pin: 26C
|
||||
function: DC1 positive
|
||||
type: etb
|
||||
color: purple
|
||||
|
||||
- pin: 27C
|
||||
function: DC1 negative
|
||||
type: etb
|
||||
color: purple
|
||||
|
||||
- pin: 32A
|
||||
function: +5v sensors
|
||||
|
||||
- pin: 33C
|
||||
# H144_IN_AUX3
|
||||
id: EFI_ADC_15
|
||||
class: analog_inputs
|
||||
function: Analog 3
|
||||
ts_name: 33C - AN3
|
||||
color: orange
|
||||
|
||||
|
||||
- pin: 34A
|
||||
function: Power GND
|
||||
type: gnd
|
||||
|
|
|
@ -8,6 +8,30 @@ pins:
|
|||
color: black
|
||||
type: gnd
|
||||
|
||||
- pin: 8D
|
||||
# H144_IN_AUX3 + 16 = 15 + 16
|
||||
id: EFI_ADC_31
|
||||
class: analog_inputs
|
||||
function: Analog 4
|
||||
ts_name: 8D - AN4
|
||||
color: orange
|
||||
|
||||
- pin: 9D
|
||||
# H144_IN_AUX4
|
||||
id: EFI_ADC_7
|
||||
class: analog_inputs
|
||||
function: Analog 5
|
||||
ts_name: 9D - AN5
|
||||
color: orange
|
||||
|
||||
- pin: 10D
|
||||
# H144_IN_AUX4 + 16 = 7 + 16
|
||||
id: EFI_ADC_23
|
||||
class: analog_inputs
|
||||
function: Analog 6
|
||||
ts_name: 10D - AN6
|
||||
color: orange
|
||||
|
||||
- pin: 22D
|
||||
function: CAN2 bus high (CANH)
|
||||
type: can
|
||||
|
|
Loading…
Reference in New Issue