Case 1 - LED Control

Case 1 - LED Control

Part 1  Objective

After you upload the program, the LEDs on Auriga blink, light up one by one, or are displayed in other ways as programmed.

mr1.gif
mr2.gif

Part 2  Preparation

  • Auriga x 1
  • USB cable x 1
  • Computer with network access x 1
Connect Auriga to the computer by using the USB cable, open mBlock 5 (PC client, web version, or mobile app), connect CyberPi, and select the Upload mode.
mr3.gif
mr4.gif

Part 3  Programming

  1. Blinking: When you turn on mBot Ranger, the LEDs are on and off alternately.mr5.gif
    1. RGB LEDs lighting up one by one: When you turn on mBot Ranger, the RGB LEDs light up one by one. After all the LEDS are on, they go off.

      mr6.gif

 

Part 4  Practice

      1. Try to change the light color of the LEDs.
      2. Try to make the LEDs light up and then go off one by one.
Was this article helpful?
2 out of 2 found this helpful

Comments

0 comments

Please sign in to leave a comment.