ProgrammingBlock : The list of toio blocks


"R0" can be changed to "R1"-"R9". Also the input fields that are in the lower half of blocks can be changed to Variables ("R0"-"R9").
To change the input field to a Variable, double-tap the block in the Programming area to make the block editable. (An "Editable" block is larger then the normal size. )
Then tap the input field and tap "R" button that appears when you tap the input field.

toio blocks ( no Play matt needed)
toio Motor Rotates toio motors (wheels).
The values are the speed of the wheels. The 1st value is for the left wheel, 2nd value is for the right wheel.
The motor continues to move until the program ends. If you want to stop while the program is running, use this block again with values 0.
Valid values are from -115 to 115. A negative value rotates the wheel backward. But the value from -7 to 7 stops the motor.
If you want to move the motor, the value must be less than -7 or larger than 7.
toio Sound toio makes a sound. You can specify a kind of the sound or a note of the sound. You can't change the volume.
It makes the sound for around 1 second.
You can select the sound from the selection list of the block. Among the selection list, the first one makes no sound and you can use it to stop the sound while ringing. Next, from "Enter" to "Effect2" are sound effects. After that, in "Number : Note" format, the number means the octave. "4 : A" is 440Hz.
If you want to continue to make the sound, run this block again and again. If you run this block with the different sound while ringing, it changes the sound immediately.
toio Lamp It lights the lamp of toio with a selected color. The lamp continues to be lighted until the program stops. If you want to make it off while running the program, run this block with "Off". You can't control the brightness.
toio Button If the Button of toio is pressed, it sets 1 to the variable R0. If not, it sets 0 to the variable R0.
It is the current status of the button.
toio Play matt blocks
To use these Play matt blocks, you need a Play matt which is a sheet of paper with special obscure pattern printed on it.
To use Play matt blocks, please select which Play matt you are going to use in the Toio settings of the Main menu.
toio Position block It moves toio to the specified position. The coordinates of the play matt can be seen in the Toio settings window.
toio Move Forward block It moves toio forward toward the current direction of toio.
toio Rotate block Rotates toio from the current direction of toio. You can select which direction to rotate. "Right" means clockwise and "Left" means counter clockwise.
toio Set Angle block Sets the angle of toio. The angle is an absolute angle of toio on the matt. Setting 0 rotates toio to face the top of the matt. 90 is to the right. 180 is to the bottom. 270 is to the left.
toio Get Coordinates block Gets current coordinates of toio, and set the X coordinate to the variable R0, and the Y coordinate to R1.



Back to Control toio