Coding Blocks

1. Events Blocks #

The code starts executing only one time once you press “Play”.

The code starts repeating once you press “Play”.

2. Move #

The numbers on the “Plus” sign, allow you to choose the number of steps for Qubi to Move. If not edited, by default it is one.

Forward
Backward

3. Rotate #

The numbers on the “Plus” sign, allow you to choose the number of rotations for Qubi to Move. If not edited, by default it is one.
Each one presents a 45 degrees turn.

Turn Right
Turn Left

4. Wait #

Make Qubi wait for a determined number of seconds. If the number is not chosen, it is by default 1.

5. Stop #

Stop the Motors
Stop when there is a color underneath.
Stop when there is a wall.

6. Color Identifier #

Sense the color of the Block underneath Qubi and take an action depending on whether it is Red, Green or Blue.

7. Bump Identifier #

Determine whether Qubi bumped into something or not.

8. Draw #

Make Qubi Draw while moving. You can also control the color of the Drawing Pen.

Start Drawing / Stop Drawing.

9. Light Up #

Make Qubi Turn on a Lighting Lamp. You can also control the color of the Lamp.

Turn the Lamp ON / FF.

10. Horn #

Fire a Horn sound.

11. Write to Display #

Write on Qubi’s little Display.

Powered by BetterDocs