() motor () block is a stack block available in actuators extension for evive and all Arduino boards. The block free or locks the motor connected to the selected slot from evive, Arduino Uno, Mega & Nano.
Input Parameters
- Motor stopping action:
- Lock: This means that both the motor output pins will be HIGH, resulting in stopping the motor. But in this case, the motor also resists any rotational movement. This is like the brake.
- Free: This means that both the motor output pins will be LOW, resulting in stopping the motor. But in this case, the motor if free for any rotational movement. This is like the clutch.
- Motor channel:
Note: This block is available in both Upload mode and Stage mode.
Example
- This script locks and frees the motor.