LESSON 02. RGB LED


Introduction

RGB LED is a kind of LED. It can emit light with three different colors: red, green and blue. In this experiment, we are trying to make RGB LED gradually shift its light among the three different colors.


What you will need

  • 1 × micro:bit SOKIT (BBC micro:bit + SOKIT Pad)

  • 1 × Micro USB cable

  • 1 × LED Module

  • 1 × Resistors Module

  • 3 × SOKIT CONNECTOR "I" 8 Cm

  • 1 × SOKIT CONNECTOR "I" 16 Cm


Hardware Connect​


Programming

You can see the whole program in the page below. Click “Edit” on the right top corner, and then “download”, you can download your code into Micro:bit.


VIDEO