Colored LED

来自Microduino Wikipedia
跳转至: 导航搜索

Objective

This tutorial will show you how to use Microduino color LED.

Equipment


  • Other hardware equipment:
    • 1x USB cable


Program

You can find the code here: MicroduinoLEDColor

Debugging

Step 1: Insert LED light into D6 pin of Microduino-SensorHub.


Step 2: Connect the Microduino-CoreUSB to your PC with the USB cable and upload the code.


Step 3: The LED light will go on after powering on.


Step 4: It will change colors constantly.


Result

You can control the color of the LED light by editing the code.

Video