Colored LED

来自Microduino Wikipedia
Bruceliu@microduino.cc讨论 | 贡献2015年9月6日 (日) 03:14的版本
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转至: 导航搜索

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