Case 28 - Robot Rotating X°
Part 1 Objective
After you upload the program, toggle the joystick left and right to set the angle that the robot rotates, and then press button A to start the robot.
Part 2 Preparation
Assembled mBot Neo robot x 1
USB cable (Type-C) x 1
Computer with network access x 1
Assemble the robot, connect CyberPi to the computer by using the cable, open mBlock 5 (PC client or web version), connect CyberPi, and select the Upload mode.
Part 3 Programming
Add mBot2 shield, and then program with the blocks added.
Part 4 Practice
You can measure the angle with an angle ruler to see whether the angle that the robot rotates is the same as that you set.