“Colored LED”的版本间的差异

来自Microduino Wikipedia
跳转至: 导航搜索
 
第5行: 第5行:
 
==Objective==
 
==Objective==
  
This tutorial will show you the way to use Microduino colored LED.  
+
This tutorial will show you how to use Microduino color LED.  
  
 
==Equipment==
 
==Equipment==
第21行: 第21行:
  
 
You can find the code here: [https://github.com/Microduino/Microduino_Tutorials/blob/master/mCookie_sensor/MicroduinoLEDColor/MicroduinoLEDColor.ino MicroduinoLEDColor]
 
You can find the code here: [https://github.com/Microduino/Microduino_Tutorials/blob/master/mCookie_sensor/MicroduinoLEDColor/MicroduinoLEDColor.ino MicroduinoLEDColor]
Copy it to your Microduino IDE environment.
 
  
 
==Debugging==
 
==Debugging==

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