Skip to content

Set LED Color

Set LED Color

Our first program will set the color of the LEDs on top of the mBot to red.

Steps

  1. Make sure your dongle is plugged into the computer
  2. Start the mBlock program on the PC
  3. Click the "Connect" menu and check that you have a green dot on the mBlock area

Sample program

Set LED Color