Case 2 - LED Control

Case 2 - LED Control

Part 1   Objective

After you upload the program, the RGB LEDs blink and light up one by one.

7.gif
2.gif

Part 2   Preparation

  • CyberPi x 1

  • USB cable (Type-C) x 1

  • Computer with network access x 1

Connect CyberPi to the computer by using the cable, open mBlock 5 (PC client, web version, or mobile app), connect CyberPi, and select the Upload mode.

3.gif
4.gif

Part 3   Programming

  1. Blinking: When you turn on mBot Neo, the RGB LEDs are on and off alternatively.5.gif

  2. RGB LEDs lighting up in turn: When you turn on mBot Neo, the RGB LEDs light up one by one.6.gif

Part 4   Practice

  1. Try to change the color of the LEDs.

  2. Try to change the blinking frequency of the LEDs.

  3. Try to change the light-up sequence of the LEDs.

 

 

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

Comments

0 comments

Please sign in to leave a comment.