1. [ICON] RGB LED [PORT] lights up [LED_POSTION] with color [COLOR] for [TIME] secs

Servo Pack - 图1

Lights up the specified LED(s) on the RGB LED module connected to the specified port of mBot in the specified color for the specified period of time

How to Use

mBot provides four ports that can be used to connect RGB LED modules. Click the port number to select one.
This block provides five LED options. Click to select one.
Click the color and time to define the ones you want.

Alternatively, you can put a reporter block in this block, for example:
Servo Pack - 图2

Example

Servo Pack - 图3

Note: Ensure that you have connected an RGB LED module to mBot through port 1.
When you press the space key, all LEDs on the RGB LED module are lit up in blue for five seconds.


2. [ICON] RGB LED [PORT] lights up [LED_POSTION] with color [COLOR]

Servo Pack - 图4

Lights up the specified LED(s) on the RGB LED module connected to the specified port of mBot in the specified color

How to Use

mBot provides four ports that can be used to connect RGB LED modules. Click to select one.
This block provides five LED options. Click to select one.
Click the color to define the one you want.

Example

Servo Pack - 图5

Note: Ensure that you have connected an RGB LED module to mBot through port 1.
When you press the space key, all LEDs on the RGB LED module are lit up in blue.


3. [ICON] RGB LED [PORT] lights up [LED_POSTION] with color red [R] green[G] blue [B]

Servo Pack - 图6

Lights up the specified LED(s) on the RGB LED module connected to the specified port of mBot in the specified color that is the combination of the specified intensity of red, green, and blue

How to Use

mBot provides four ports that can be used to connect RGB LED modules. Click the port number to select one.
This block provides five LED options. Click to select one.
Click the color intensity values to define the ones you want.

Value range of red, green, and blue: 0–255

Example

Servo Pack - 图7

Note: Ensure that you have connected an RGB LED module to mBot through port 1.
When you press the space key, all LEDs on the RGB LED module are lit up in red.


4. [ICON] servo [PORT] [SLOT] positioned at [DEGREE]

Servo Pack - 图8

Positions the arm on the servo connected at the specified slot of the RJ adapter module connected to the specified port of mBot at the specified degrees

How to Use

mBot provides four ports that can be used to connect RJ 25 adapter modules. Click to select one.
The RJ25 adapter module provides two servo slots. Click to select one.
Click the angle to define the one you want.

Example

Servo Pack - 图9

Note: Ensure that you have connected an RJ25 adapter module to port 1 o f mBot and connected a servo to slot 1 of the RJ25 adapter module.
When you press the space key, the servo arm rotates 90 degrees.