Case 1 - Control the LEDs

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 or web version), connect CyberPi, and select the Upload mode.
mr3.gif
mr4.gif

Part 3  Programming

  1. RGB LEDs blink: when you turn on mBot Ranger, the LEDs are on and off alternately.mr5.gif
    1. RGB LEDs light 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?
4 out of 5 found this helpful

Comments

0 comments

Please sign in to leave a comment.