# Motor control

This part sets a motor to be run by a microcontroller. When this part gains control, the state of two adjacent output pins are set so that if an Electric motor part is connected to the two pins it will run in the chosen direction.

Tips for use:

- Motor A corresponds to pins 0 and 1, Motor B corresponds to pins 2 and 3, etc.
- When changing the part's lower pin properties, choose the lower pin of the two that are connected to the motor.
- The Motor label option provides a quick way to switch to a pair of outputs; the pin pair can be overridden independently of the motor label by choosing a different lower pin value.

## See also:

- Microcontroller
- Using flowcharts parts