<div><br></div><div><br></div><div><br></div><img onLoad='miniSelfResize(contents_979,this); if(this.parentNode.tagName=="A"){this.onclick = "";}' src="/shop/lib/meditor/../../data/editor/1412046912.PNG"><div><br></div><div>ÀúÈñ°¡ ÀÌ Á¦Ç°À» ±¸ÀÔÇÏ¿´½À´Ï´Ù. ±×¸®°í ³×À̹ö ºí·Î±×¿¡ rgb ÇÉÀÌ ´Þ¸° diode°¡ Àֱ淡 ¶È°°ÀÌ ½ºÄÉÄ¡ÇÏ¿© ½ÇÇèÇغ¸¾Ò´Âµ¥¿ä </div><div><br></div><div>ÇØ´ç Äڵ尡 </div><div><br></div><div><br></div><div><div style="font-family: NanumGothic, Dotum; font-size: 10pt; list-style: none; margin: 0px; padding: 0px; color: rgb(51, 51, 51); line-height: 18.6666660308838px; text-align: justify;"><font color="#ff6c00">int</font> redPin = 11;</div><div style="font-family: NanumGothic, Dotum; font-size: 10pt; list-style: none; margin: 0px; padding: 0px; color: rgb(51, 51, 51); line-height: 18.6666660308838px; text-align: justify;"><font color="#ff6c00">int</font> greenPin = 10;</div><div style="font-family: NanumGothic, Dotum; font-size: 10pt; list-style: none; margin: 0px; padding: 0px; color: rgb(51, 51, 51); line-height: 18.6666660308838px; text-align: justify;"><font color="#ff6c00">int</font> bluePin = 9;</div><div style="font-family: NanumGothic, Dotum; font-size: 10pt; list-style: none; margin: 0px; padding: 0px; color: rgb(51, 51, 51); line-height: 18.6666660308838px; text-align: justify;"> </div><div style="font-family: NanumGothic, Dotum; font-size: 10pt; list-style: none; margin: 0px; padding: 0px; color: rgb(51, 51, 51); line-height: 18.6666660308838px; text-align: justify;"><font color="#ff6c00">void <b>setup</b></font>()</div><div style="font-family: NanumGothic, Dotum; font-size: 10pt; list-style: none; margin: 0px; padding: 0px; color: rgb(51, 51, 51); line-height: 18.6666660308838px; text-align: justify;">{</div><div style="font-family: NanumGothic, Dotum; font-size: 10pt; list-style: none; margin: 0px; padding: 0px; color: rgb(51, 51, 51); line-height: 18.6666660308838px; text-align: justify;"><font color="#ff6c00"> pinMode</font>(redPin, <font color="#0075c8">OUTPUT</font>);</div><div style="font-family: NanumGothic, Dotum; font-size: 10pt; list-style: none; margin: 0px; padding: 0px; color: rgb(51, 51, 51); line-height: 18.6666660308838px; text-align: justify;"> <font color="#ff6c00">pinMode</font>(greenPin, <font color="#0075c8">OUTPUT</font>);</div><div style="font-family: NanumGothic, Dotum; font-size: 10pt; list-style: none; margin: 0px; padding: 0px; color: rgb(51, 51, 51); line-height: 18.6666660308838px; text-align: justify;"> <font color="#ff6c00">pinMode</font>(bluePin, <font color="#0075c8">OUTPUT</font>); </div><div style="font-family: NanumGothic, Dotum; font-size: 10pt; list-style: none; margin: 0px; padding: 0px; color: rgb(51, 51, 51); line-height: 18.6666660308838px; text-align: justify;">}</div><div style="font-family: NanumGothic, Dotum; font-size: 10pt; list-style: none; margin: 0px; padding: 0px; color: rgb(51, 51, 51); line-height: 18.6666660308838px; text-align: justify;"> </div><div style="font-family: NanumGothic, Dotum; font-size: 10pt; list-style: none; margin: 0px; padding: 0px; color: rgb(51, 51, 51); line-height: 18.6666660308838px; text-align: justify;"><font color="#ff6c00">void <b>loop</b></font>()</div><div style="font-family: NanumGothic, Dotum; font-size: 10pt; list-style: none; margin: 0px; padding: 0px; color: rgb(51, 51, 51); line-height: 18.6666660308838px; text-align: justify;">{</div><div style="font-family: NanumGothic, Dotum; font-size: 10pt; list-style: none; margin: 0px; padding: 0px; color: rgb(51, 51, 51); line-height: 18.6666660308838px; text-align: justify;"> setColor(255, 0, 0); <font color="#7d7d7d">// red</font></div><div style="font-family: NanumGothic, Dotum; font-size: 10pt; list-style: none; margin: 0px; padding: 0px; color: rgb(51, 51, 51); line-height: 18.6666660308838px; text-align: justify;"> <font color="#ff6c00">delay</font>(1000);</div><div style="font-family: NanumGothic, Dotum; font-size: 10pt; list-style: none; margin: 0px; padding: 0px; color: rgb(51, 51, 51); line-height: 18.6666660308838px; text-align: justify;"> setColor(0, 0, 255); <font color="#7d7d7d">// blue</font></div><div style="font-family: NanumGothic, Dotum; font-size: 10pt; list-style: none; margin: 0px; padding: 0px; color: rgb(51, 51, 51); line-height: 18.6666660308838px; text-align: justify;"> <font color="#ff6c00">delay</font>(1000);</div><div style="font-family: NanumGothic, Dotum; font-size: 10pt; list-style: none; margin: 0px; padding: 0px; color: rgb(51, 51, 51); line-height: 18.6666660308838px; text-align: justify;"> <span style="font-size: 10pt; line-height: 1.5;">setColor(80, 0, 80);</span><span style="font-size: 10pt; line-height: 1.5;"> </span><font color="#7d7d7d" style="font-size: 10pt; line-height: 1.5;">// purple</font></div><div style="font-family: NanumGothic, Dotum; font-size: 10pt; list-style: none; margin: 0px; padding: 0px; color: rgb(51, 51, 51); line-height: 18.6666660308838px; text-align: justify;"> <font color="#ff6c00">delay</font>(1000);</div><div style="font-family: NanumGothic, Dotum; font-size: 10pt; list-style: none; margin: 0px; padding: 0px; color: rgb(51, 51, 51); line-height: 18.6666660308838px; text-align: justify;"> setColor(255, 255, 0); <font color="#7d7d7d">// yellow</font></div><div style="font-family: NanumGothic, Dotum; font-size: 10pt; list-style: none; margin: 0px; padding: 0px; color: rgb(51, 51, 51); line-height: 18.6666660308838px; text-align: justify;"> <font color="#ff6c00">delay</font>(1000); </div><div style="font-family: NanumGothic, Dotum; font-size: 10pt; list-style: none; margin: 0px; padding: 0px; color: rgb(51, 51, 51); line-height: 18.6666660308838px; text-align: justify;"> setColor(0, 255, 255); <font color="#7d7d7d">// aqua</font></div><div style="font-family: NanumGothic, Dotum; font-size: 10pt; list-style: none; margin: 0px; padding: 0px; color: rgb(51, 51, 51); line-height: 18.6666660308838px; text-align: justify;"> <font color="#ff6c00">delay</font>(1000);</div><div style="font-family: NanumGothic, Dotum; font-size: 10pt; list-style: none; margin: 0px; padding: 0px; color: rgb(51, 51, 51); line-height: 18.6666660308838px; text-align: justify;"><div style="font-family: inherit; font-size: 10pt; list-style: none; margin: 0px; padding: 0px;"> setColor(0, 255, 0); <font color="#7d7d7d">// green</font></div><div style="font-family: inherit; font-size: 10pt; list-style: none; margin: 0px; padding: 0px;"> <font color="#ff6c00">delay</font>(1000);</div></div><div style="font-family: NanumGothic, Dotum; font-size: 10pt; list-style: none; margin: 0px; padding: 0px; color: rgb(51, 51, 51); line-height: 18.6666660308838px; text-align: justify;">}</div><div style="font-family: NanumGothic, Dotum; font-size: 10pt; list-style: none; margin: 0px; padding: 0px; color: rgb(51, 51, 51); line-height: 18.6666660308838px; text-align: justify;"> </div><div style="font-family: NanumGothic, Dotum; font-size: 10pt; list-style: none; margin: 0px; padding: 0px; color: rgb(51, 51, 51); line-height: 18.6666660308838px; text-align: justify;"><font color="#ff6c00">void </font>setColor(<font color="#ff6c00">int </font>red,<font color="#ff6c00"> int </font>green, <font color="#ff6c00">int</font> blue)</div><div style="font-family: NanumGothic, Dotum; font-size: 10pt; list-style: none; margin: 0px; padding: 0px; color: rgb(51, 51, 51); line-height: 18.6666660308838px; text-align: justify;">{</div><div style="font-family: NanumGothic, Dotum; font-size: 10pt; list-style: none; margin: 0px; padding: 0px; color: rgb(51, 51, 51); line-height: 18.6666660308838px; text-align: justify;"> <font color="#ff6c00">analogWrite</font>(redPin, 255-red);</div><div style="font-family: NanumGothic, Dotum; font-size: 10pt; list-style: none; margin: 0px; padding: 0px; color: rgb(51, 51, 51); line-height: 18.6666660308838px; text-align: justify;"> <font color="#ff6c00">analogWrite</font>(greenPin, 255-green);</div><div style="font-family: NanumGothic, Dotum; font-size: 10pt; list-style: none; margin: 0px; padding: 0px; color: rgb(51, 51, 51); line-height: 18.6666660308838px; text-align: justify;"> <font color="#ff6c00">analogWrite</font>(bluePin, 255-blue); </div><div style="font-family: NanumGothic, Dotum; font-size: 10pt; list-style: none; margin: 0px; padding: 0px; color: rgb(51, 51, 51); line-height: 18.6666660308838px; text-align: justify;">}</div><div style="font-family: NanumGothic, Dotum; font-size: 10pt; list-style: none; margin: 0px; padding: 0px; color: rgb(51, 51, 51); line-height: 18.6666660308838px; text-align: justify;"><br></div><div style="font-family: NanumGothic, Dotum; font-size: 10pt; list-style: none; margin: 0px; padding: 0px; color: rgb(51, 51, 51); line-height: 18.6666660308838px; text-align: justify;">ÀÌ·¸°Ô µË´Ï´Ù.</div><div style="font-family: NanumGothic, Dotum; font-size: 10pt; list-style: none; margin: 0px; padding: 0px; color: rgb(51, 51, 51); line-height: 18.6666660308838px; text-align: justify;"><br></div><div style="font-family: NanumGothic, Dotum; font-size: 10pt; list-style: none; margin: 0px; padding: 0px; color: rgb(51, 51, 51); line-height: 18.6666660308838px; text-align: justify;">±×·±µ¥ µ¿À۽à »ö±òÀÌ ºí·ç¸¸ ³ª¿À°í 1Ãʵ¿¾È ±ôºý±ôºý °Å¸®³×¿ä</div><div style="font-family: NanumGothic, Dotum; font-size: 10pt; list-style: none; margin: 0px; padding: 0px; color: rgb(51, 51, 51); line-height: 18.6666660308838px; text-align: justify;"><br></div><div style="font-family: NanumGothic, Dotum; font-size: 10pt; list-style: none; margin: 0px; padding: 0px; color: rgb(51, 51, 51); line-height: 18.6666660308838px; text-align: justify;">Ȥ½Ã ledÀÇ »ç¾çÀÌ ´Þ¶ó¼ ±×·±°ÇÁö¶Ç´Â</div><div style="font-family: NanumGothic, Dotum; font-size: 10pt; list-style: none; margin: 0px; padding: 0px; color: rgb(51, 51, 51); line-height: 18.6666660308838px; text-align: justify;"><br></div><div style="font-family: NanumGothic, Dotum; font-size: 10pt; list-style: none; margin: 0px; padding: 0px; color: rgb(51, 51, 51); line-height: 18.6666660308838px; text-align: justify;">ÀÌ led¸¦ »ç¿ëÇÑ »çÀÌÆ®ÀÇ ¿¹Á¦¸¦ Âü°íÇÒ ¼ö ÀÖ´ÂÁö ±Ã±ÝÇÕ´Ï´Ù.</div><div style="font-family: NanumGothic, Dotum; font-size: 10pt; list-style: none; margin: 0px; padding: 0px; color: rgb(51, 51, 51); line-height: 18.6666660308838px; text-align: justify;"><br></div><div style="font-family: NanumGothic, Dotum; font-size: 10pt; list-style: none; margin: 0px; padding: 0px; color: rgb(51, 51, 51); line-height: 18.6666660308838px; text-align: justify;">µµ¿ÍÁÖ¼¼¿ä </div><div style="font-family: NanumGothic, Dotum; font-size: 10pt; list-style: none; margin: 0px; padding: 0px; color: rgb(51, 51, 51); line-height: 18.6666660308838px; text-align: justify;"><br></div><div style="font-family: NanumGothic, Dotum; font-size: 10pt; list-style: none; margin: 0px; padding: 0px; color: rgb(51, 51, 51); line-height: 18.6666660308838px; text-align: justify;">¹ØÀÇ ±×¸²Ã³·³ »ö±òÀÇ º¯È ¾øÀÌ ºí·ç¸¸ ³ª¿À³×¿ä</div><div style="font-family: NanumGothic, Dotum; font-size: 10pt; list-style: none; margin: 0px; padding: 0px; color: rgb(51, 51, 51); line-height: 18.6666660308838px; text-align: justify;"><img onLoad='miniSelfResize(contents_979,this); if(this.parentNode.tagName=="A"){this.onclick = "";}' src="/shop/lib/meditor/../../data/editor/1412047286.jpg" width="512" height="350"><br></div><div style="font-family: NanumGothic, Dotum; font-size: 10pt; list-style: none; margin: 0px; padding: 0px; color: rgb(51, 51, 51); line-height: 18.6666660308838px; text-align: justify;"><div class="autosourcing-stub" style="font-family: inherit; font-size: inherit; list-style: none; margin: 0px; padding: 0px; position: absolute; opacity: 0;"><p style="list-style: none; margin-top: 20px; margin-bottom: 30px; padding: 0px; font-size: 12px; font-family: dotum;"><strong style="padding: 0px 7px 0px 0px;">[Ãâó]</strong> <a href="http://cafe.naver.com/openrt/6329" target="_blank" style="text-decoration: none;">[±âÃÊ] ¾ÆµÎÀ̳ë RGB LED (¿ÀǼҽº ¼ÒÇÁÆ®¿þ¾î & Çϵå¿þ¾î: ·Îº¿ ±â¼ú °øÀ¯ Ä«Æä (¿À·ÎÄ«))</a> <span style="padding: 0px 7px 0px 5px;">|</span><strong style="padding: 0px 7px 0px 0px;">ÀÛ¼ºÀÚ</strong><a href="http://cafe.naver.com/openrt.cafe?iframe_url=/CafeMemberNetworkView.nhn%3Fm=view%26memberid=wlswntjd61" target="_blank" style="text-decoration: none;">Carpediem</a></p></div></div></div>