Difference between revisions of "Itty Bitty Buggy: Motors Tutorial (mDesigner)"
(Created page with "=Motors= '''Motor''' blocks are blocks which controls the motors on Buggy Base directly. This gives the user the ability to fine tune the behavior of the motors. The motors ar...") |
(→Block: Set Speed) |
||
Line 22: | Line 22: | ||
::*-127 being half speed backward | ::*-127 being half speed backward | ||
|} | |} | ||
+ | |||
+ | ==Example 1: Turn Motor "A" on to full speed== | ||
+ | {| class="wikitable" style="background-color:#FEF9E7;" | ||
+ | |'''Note:''' this example is can be performed in '''online''' or '''offline mode'''.<br> | ||
+ | If you plan to use '''online''' mode and previously used '''offline''' mode, [[Itty_Bitty_Buggy:_Getting_Started_(mDesigner)#Connecting_to_Itty_Bitty_Buggy_to_mDesigner_.28Online_mode.29|'''please follow the instructions to reset back to "online mode"'''.]] | ||
+ | |} | ||
+ | |||
+ | {| | ||
+ | |||
+ | |style="vertical-align:top;"| | ||
+ | {| class="wikitable" | ||
+ | |+Blocks Used | ||
+ | !Block Category | ||
+ | !Blocks | ||
+ | |- | ||
+ | |bgcolor=FEC254|Events | ||
+ | |[[File:MDesigner_When_Click_Green_Flag_block_new.png|x50px]] [[File:Info_icon.png|24px|link=block_reference]] | ||
+ | |- | ||
+ | |Buggy [[File:IBB_Buggy_icon.png|x30px]] | ||
+ | |[[File:IBB_mDesigner_ColorLED_Set_Color_NoLabelsa.png|x50px|link=Buggy_Base_(use_with_mDesigner)#ColorLED_-_Set_Color]] [[File:Info_icon.png|24px|link=Buggy_Base_(use_with_mDesigner)#ColorLED_-_Set_Color]] | ||
+ | |} | ||
+ | |||
+ | |style="vertical-align:top;"| | ||
+ | {| class="wikitable" | ||
+ | |+Example | ||
+ | |- | ||
+ | |style="padding:50px;"| | ||
+ | [[File:IBB_mDesigner_Motor_Example1.png]] | ||
+ | |} | ||
+ | |||
+ | |} | ||
+ | |||
+ | '''Description:''' [[how to activate blocks|When activated]], Motor "A" will turn on at full speed (255). | ||
==Block: Stop== | ==Block: Stop== |
Revision as of 19:10, 30 October 2018
Contents
Motors
Motor blocks are blocks which controls the motors on Buggy Base directly. This gives the user the ability to fine tune the behavior of the motors. The motors are referenced as Motor "A" or "B" depending on the side it resides. These blocks can set the movement direction of the motors (Motor - Set Speed block) or brake / stop the motors (Motor - Stop block).
Block: Set Speed
The motors speed and direction can be controlled with the Motor - Set Speed block.
Function: This block sets the speed of the selected motor.
|
Example 1: Turn Motor "A" on to full speed
Note: this example is can be performed in online or offline mode. If you plan to use online mode and previously used offline mode, please follow the instructions to reset back to "online mode". |
|
|
Description: When activated, Motor "A" will turn on at full speed (255).
Block: Stop
The motors can be stopped with the Motor - Stop block.
Function: This block stops the selected motor.
|