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.
Example
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.
Example
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.
Example
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.
Example
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.
Example
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.
Example
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.
Comments
Please sign in to leave a comment.