<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-CN">
		<id>http:///https//wiki.microduino.cn/index.php?action=history&amp;feed=atom&amp;title=Bluetooth_Lamp</id>
		<title>Bluetooth Lamp - 版本历史</title>
		<link rel="self" type="application/atom+xml" href="http:///https//wiki.microduino.cn/index.php?action=history&amp;feed=atom&amp;title=Bluetooth_Lamp"/>
		<link rel="alternate" type="text/html" href="https//wiki.microduino.cn/index.php?title=Bluetooth_Lamp&amp;action=history"/>
		<updated>2026-04-21T07:58:28Z</updated>
		<subtitle>本wiki的该页面的版本历史</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https//wiki.microduino.cn/index.php?title=Bluetooth_Lamp&amp;diff=9203&amp;oldid=prev</id>
		<title>1304410487@qq.com：/* Purpose */</title>
		<link rel="alternate" type="text/html" href="https//wiki.microduino.cn/index.php?title=Bluetooth_Lamp&amp;diff=9203&amp;oldid=prev"/>
				<updated>2015-08-12T08:57:58Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Purpose&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;zh-CN&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;←上一版本&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;2015年8月12日 (三) 08:57的版本&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l4&quot; &gt;第4行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第4行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Purpose==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Purpose==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Use &lt;/del&gt;a phone and Microduino-BT &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;to communicate with Microduino-CoreUSB &lt;/del&gt;to control the color of a lamp.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Using &lt;/ins&gt;a phone and Microduino-BT to control the color of a lamp &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;by communicating with Microduino-CoreUSB&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Principle== &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Principle== &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>1304410487@qq.com</name></author>	</entry>

	<entry>
		<id>https//wiki.microduino.cn/index.php?title=Bluetooth_Lamp&amp;diff=9202&amp;oldid=prev</id>
		<title>1304410487@qq.com：/* Purpose */</title>
		<link rel="alternate" type="text/html" href="https//wiki.microduino.cn/index.php?title=Bluetooth_Lamp&amp;diff=9202&amp;oldid=prev"/>
				<updated>2015-08-12T08:54:05Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Purpose&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;zh-CN&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;←上一版本&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;2015年8月12日 (三) 08:54的版本&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l4&quot; &gt;第4行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第4行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Purpose==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Purpose==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Use &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Android &lt;/del&gt;phone and Microduino-BT to communicate with Microduino-CoreUSB to control the color of a lamp. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt; &lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Use &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;a &lt;/ins&gt;phone and Microduino-BT to communicate with Microduino-CoreUSB to control the color of a lamp.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Principle== &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Principle== &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>1304410487@qq.com</name></author>	</entry>

	<entry>
		<id>https//wiki.microduino.cn/index.php?title=Bluetooth_Lamp&amp;diff=9165&amp;oldid=prev</id>
		<title>1304410487@qq.com：Created page with &quot;{{Language| Bluetooth Lamp}} {| style=&quot;width: 800px;&quot; |- | ==Purpose== Use Android phone and Microduino-BT to communicate with Microduino-CoreUSB to control the color of a lam...&quot;</title>
		<link rel="alternate" type="text/html" href="https//wiki.microduino.cn/index.php?title=Bluetooth_Lamp&amp;diff=9165&amp;oldid=prev"/>
				<updated>2015-08-10T08:09:28Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Language| Bluetooth Lamp}} {| style=&amp;quot;width: 800px;&amp;quot; |- | ==Purpose== Use Android phone and Microduino-BT to communicate with Microduino-CoreUSB to control the color of a lam...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Language| Bluetooth Lamp}}&lt;br /&gt;
{| style=&amp;quot;width: 800px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
==Purpose==&lt;br /&gt;
Use Android phone and Microduino-BT to communicate with Microduino-CoreUSB to control the color of a lamp.  &lt;br /&gt;
&lt;br /&gt;
==Principle== &lt;br /&gt;
&lt;br /&gt;
==Equipment==&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Module||Number||Function&lt;br /&gt;
|-&lt;br /&gt;
|[[Microduino-CoreUSB]]||1||Core board &lt;br /&gt;
|-&lt;br /&gt;
|[[Microduino-Sensorhub]]||1||Sensor pinboard &lt;br /&gt;
|-&lt;br /&gt;
|[[Microduino-BT]]||1||Bluetooth module &lt;br /&gt;
|-&lt;br /&gt;
| [[Microduino-Lantern]]||1||colored light&lt;br /&gt;
|-&lt;br /&gt;
| [[Microduino-BM]]||1||Battery management &lt;br /&gt;
|}&lt;br /&gt;
 [[File:ble_lamp.jpg|600px|center|thumb]]&lt;br /&gt;
