Table of Contents

Enum BrushedMotorWiringValue

Namespace
CTRE.Phoenix6.Signals
Assembly
Phoenix6.Hardware.dll

If a brushed motor is selected with Motor Arrangement, this config determines which of three leads to use.

public enum BrushedMotorWiringValue
Extension Methods

Fields

Leads_A_and_B = 0

Third party brushed DC motor with two leads. Motor leads: Use terminal A for the motor red lead and terminal B for the motor black lead (motor leads may be flipped to correct for clockwise vs counterclockwise). Note that the invert configuration can still be used to invert rotor orientation. Gadgeteer Connector: quadrature [A, B] are on pins [7, 5], limit [forward, reverse] are on pins [4, 8], and pulse width position is on pin [9].

Leads_A_and_C = 1

Third party brushed DC motor with two leads. Motor leads: Use terminal A for the motor red lead and terminal C for the motor black lead (motor leads may be flipped to correct for clockwise vs counterclockwise). Note that the invert configuration can still be used to reverse rotor orientation. Gadgeteer Connector: quadrature [A, B] are on pins [7, 5], limit [forward, reverse] are on pins [4, 8], and pulse width position is on pin [9].

Leads_B_and_C = 2

Third party brushed DC motor with two leads. Motor leads: Use terminal B for the motor red lead and terminal C for the motor black lead (motor leads may be flipped to correct for clockwise vs counterclockwise). Note that the invert configuration can still be used to reverse rotor orientation. Gadgeteer Connector: quadrature [A, B] are on pins [7, 5], limit [forward, reverse] are on pins [4, 8], and pulse width position is on pin [9].