MidiMotor2 (Revision C) Programming Table This is the programming table for the MidiMotor2 (Rev. C) module.
Command Name |
Action | Bit | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |||
Motor0_Speed_Get | Send | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | Get the speed of motor1. |
Receive | 0 | s | s | s | s | s | s | s | s | ||
Motor0_Speed_Set | Send | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | Set the speed of motor0 to {ssssssss}. |
Send | 0 | s | s | s | s | s | s | s | s | ||
Motor1_Speed_Get | Send | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | Get the speed of motor1. |
Receive | 0 | s | s | s | s | s | s | s | s | ||
Motor1_Speed_Set | Send | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | Set the speed of motor1 to {ssssssss}. |
Send | 0 | s | s | s | s | s | s | s | s | ||
Duty_Cycle_Get | Send | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | Get the duty cycle of the pulse widths 0b=32uS, 1b=64uS ... 7b=4mS. |
Receive | 0 | 0 | 0 | 0 | 0 | 0 | p | p | p | ||
Maximum_Speed_Get | Send | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | Get the maximum speed limit for both motors. |
Receive | 0 | m | m | m | m | m | m | m | m | ||
Maximum_Speed_Set | Send | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | Set the maximum speed of both motors to {mmmmmmmm}. |
Send | 0 | m | m | m | m | m | m | m | m | ||
Duty_Cycle_Set | Send | 0 | 0 | 0 | 0 | 0 | 1 | p | p | p | Set the duty cycle of the pulse widths to {ppp}. 0b=32uS, 1b=64uS ... 7b=4mS. |