Colored LED

From Microduino Wiki
Revision as of 03:13, 6 September 2015 by Bruceliu@microduino.cc (talk)
Jump to: navigation, search

Objective

This tutorial will show you the way to use Microduino colored LED.

Equipment


  • Other hardware equipment:
    • 1x USB cable


Program

You can find the code here: MicroduinoLEDColor Copy it to your Microduino IDE environment.

Debugging

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

MicroduinoFancyLight.png


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.

MicroduinoFancyLight2.png


Step 4: It will change colors constantly.

MicroduinoFancyLight3.png


Result

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

Video