Support » Orangutan X2 Command Documentation v1.01 » 3.a. Motor Commands »
3.a.02. Command 128: Independent Motor Brake (inB = inA)
Effect: Causes the specified motor to immediately brake high (inA bit = 1) or low (inA bit = 0) with the desired PWM
Values sent: motor (1 bit), inA (1 bit), PWM (8 bits)
command byte = 128 | (motor bit << 2) | (inA bit << 1) | MSB of PWM
data byte = 7 lower bits of PWM byte