Part 1 Objective
After you upload the program, the RGB LED indicator is lit up in the color detected by the IR color sensor at the bottom of Codey Rocky.
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 or web version), delete the default device, click +add, select Codey from the Device Library and then click Set as mostly used device in the upper left corner, click Connect, and select the Upload mode.
Part 3 Programming
Turn the IR color sensor at the front of Codey Rocky to be at the bottom of it. Use Control blocks and Lighting blocks, and click Upload to make the colors detected by Rocky displayed on Codey's screen through the RGB LED indicator.
Part 4 Practice
Try to make Codey Rocky identify more colors.
Please sign in to leave a comment.