&lt;br /&gt;
==Document==&lt;br /&gt;
Android Client: &lt;br /&gt;
Caution: The new BT 4.0 version can only be supported by Android 4.3 and higher. Here we offer Android App. &lt;br /&gt;
&lt;br /&gt;
APP download：'''[[File:Microduino-LAMP-APP.zip]]''&lt;br /&gt;
&lt;br /&gt;
==Hardware Buildup==&lt;br /&gt;
*Setup 1：Stack CoreUSB, BT and Sensorhub. &lt;br /&gt;
[[File:CoreUSB_Ble_Sensorhub.jpg|600px|center|thumb]]&lt;br /&gt;
*Setup 2：Connect the lantern to the A0 pin of Sensorhub. &lt;br /&gt;
[[file:Microduino-sensorhub_rule.JPG|thumb|800px|center]]&lt;br /&gt;
[[File:mic_colorled_ble.jpg|600px|center|thumb]]&lt;br /&gt;
&lt;br /&gt;
==Software Debugging==&lt;br /&gt;
*Setup 1：Build IDE, connect CoreUSB to your PC and download program code. &lt;br /&gt;
[https://github.com/Microduino/Microduino_Tutorials/blob/master/MCookie_Tutorial/ble_color_led/ble_color_led.ino ble_color_led]&lt;br /&gt;
*Setup 2：Download Android Client, decompress, install and open it. Make sure that is operated with Bluetooth open.  &lt;br /&gt;
[[File:Microduino_BT_Serial_1.png||300px|center|thumb]]&lt;br /&gt;
*Setup 3：Click SCAN on top right, name it Microduino and click connection. &lt;br /&gt;
[[File:Microduino_BT_Serial_2.png||300px|center|thumb]]&lt;br /&gt;
*Setup 4：It appears Serial Present on top right during initializing and then turn to Serial Ready, meaning normal communication. &lt;br /&gt;
[[File:Microduino_BT_Serial_3.png||300px|center|thumb]]&lt;br /&gt;
&lt;br /&gt;
*APP description:&lt;br /&gt;
**If you have multiple colored lights, you can switch to Multi Colore mode. The maximum is six. &lt;br /&gt;
**Control the brightness through the circular ring. &lt;br /&gt;
**Switch to turn on or off through the bottom button. &lt;br /&gt;
[[File:Microduino_BT_Serial_5.png||300px|center|thumb]]&lt;br /&gt;
&lt;br /&gt;
*Code description: One part for receiving Bluetooth information and the other for controlling color combination of the light via analog value.&lt;br /&gt;
**Reading Bluetooth information&lt;br /&gt;
The use of BT serial port is baseed on the selection of serial jumper on the board. The default serial port is 0：Serial.&lt;br /&gt;
&amp;lt;source lang=&amp;quot;cpp&amp;quot;&amp;gt;&lt;br /&gt;
#define my_Serial Serial&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;cpp&amp;quot;&amp;gt;&lt;br /&gt;
void ble()&lt;br /&gt;
{&lt;br /&gt;
  while (my_Serial.available())&lt;br /&gt;
  {&lt;br /&gt;
    char c = my_Serial.read();&lt;br /&gt;
    delay(2);&lt;br /&gt;
&lt;br /&gt;
    if (c == 'C')&lt;br /&gt;
      buffer_sta = true;&lt;br /&gt;
    if (c == '\n')&lt;br /&gt;
    {&lt;br /&gt;
      color_en = true;&lt;br /&gt;
      safe_ms = millis();&lt;br /&gt;
    }&lt;br /&gt;
    if (buffer_sta)&lt;br /&gt;
    {&lt;br /&gt;
      buffer[buffer_num] = c;&lt;br /&gt;
      buffer_num++;&lt;br /&gt;
    }&lt;br /&gt;
    //  Serial.println(c);&lt;br /&gt;
    //Serial.println(color_en);&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
  if (buffer_sta)&lt;br /&gt;
  {&lt;br /&gt;
    buffer_sta = false;&lt;br /&gt;
&lt;br /&gt;
    sscanf((char *)strstr((char *)buffer, &amp;quot;C:&amp;quot;), &amp;quot;C:%d,%d,%d,%d&amp;quot;, &amp;amp;sta[0], &amp;amp;sta[1], &amp;amp;sta[2], &amp;amp;sta[3]);&lt;br /&gt;
&lt;br /&gt;
    for (int a = 0; a &amp;lt; buffer_num; a++)&lt;br /&gt;
      buffer[a] = NULL;&lt;br /&gt;
    buffer_num = 0;&lt;br /&gt;
&lt;br /&gt;
    for (int i = 0; i &amp;lt; 4; i++)&lt;br /&gt;
    {&lt;br /&gt;
      Serial.print(sta[i]);&lt;br /&gt;
      Serial.print(&amp;quot;,&amp;quot;);&lt;br /&gt;
    }&lt;br /&gt;
    Serial.println(&amp;quot; &amp;quot;);&lt;br /&gt;
&lt;br /&gt;
    if (-1 == sta[3]) {&lt;br /&gt;
      colorSet(strip.Color(sta[0], sta[1], sta[2]));&lt;br /&gt;
    }&lt;br /&gt;
    else if ((0 &amp;lt;= sta[3]) &amp;amp;&amp;amp; (sta[3] &amp;lt; PIXEL_COUNT)) {&lt;br /&gt;
      colorSet(strip.Color(sta[0], sta[1], sta[2]), sta[3]);&lt;br /&gt;
    }&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
  if (millis() - safe_ms &amp;gt; 3000)&lt;br /&gt;
  {&lt;br /&gt;
    safe_ms = millis();&lt;br /&gt;
    color_en = false;&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
**Color change of the light. &lt;br /&gt;
When there is Bluetooth connection, the color is: &lt;br /&gt;
&amp;lt;source lang=&amp;quot;cpp&amp;quot;&amp;gt;&lt;br /&gt;
     if (-1 == sta[3]) {&lt;br /&gt;
      colorSet(strip.Color(sta[0], sta[1], sta[2]));&lt;br /&gt;
    }&lt;br /&gt;
    else if ((0 &amp;lt;= sta[3]) &amp;amp;&amp;amp; (sta[3] &amp;lt; PIXEL_COUNT)) {&lt;br /&gt;
      colorSet(strip.Color(sta[0], sta[1], sta[2]), sta[3]);&lt;br /&gt;
    }&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Otherwise, it will control color automatically. &lt;br /&gt;
&amp;lt;source lang=&amp;quot;cpp&amp;quot;&amp;gt;&lt;br /&gt;
  if (!color_en)&lt;br /&gt;
  {&lt;br /&gt;
    rainbowCycle(10, 255, 0, 0, 0);&lt;br /&gt;
    rainbowCycle(10, 255, 0, 0, 1);&lt;br /&gt;
&lt;br /&gt;
    rainbowCycle(10, 0, 255, 0, 0);&lt;br /&gt;
    rainbowCycle(10, 0, 255, 0, 1);&lt;br /&gt;
&lt;br /&gt;
    rainbowCycle(10, 0, 0, 255, 0);&lt;br /&gt;
    rainbowCycle(10, 0, 0, 255, 1);&lt;br /&gt;
&lt;br /&gt;
    rainbowCycle(10, 255, 0, 225, 0);&lt;br /&gt;
    rainbowCycle(10, 255, 0, 225, 1);&lt;br /&gt;
&lt;br /&gt;
    rainbowCycle(10, 247, 139, 5, 0);&lt;br /&gt;
    rainbowCycle(10, 247, 139, 5, 1);&lt;br /&gt;
&lt;br /&gt;
    rainbowCycle(10, 255, 255, 0, 0);&lt;br /&gt;
    rainbowCycle(10, 255, 255, 0, 1);&lt;br /&gt;
&lt;br /&gt;
    rainbowCycle(10, 0, 255, 255, 0);&lt;br /&gt;
    rainbowCycle(10, 0, 255, 255, 1);&lt;br /&gt;
&lt;br /&gt;
    for (int i = 0; i &amp;lt; 3; i++)&lt;br /&gt;
      rainbow(30);&lt;br /&gt;
  }&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Result==&lt;br /&gt;
By Microduino, you can control colored lights through your phone and get any color you want. (You can build a beautiful frame with LEGO. )&lt;br /&gt;
&lt;br /&gt;
==Video==&lt;br /&gt;
&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>1304410487@qq.com</name></author>	</entry>

	</feed>