# ICBricks Block Guide ## Motor ### Port ( ) runs at speed ( ) ( ) ![](IMG/B1.png) Control the selected port's servo motor to move in the specified direction and speed. ### Port ( ) runs at speed ( ) ( ) ( ) ( ) ![](IMG/B2.png) Control the selected port's servo motor to move with the specified speed, direction, and motion mode. ### Set current position of port ( ) as zero point ![](IMG/B3.png) Control the selected port's servo motor, with the current position set to the 0 point. ### Port ( ) runs at speed ( ) to ( ) degrees ![](IMG/B4.png) Control the selected port's servo motor to move in the specified speed using the servo mode. ### Stop motor at port ( ) ![](IMG/B5.png) Control the selected port's servo motor to stop moving. ### Read the angle of the servo motor on port ( ) ![](IMG/B6.png) Read the angle of the servo motor on the selected port. ## Movement ### Set the dual motor running ports to ( ) and ( ) ![](IMG/B7.png) Control the dual motor running ports to the specified ports. If the dual motor running ports are not set, the default ports are 1 and 2. ### Set the dual motors to move ( )at a speed of ( ). ![](IMG/B8.png) Control the dual servo motors of the selected port to move with the specified speed and direction. ### Set the dual motors to ( ) at a speed of ( ) with ( ) ( ). ![](IMG/B9.png) Control the dual servo motors of the selected port to move with the specified speed, direction, and motion mode. This command can only be used in download mode. ### Stop motors ![](IMG/B10.png) Set the dual motors to stop moving. In other commands, setting the speed to 0 will also stop the movement. ## Sound and Light ### Touch Color LED Sensor at port ( ) is set to ( ). ![](IMG/B11.png) Control the LED module at the specified position to display the lighting effect in the specified color. ### Position ( ) set to ( ) ![](IMG/B12.png) Control the main controller indicator light at a specified position to display a designated color effect. ## Sensor ### Distance Sensor ![](IMG/B13.png) Compare the detected value of the distance sensor at the specified port with another specified value to see if the condition is met. ![](IMG/B14.png) Detect the value of the distance sensor at the specified port. ### Sound Sensor ![](IMG/B15.png) Compare the detected value of the sound sensor at the specified port with another specified value to see if the condition is met. ![](IMG/B16.png) Detect the value of the sound sensor at the specified port. ### Encoder Sensor ![](IMG/B17.png) Whether the encoder sensor at the specified port is performing the specified movement. ![](IMG/B18.png) Whether the encoder sensor at the specified port is pressed. ### Gyroscope Sensor ![](IMG/B19.png) The tilt direction of the gyroscope sensor at the specified port. ![](IMG/B20.png) Get the tilt value of the gyroscope sensor at the specified port. ### Multifunction Gesture Sensor ![](IMG/B21.png) Whether the gesture recognition sensor at the specified port is performing the specified motion. ### Button ( ) on main controller is pressed. ![](IMG/B22.png) Whether the specified button on the main controller is pressed. ### Touch Color LED Sensor ![](IMG/B23.png) Determine whether the touch color LED module is being touched. ###