Case 17 - Turning Left and Right

Case 17 - Turning Left and Right

 

Part 1   Objective

Make Codey Rocky turn left and right.

74.gif

Part 2   Preparation

  • Assembled Codey Rocky x 1

  • USB cable x 1

  • Computer with network access x 1

Connect Codey to the computer by using the USB cable, open mBlock 5 (PC client, web version, or mobile app), delete the default device, click +add, select Codey from Device Library and then click Set as mostly used device in the upper left corner, click Connect, and select the Upload mode.

75.gif
76.gif

Part 3   Programming

Use Action blocks and click Upload to make Codey Rocky start turning left and right when you press button A and make it stop turning when you press button B.

77.gif

Part 4   Practice

  1. Try to make Codey Rocky move forward and backward, and turn left and right.

  2. Try to control the angles Codey Rocky turning left and right.

 

 

 

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.