Skip to main content

03LightShow

Introduction:

image.png

TabbyBot has a total of 4 programmable LEDs (numbered 1 and 14). LED number 14 is an RGB LED capable of displaying different colors.

Objectives:

  1. When button A on the Microbit is pressed, the headlights of the car will flash three times.
  2. When button B on the Microbit is pressed, the RGB at the bottom of the car will flash and then turn off.

Code:

You can find the program code here.

image.png

Actual Result:

image.png