Motor Driver

 

You can connect the [Motor Driver] block of mbuild to Halocode, and make more creations.

 

1. motor driver (1) outputs power (50)% for (1) secs

The specified motor driver outputs the specified power for a specified period of time.

1.png

 

Example

2.png

When the button of Halocode is pressed, motor driver 1 will output 50% power for 1 second.


2. motor driver (1) outputs power (50)%

The specified motor driver outputs the specified power.

3.png

 

Example

4.png

When the button of Halocode is pressed, motor driver 1 will output 50% power.


3. motor driver (1) increases power output by (20)%

Increases the power output of the specified motor driver by the specified percent.

5.png

 

Example

6.png

When the button of Halocode is pressed, the power output of motor driver 1 will increase by 20%.


4. motor driver (1) stops power output

The specified motor driver stops power output.

7.png

 

Example

8.png

When the button of Halocode is pressed, motor driver 1 will stop its power output.


5. all motor drivers stop power output

All motor drivers stop power output.

9.png

 

Example

0.png

When the button of Halocode is pressed, all connected motor drivers will stop power output.


6. motor driver (1) output level (%)

Reports the power output level of the specified motor driver.

01.png

 

Example

02.png

When the button of Halocode is pressed, if the power output of motor driver 1 is greater than 80%, the LED ring of Halocode will light up red.


Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.