Skip to main content

03LightShow

Introduction:​

image-20260609155455369

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-20260609155515801

Actual Result:​

d41bd190-2b91-41ef-b1ff-b6a396544d1c