<h3 xmlns="http://www.w3.org/1999/xhtml" id="sites-page-title-header" align="left" style="font-variant-numeric: normal; font-variant-east-asian: normal; font-weight: normal; font-stretch: normal; font-size: 26px; line-height: normal; font-family: &quot;Open Sans&quot;; margin: 0px; padding: 33px 10px 0px; color: #222222; background-color: #ffffff;"><span id="sites-page-title" dir="ltr" tabindex="-1" style="outline: none;">아두이노와 라즈베리 파이의 UART(serial) 통신</span></h3>
<span class="announcementsPostTimestamp" id="afterPageTitleHideDuringEdit" style="margin: 0px 10px; color: #848484; display: inline-block; font-family: &quot;Open Sans&quot;; background-color: #ffffff;">게시자: cheese10yu@ce.mokpo.ac.kr,&nbsp;<span xmlns="http://www.w3.org/1999/xhtml" dir="ltr">2013. 11. 27. 오후 3:34</span></span><span style="color: #616161; font-family: &quot;Open Sans&quot;; font-size: 14px; background-color: #ffffff;"></span>
<div id="sites-canvas-main" class="sites-canvas-main" style="overflow: hidden; min-height: 150px; padding-bottom: 5px; padding-top: 34px; background-color: #ffffff; color: #616161; font-family: &quot;Open Sans&quot;; font-size: 14px;">
   <div id="sites-canvas-main-content">
      <table xmlns="http://www.w3.org/1999/xhtml" cellspacing="0" class="sites-layout-name-one-column sites-layout-hbox" style="width: 693px; table-layout: fixed; margin: 0px;">
         <tbody>
            <tr>
               <td class="sites-layout-tile sites-tile-name-content-1" style="vertical-align: top; padding: 10px;">
                  <div dir="ltr">
                     <p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; line-height: 18px; color: #333333; font-family: sans-serif; font-size: 13px;">라즈베리파이와&nbsp; 아두이노 사이의 통신에는 SPI, I2C , UART 등을 사용할수 있습니다.</p>
                     <p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; line-height: 18px; color: #333333; font-family: sans-serif; font-size: 13px;">그중에 제일 만만한? UART(Serial) 을 테스트 해보았습니다.</p>
                     <p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; line-height: 18px; color: #333333; font-family: sans-serif; font-size: 13px;">같은 전압의 IO핀을 사용하면 바로 결선해서 사용하면 간단해 지겠지만 아두이노의 입출력 핀 전압 5V 와 라즈베리파이의 GPIO 의 입출력 핀전압 3.3V 의 차이 때문에 직접적인 결선은 문제가 있어서 회로구성이 불가피 해집니다.</p>
                     <p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; line-height: 18px; color: #333333; font-family: sans-serif; font-size: 13px;">UART 통신하는 회로의 구성에도 여러가지가 있습니다.</p>
                     <p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; line-height: 18px; color: #333333; font-family: sans-serif; font-size: 13px;"><a href="http://www.fritz-hut.com/connecting-an-arduino-and-raspberry-pi/" rel="nofollow" style="color: #1fa2e1; text-decoration-line: none; margin: 0px; padding: 0px;" target="_blank">MOSFET 과 저항으로 구성되는 방법</a>&nbsp;과 아두이노와 라즈베리파이 사이를 USB케이블로 연결하는 방법&nbsp;그리고&nbsp; 높은 레벨의 Logic 신호를&nbsp;낮은 레벨의 Logic으로 바꿔주는 Logic IC를 사용 하는 방법등이 있습니다.</p>
                     <p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; line-height: 18px; color: #333333; font-family: sans-serif; font-size: 13px;">USB케이블은 따로 사용해야 하므로 제외하고 가격면이나 회로구성이 조금이나마 단순해 지는 Logic IC를 사용 하겠습니다.</p>
                     <p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; line-height: 18px; color: #333333; font-family: sans-serif; font-size: 13px;">제가 사용한 Logic IC 는 국내쇼핑몰 등에서 구입하기 쉬운 74HC4050 입니다. 74HC4049 를 사용해도 무관 합니다.</p>
                     <p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; line-height: 18px; color: #333333; font-family: sans-serif; font-size: 13px;">&nbsp;</p>
                     <h3 style="color: #333333; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 14px; line-height: normal; font-family: sans-serif; padding: 5px 0px; margin: 0px; letter-spacing: -1px;"><a name="TOC-UART-" style="color: #298cca;"></a>라즈베리 파이의 UART 설정 수정</h3>
                     <p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; line-height: 18px; color: #333333; font-family: sans-serif; font-size: 13px;">라즈베리 파이는 기본적으로 115200 의 uart로 콘솔에 접속 하도록 되어 있습니다. 따라서 아두이노와&nbsp; minicom등 을 사용하여 시리얼에 바로 연결하게 되면 정상적으로 작동하지 않습니다.</p>
                     <p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; line-height: 18px; color: #333333; font-family: sans-serif; font-size: 13px;">/boot/cmdline.txt&nbsp; 파일과&nbsp; /etc/inittab 을 수정하여 콘솔역할을 제거하여 시리얼 연결로만 작동하도록 수정해줄 필요가 있습니다.</p>
                     <p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; line-height: 18px; color: #333333; font-family: sans-serif; font-size: 13px;">&nbsp;</p>
                     <p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; line-height: 18px; color: #333333; font-family: sans-serif; font-size: 13px;">우선 cmdline.txt 를 수정합니다.</p>
                     <div style="margin: 12px 0px; padding: 0px; width: 568px; font-family: Monaco, MonacoRegular, &quot;Courier New&quot;, monospace; color: #333333; float: none; clear: both; height: auto; overflow: hidden !important; direction: ltr !important; border: 1px solid rgb(221, 221, 221) !important; background-color: #fdfdfd !important; line-height: 15px !important;">
                        <div style="margin: 0px; padding: 0px; border-top-width: 0px; border-right-width: 0px; border-left-width: 0px; width: 566px; overflow: hidden; font-family: Verdana, Arial, sans !important; background-color: #eeeeee !important; border-bottom: 1px solid rgb(221, 221, 221) !important; height: 18px !important; line-height: 18px !important;"><span style="margin: 0px; font-family: inherit; float: left; padding: 0px 4px !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; color: #999999 !important;">Shell</span>
                           <div style="margin: 0px; padding: 0px; font-family: inherit; border: 0px; background-position: 0px 50%; font-weight: inherit !important; height: 18px !important; float: right !important;">
                              <div title="Toggle Line Numbers" style="margin: 0px; padding: 0px; font-family: inherit; border: 0px; line-height: 15px; display: inline; width: 24px; background-position: -24px 0px; background-repeat: no-repeat; font-size: inherit !important; font-weight: inherit !important; height: inherit !important; float: left !important;">
                                 <div style="padding: 0px; font-family: inherit; background-image: url(&quot;&quot;); border: 0px; width: 24px; background-position: -24px -32px; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: 16px !important;">&nbsp;</div>
                                 </div>
                              <div title="Toggle Plain Code" style="margin: 0px; padding: 0px; font-family: inherit; border: 0px; line-height: 15px; display: inline; width: 24px; background-position: 0px 50%; background-repeat: no-repeat; font-size: inherit !important; font-weight: inherit !important; height: inherit !important; float: left !important;">
                                 <div style="padding: 0px; font-family: inherit; background-image: url(&quot;&quot;); border: 0px; width: 24px; background-position: 0px -48px; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: 16px !important;">&nbsp;</div>
                                 </div>
                              <div title="Toggle Line Wrap" style="margin: 0px; padding: 0px; font-family: inherit; border: 0px; line-height: 15px; display: inline; width: 24px; background-position: -24px 0px; background-repeat: no-repeat; font-size: inherit !important; font-weight: inherit !important; height: inherit !important; float: left !important;">
                                 <div style="padding: 0px; font-family: inherit; background-image: url(&quot;&quot;); border: 0px; width: 24px; background-position: -24px -112px; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: 16px !important;">&nbsp;</div>
                                 </div>
                              <div title="Expand Code" style="margin: 0px; padding: 0px; font-family: inherit; border: 0px; line-height: 15px; display: inline; width: 24px; background-position: 0px 50%; background-repeat: no-repeat; font-size: inherit !important; font-weight: inherit !important; height: inherit !important; float: left !important;">
                                 <div style="padding: 0px; font-family: inherit; background-image: url(&quot;&quot;); border: 0px; width: 24px; background-position: 0px -16px; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: 16px !important;">&nbsp;</div>
                                 </div>
                              <div title="Open Code In New Window" style="margin: 0px; padding: 0px; font-family: inherit; border: 0px; line-height: 15px; display: inline; width: 24px; background-position: 0px 50%; background-repeat: no-repeat; font-size: inherit !important; font-weight: inherit !important; height: inherit !important; float: left !important;">
                                 <div style="padding: 0px; font-family: inherit; background-image: url(&quot;&quot;); border: 0px; width: 24px; background-position: 0px 0px; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: 16px !important;">&nbsp;</div>
                                 </div>
                              </div>
                           </div>
                        <div style="border: 0px; background-position: 0px 50%; margin: 0px !important; padding: 0px !important; font-family: Verdana, Arial, sans !important; height: auto !important;">&nbsp;</div>
                        <div style="margin: 0px; padding: 0px; border: 0px; width: 566px; overflow: hidden; background-position: 0px 50%; font-family: Verdana, Arial, sans !important;">
                           <table style="margin: 0px; padding: 0px !important; border-spacing: 0px !important; border-width: initial !important; border-style: none !important; border-color: initial !important; background-image: none !important; width: auto !important;">
                              <tbody style="margin: 0px; padding: 0px;">
                                 <tr style="background-position: 0px 50%; margin: 0px !important; padding: 0px !important; border: none !important; vertical-align: top !important;">
                                    <td style="vertical-align: top; border-width: 0px; border-style: initial; border-color: initial; margin: 0px !important; padding: 0px !important; color: #d4d4d4 !important;">
                                       <div style="margin: 0px; padding: 0px; border: 0px; background-position: 0px 50%;">
                                          <div style="margin: 0px; padding: 0px 5px; font-family: inherit; border: 0px; text-align: center; height: 15px; background-position: 0px 50%; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important;">1</div>
                                          </div>
                                       </td>
                                    <td style="vertical-align: top; border-width: 0px; border-style: initial; border-color: initial; width: 548px; background-position: 0px 50%; margin: 0px !important; padding: 0px !important;">
                                       <div style="margin: 0px; padding: 0px; white-space: pre; overflow: visible; background-image: none !important; border: none !important;">
                                          <div style="margin: 0px; padding: 0px 5px; font-family: inherit; border: 0px; background-position: 0px 50%; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; white-space: pre-wrap !important;">$ sudo nano /boot/cmdline.txt</div>
                                          </div>
                                       </td>
                                    </tr>
                                 </tbody>
                              </table>
                           </div>
                        </div>
                     <p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; line-height: 18px; color: #333333; font-family: sans-serif; font-size: 13px;">다음 내용을 찾아서 붉은 글씨 부분을 제거 합니다.</p>
                     <p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; line-height: 18px; color: #333333; font-family: sans-serif; font-size: 13px;">dwc_otg.lpm_enable=0&nbsp;<span style="margin: 0px; padding: 0px; color: #ff0000;"><em style="margin: 0px; padding: 0px;"><span style="margin: 0px; padding: 0px; text-decoration-line: underline;">console=ttyAMA0,115200 kgdboc=ttyAMA0,115200</span>&nbsp;</em></span>console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait</p>
                     <div style="margin: 12px 0px; padding: 0px; width: 568px; font-family: Monaco, MonacoRegular, &quot;Courier New&quot;, monospace; color: #333333; float: none; clear: both; height: auto; overflow: hidden !important; direction: ltr !important; border: 1px solid rgb(221, 221, 221) !important; background-color: #fdfdfd !important; line-height: 15px !important;">
                        <div style="margin: 0px; padding: 0px; border-top-width: 0px; border-right-width: 0px; border-left-width: 0px; width: 566px; overflow: hidden; font-family: Verdana, Arial, sans !important; background-color: #eeeeee !important; border-bottom: 1px solid rgb(221, 221, 221) !important; height: 18px !important; line-height: 18px !important;"><span style="margin: 0px; font-family: inherit; float: left; padding: 0px 4px !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; color: #999999 !important;">/boot/cmdline.txt</span>
                           <div style="margin: 0px; padding: 0px; font-family: inherit; border: 0px; background-position: 0px 50%; font-weight: inherit !important; height: 18px !important; float: right !important;">
                              <div title="Toggle Line Numbers" style="margin: 0px; padding: 0px; font-family: inherit; border: 0px; line-height: 15px; display: inline; width: 24px; background-position: -24px 0px; background-repeat: no-repeat; font-size: inherit !important; font-weight: inherit !important; height: inherit !important; float: left !important;">
                                 <div style="padding: 0px; font-family: inherit; background-image: url(&quot;&quot;); border: 0px; width: 24px; background-position: -24px -32px; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: 16px !important;">&nbsp;</div>
                                 </div>
                              <div title="Toggle Plain Code" style="margin: 0px; padding: 0px; font-family: inherit; border: 0px; line-height: 15px; display: inline; width: 24px; background-position: 0px 50%; background-repeat: no-repeat; font-size: inherit !important; font-weight: inherit !important; height: inherit !important; float: left !important;">
                                 <div style="padding: 0px; font-family: inherit; background-image: url(&quot;&quot;); border: 0px; width: 24px; background-position: 0px -48px; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: 16px !important;">&nbsp;</div>
                                 </div>
                              <div title="Toggle Line Wrap" style="margin: 0px; padding: 0px; font-family: inherit; border: 0px; line-height: 15px; display: inline; width: 24px; background-position: -24px 0px; background-repeat: no-repeat; font-size: inherit !important; font-weight: inherit !important; height: inherit !important; float: left !important;">
                                 <div style="padding: 0px; font-family: inherit; background-image: url(&quot;&quot;); border: 0px; width: 24px; background-position: -24px -112px; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: 16px !important;">&nbsp;</div>
                                 </div>
                              <div title="Expand Code" style="margin: 0px; padding: 0px; font-family: inherit; border: 0px; line-height: 15px; display: inline; width: 24px; background-position: 0px 50%; background-repeat: no-repeat; font-size: inherit !important; font-weight: inherit !important; height: inherit !important; float: left !important;">
                                 <div style="padding: 0px; font-family: inherit; background-image: url(&quot;&quot;); border: 0px; width: 24px; background-position: 0px -16px; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: 16px !important;">&nbsp;</div>
                                 </div>
                              <div title="Open Code In New Window" style="margin: 0px; padding: 0px; font-family: inherit; border: 0px; line-height: 15px; display: inline; width: 24px; background-position: 0px 50%; background-repeat: no-repeat; font-size: inherit !important; font-weight: inherit !important; height: inherit !important; float: left !important;">
                                 <div style="padding: 0px; font-family: inherit; background-image: url(&quot;&quot;); border: 0px; width: 24px; background-position: 0px 0px; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: 16px !important;">&nbsp;</div>
                                 </div>
                              </div>
                           </div>
                        <div style="border: 0px; background-position: 0px 50%; margin: 0px !important; padding: 0px !important; font-family: Verdana, Arial, sans !important; height: auto !important;">&nbsp;</div>
                        <div style="margin: 0px; padding: 0px; border: 0px; width: 566px; overflow: hidden; background-position: 0px 50%; font-family: Verdana, Arial, sans !important;">
                           <table style="margin: 0px; padding: 0px !important; border-spacing: 0px !important; border-width: initial !important; border-style: none !important; border-color: initial !important; background-image: none !important; width: auto !important;">
                              <tbody style="margin: 0px; padding: 0px;">
                                 <tr style="background-position: 0px 50%; margin: 0px !important; padding: 0px !important; border: none !important; vertical-align: top !important;">
                                    <td style="vertical-align: top; border-width: 0px; border-style: initial; border-color: initial; margin: 0px !important; padding: 0px !important; color: #d4d4d4 !important;">
                                       <div style="margin: 0px; padding: 0px; border: 0px; background-position: 0px 50%;">
                                          <div style="margin: 0px; padding: 0px 5px; font-family: inherit; border: 0px; text-align: center; height: 30px; background-position: 0px 50%; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important;">1</div>
                                          </div>
                                       </td>
                                    <td style="vertical-align: top; border-width: 0px; border-style: initial; border-color: initial; width: 548px; background-position: 0px 50%; margin: 0px !important; padding: 0px !important;">
                                       <div style="margin: 0px; padding: 0px; white-space: pre; overflow: visible; background-image: none !important; border: none !important;">
                                          <div style="margin: 0px; padding: 0px 5px; font-family: inherit; border: 0px; background-position: 0px 50%; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; white-space: pre-wrap !important;">dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait</div>
                                          </div>
                                       </td>
                                    </tr>
                                 </tbody>
                              </table>
                           </div>
                        </div>
                     <p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; line-height: 18px; color: #333333; font-family: sans-serif; font-size: 13px;">&nbsp;</p>
                     <p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; line-height: 18px; color: #333333; font-family: sans-serif; font-size: 13px;">다음으로 inittab 을 수정합니다.</p>
                     <div style="margin: 12px 0px; padding: 0px; width: 568px; font-family: Monaco, MonacoRegular, &quot;Courier New&quot;, monospace; color: #333333; float: none; clear: both; height: auto; overflow: hidden !important; direction: ltr !important; border: 1px solid rgb(221, 221, 221) !important; background-color: #fdfdfd !important; line-height: 15px !important;">
                        <div style="margin: 0px; padding: 0px; border-top-width: 0px; border-right-width: 0px; border-left-width: 0px; width: 566px; overflow: hidden; font-family: Verdana, Arial, sans !important; background-color: #eeeeee !important; border-bottom: 1px solid rgb(221, 221, 221) !important; height: 18px !important; line-height: 18px !important;"><span style="margin: 0px; font-family: inherit; float: left; padding: 0px 4px !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; color: #999999 !important;">Shell</span>
                           <div style="margin: 0px; padding: 0px; font-family: inherit; border: 0px; background-position: 0px 50%; font-weight: inherit !important; height: 18px !important; float: right !important;">
                              <div title="Toggle Line Numbers" style="margin: 0px; padding: 0px; font-family: inherit; border: 0px; line-height: 15px; display: inline; width: 24px; background-position: -24px 0px; background-repeat: no-repeat; font-size: inherit !important; font-weight: inherit !important; height: inherit !important; float: left !important;">
                                 <div style="padding: 0px; font-family: inherit; background-image: url(&quot;&quot;); border: 0px; width: 24px; background-position: -24px -32px; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: 16px !important;">&nbsp;</div>
                                 </div>
                              <div title="Toggle Plain Code" style="margin: 0px; padding: 0px; font-family: inherit; border: 0px; line-height: 15px; display: inline; width: 24px; background-position: 0px 50%; background-repeat: no-repeat; font-size: inherit !important; font-weight: inherit !important; height: inherit !important; float: left !important;">
                                 <div style="padding: 0px; font-family: inherit; background-image: url(&quot;&quot;); border: 0px; width: 24px; background-position: 0px -48px; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: 16px !important;">&nbsp;</div>
                                 </div>
                              <div title="Toggle Line Wrap" style="margin: 0px; padding: 0px; font-family: inherit; border: 0px; line-height: 15px; display: inline; width: 24px; background-position: -24px 0px; background-repeat: no-repeat; font-size: inherit !important; font-weight: inherit !important; height: inherit !important; float: left !important;">
                                 <div style="padding: 0px; font-family: inherit; background-image: url(&quot;&quot;); border: 0px; width: 24px; background-position: -24px -112px; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: 16px !important;">&nbsp;</div>
                                 </div>
                              <div title="Expand Code" style="margin: 0px; padding: 0px; font-family: inherit; border: 0px; line-height: 15px; display: inline; width: 24px; background-position: 0px 50%; background-repeat: no-repeat; font-size: inherit !important; font-weight: inherit !important; height: inherit !important; float: left !important;">
                                 <div style="padding: 0px; font-family: inherit; background-image: url(&quot;&quot;); border: 0px; width: 24px; background-position: 0px -16px; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: 16px !important;">&nbsp;</div>
                                 </div>
                              <div title="Open Code In New Window" style="margin: 0px; padding: 0px; font-family: inherit; border: 0px; line-height: 15px; display: inline; width: 24px; background-position: 0px 50%; background-repeat: no-repeat; font-size: inherit !important; font-weight: inherit !important; height: inherit !important; float: left !important;">
                                 <div style="padding: 0px; font-family: inherit; background-image: url(&quot;&quot;); border: 0px; width: 24px; background-position: 0px 0px; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: 16px !important;">&nbsp;</div>
                                 </div>
                              </div>
                           </div>
                        <div style="border: 0px; background-position: 0px 50%; margin: 0px !important; padding: 0px !important; font-family: Verdana, Arial, sans !important; height: auto !important;">&nbsp;</div>
                        <div style="margin: 0px; padding: 0px; border: 0px; width: 566px; overflow: hidden; background-position: 0px 50%; font-family: Verdana, Arial, sans !important;">
                           <table style="margin: 0px; padding: 0px !important; border-spacing: 0px !important; border-width: initial !important; border-style: none !important; border-color: initial !important; background-image: none !important; width: auto !important;">
                              <tbody style="margin: 0px; padding: 0px;">
                                 <tr style="background-position: 0px 50%; margin: 0px !important; padding: 0px !important; border: none !important; vertical-align: top !important;">
                                    <td style="vertical-align: top; border-width: 0px; border-style: initial; border-color: initial; margin: 0px !important; padding: 0px !important; color: #d4d4d4 !important;">
                                       <div style="margin: 0px; padding: 0px; border: 0px; background-position: 0px 50%;">
                                          <div style="margin: 0px; padding: 0px 5px; font-family: inherit; border: 0px; text-align: center; height: 15px; background-position: 0px 50%; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important;">1</div>
                                          </div>
                                       </td>
                                    <td style="vertical-align: top; border-width: 0px; border-style: initial; border-color: initial; width: 548px; background-position: 0px 50%; margin: 0px !important; padding: 0px !important;">
                                       <div style="margin: 0px; padding: 0px; white-space: pre; overflow: visible; background-image: none !important; border: none !important;">
                                          <div style="margin: 0px; padding: 0px 5px; font-family: inherit; border: 0px; background-position: 0px 50%; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; white-space: pre-wrap !important;">$ sudo nano /etc/inittab</div>
                                          </div>
                                       </td>
                                    </tr>
                                 </tbody>
                              </table>
                           </div>
                        </div>
                     <p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; line-height: 18px; color: #333333; font-family: sans-serif; font-size: 13px;">T0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100 를 찾아서 주석처리를 해주면 됩니다.</p>
                     <div style="margin: 12px 0px; padding: 0px; width: 568px; font-family: Monaco, MonacoRegular, &quot;Courier New&quot;, monospace; color: #333333; float: none; clear: both; height: auto; overflow: hidden !important; direction: ltr !important; border: 1px solid rgb(221, 221, 221) !important; background-color: #fdfdfd !important; line-height: 15px !important;">
                        <div style="margin: 0px; padding: 0px; border-top-width: 0px; border-right-width: 0px; border-left-width: 0px; width: 566px; overflow: hidden; font-family: Verdana, Arial, sans !important; background-color: #eeeeee !important; border-bottom: 1px solid rgb(221, 221, 221) !important; height: 18px !important; line-height: 18px !important;"><span style="margin: 0px; font-family: inherit; float: left; padding: 0px 4px !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; color: #999999 !important;">/boot/cmdline.txt</span>
                           <div style="margin: 0px; padding: 0px; font-family: inherit; border: 0px; background-position: 0px 50%; font-weight: inherit !important; height: 18px !important; float: right !important;">
                              <div title="Toggle Line Numbers" style="margin: 0px; padding: 0px; font-family: inherit; border: 0px; line-height: 15px; display: inline; width: 24px; background-position: -24px 0px; background-repeat: no-repeat; font-size: inherit !important; font-weight: inherit !important; height: inherit !important; float: left !important;">
                                 <div style="padding: 0px; font-family: inherit; background-image: url(&quot;&quot;); border: 0px; width: 24px; background-position: -24px -32px; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: 16px !important;">&nbsp;</div>
                                 </div>
                              <div title="Toggle Plain Code" style="margin: 0px; padding: 0px; font-family: inherit; border: 0px; line-height: 15px; display: inline; width: 24px; background-position: 0px 50%; background-repeat: no-repeat; font-size: inherit !important; font-weight: inherit !important; height: inherit !important; float: left !important;">
                                 <div style="padding: 0px; font-family: inherit; background-image: url(&quot;&quot;); border: 0px; width: 24px; background-position: 0px -48px; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: 16px !important;">&nbsp;</div>
                                 </div>
                              <div title="Toggle Line Wrap" style="margin: 0px; padding: 0px; font-family: inherit; border: 0px; line-height: 15px; display: inline; width: 24px; background-position: -24px 0px; background-repeat: no-repeat; font-size: inherit !important; font-weight: inherit !important; height: inherit !important; float: left !important;">
                                 <div style="padding: 0px; font-family: inherit; background-image: url(&quot;&quot;); border: 0px; width: 24px; background-position: -24px -112px; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: 16px !important;">&nbsp;</div>
                                 </div>
                              <div title="Expand Code" style="margin: 0px; padding: 0px; font-family: inherit; border: 0px; line-height: 15px; display: inline; width: 24px; background-position: 0px 50%; background-repeat: no-repeat; font-size: inherit !important; font-weight: inherit !important; height: inherit !important; float: left !important;">
                                 <div style="padding: 0px; font-family: inherit; background-image: url(&quot;&quot;); border: 0px; width: 24px; background-position: 0px -16px; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: 16px !important;">&nbsp;</div>
                                 </div>
                              <div title="Open Code In New Window" style="margin: 0px; padding: 0px; font-family: inherit; border: 0px; line-height: 15px; display: inline; width: 24px; background-position: 0px 50%; background-repeat: no-repeat; font-size: inherit !important; font-weight: inherit !important; height: inherit !important; float: left !important;">
                                 <div style="padding: 0px; font-family: inherit; background-image: url(&quot;&quot;); border: 0px; width: 24px; background-position: 0px 0px; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: 16px !important;">&nbsp;</div>
                                 </div>
                              </div>
                           </div>
                        <div style="border: 0px; background-position: 0px 50%; margin: 0px !important; padding: 0px !important; font-family: Verdana, Arial, sans !important; height: auto !important;">&nbsp;</div>
                        <div style="margin: 0px; padding: 0px; border: 0px; width: 566px; overflow: hidden; background-position: 0px 50%; font-family: Verdana, Arial, sans !important;">
                           <table style="margin: 0px; padding: 0px !important; border-spacing: 0px !important; border-width: initial !important; border-style: none !important; border-color: initial !important; background-image: none !important; width: auto !important;">
                              <tbody style="margin: 0px; padding: 0px;">
                                 <tr style="background-position: 0px 50%; margin: 0px !important; padding: 0px !important; border: none !important; vertical-align: top !important;">
                                    <td style="vertical-align: top; border-width: 0px; border-style: initial; border-color: initial; margin: 0px !important; padding: 0px !important; color: #d4d4d4 !important;">
                                       <div style="margin: 0px; padding: 0px; border: 0px; background-position: 0px 50%;">
                                          <div style="margin: 0px; padding: 0px 5px; font-family: inherit; border: 0px; text-align: center; height: 15px; background-position: 0px 50%; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important;">1</div>
                                          </div>
                                       </td>
                                    <td style="vertical-align: top; border-width: 0px; border-style: initial; border-color: initial; width: 548px; background-position: 0px 50%; margin: 0px !important; padding: 0px !important;">
                                       <div style="margin: 0px; padding: 0px; white-space: pre; overflow: visible; background-image: none !important; border: none !important;">
                                          <div style="margin: 0px; padding: 0px 5px; font-family: inherit; border: 0px; background-position: 0px 50%; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; white-space: pre-wrap !important;">#T0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100</div>
                                          </div>
                                       </td>
                                    </tr>
                                 </tbody>
                              </table>
                           </div>
                        </div>
                     <p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; line-height: 18px; color: #333333; font-family: sans-serif; font-size: 13px;">수정 후 리부팅을 해주면 콘솔역할을 막아주는 작업은끝이 납니다.</p>
                     <p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; line-height: 18px; color: #333333; font-family: sans-serif; font-size: 13px;">&nbsp;</p>
                     <h3 style="color: #333333; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 14px; line-height: normal; font-family: sans-serif; padding: 5px 0px; margin: 0px; letter-spacing: -1px;"><a name="TOC--" style="color: #298cca;"></a>회로구성</h3>
                     <p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; line-height: 18px; color: #333333; font-family: sans-serif; font-size: 13px;">회로의 구성은 아래 그림과 같습니다. 그림을 클릭해서 크게 보거나 그림 아래 첨부된 PDF를 보거나 아무거나 OK 입니다.</p>
                     <p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; line-height: 18px; color: #333333; font-family: sans-serif; font-size: 13px;"><a href="http://leaqua.mulple.com/wp-content/uploads/2013/02/74HC4050_bb.jpg" rel="nofollow" style="color: #1fa2e1; text-decoration-line: none; margin: 0px; padding: 0px;" target="_blank"><img alt="74HC4050_bb" height="733" src="http://leaqua.mulple.com/wp-content/uploads/2013/02/74HC4050_bb.jpg" width="500" style="border: none; padding: 0px; border-radius: 2px; margin: 0px;" /></a></p>
                     <p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; line-height: 18px; color: #333333; font-family: sans-serif; font-size: 13px;">회로도 PDF 파일 다운 : &nbsp;<a href="http://leaqua.mulple.com/wp-content/uploads/2013/02/74HC4050_schem.pdf" rel="nofollow" style="color: #1fa2e1; text-decoration-line: none; margin: 0px; padding: 0px;" target="_blank">74HC4050_schem</a></p>
                     <p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; line-height: 18px; color: #333333; font-family: sans-serif; font-size: 13px;">브레드 보드 구성 PDF 파일 다운 :&nbsp;<a href="http://leaqua.mulple.com/wp-content/uploads/2013/02/74HC4050_bb.pdf" rel="nofollow" style="color: #1fa2e1; text-decoration-line: none; margin: 0px; padding: 0px;" target="_blank">74HC4050_bb</a></p>
                     <p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; line-height: 18px; color: #333333; font-family: sans-serif; font-size: 13px;">4050 IC의 2번핀 과 5번핀을 아두이노의 TX, RX 핀이 아닌 D2 , D3로 연결한 것은 테스트시 PC와 시리얼&nbsp; 통신을 하기 위해서 이고 4050 IC와의 통신은 SoftwareSerial 을 통해서 이루어 지게 됩니다.</p>
                     </div>
                  </td>
               </tr>
            </tbody>
         </table>
      <h3 style="color: #333333; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 14px; line-height: normal; font-family: sans-serif; padding: 5px 0px; margin: 0px; letter-spacing: -1px;">&nbsp;</h3>
      <h3 style="color: #333333; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 14px; line-height: normal; font-family: sans-serif; padding: 5px 0px; margin: 0px; letter-spacing: -1px;">아두이노 코드</h3>
      <div style="color: #000000; font-family: inherit; background-color: #fdfdfd; margin: 0px; padding: 0px 5px; border: 0px; background-position: 0px 50%; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important; height: inherit !important; white-space: pre-wrap !important;"><span style="margin: 0px; padding: 0px; font-family: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; color: #888888 !important;">/*</span></div>
      <div style="color: #000000; font-family: inherit; margin: 0px; padding: 0px 5px; border: 0px; font-size: inherit !important; font-weight: inherit !important; background-color: #fafafa !important; line-height: inherit !important; height: inherit !important; white-space: pre-wrap !important;"><span style="margin: 0px; padding: 0px; font-family: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; color: #888888 !important;"> 아두이노와 라즈베리 파이의 UART 연결</span></div>
      <div style="color: #000000; font-family: inherit; background-color: #fdfdfd; margin: 0px; padding: 0px 5px; border: 0px; background-position: 0px 50%; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important; height: inherit !important; white-space: pre-wrap !important;"><span style="margin: 0px; padding: 0px; font-family: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; color: #888888 !important;"> 아두이노 : SoftSerial</span></div>
      <div style="color: #000000; font-family: inherit; margin: 0px; padding: 0px 5px; border: 0px; font-size: inherit !important; font-weight: inherit !important; background-color: #fafafa !important; line-height: inherit !important; height: inherit !important; white-space: pre-wrap !important;"><span style="margin: 0px; padding: 0px; font-family: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; color: #888888 !important;"> 라즈베리파이 : GPIO UART</span></div>
      <div style="color: #000000; font-family: inherit; background-color: #fdfdfd; margin: 0px; padding: 0px 5px; border: 0px; background-position: 0px 50%; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important; height: inherit !important; white-space: pre-wrap !important;"><span style="margin: 0px; padding: 0px; font-family: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; color: #888888 !important;">*/</span></div>
      <div style="color: #000000; font-family: inherit; margin: 0px; padding: 0px 5px; border: 0px; font-size: inherit !important; font-weight: inherit !important; background-color: #fafafa !important; line-height: inherit !important; height: inherit !important; white-space: pre-wrap !important;">&nbsp;</div>
      <div style="color: #000000; font-family: inherit; background-color: #fdfdfd; margin: 0px; padding: 0px 5px; border: 0px; background-position: 0px 50%; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important; height: inherit !important; white-space: pre-wrap !important;"><span style="margin: 0px; padding: 0px; font-family: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; color: #222222 !important;">#include &lt;SoftwareSerial.h&gt;</span></div>
      <div style="color: #000000; font-family: inherit; margin: 0px; padding: 0px 5px; border: 0px; font-size: inherit !important; font-weight: inherit !important; background-color: #fafafa !important; line-height: inherit !important; height: inherit !important; white-space: pre-wrap !important;">&nbsp;</div>
      <div style="color: #000000; font-family: inherit; background-color: #fdfdfd; margin: 0px; padding: 0px 5px; border: 0px; background-position: 0px 50%; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important; height: inherit !important; white-space: pre-wrap !important;"><span style="margin: 0px; padding: 0px; font-family: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; color: #cc6600 !important;">SoftwareSerial </span><span style="margin: 0px; padding: 0px; font-family: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; color: #cc6600 !important;">mySerial</span><span style="margin: 0px; padding: 0px; font-family: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; color: #333333 !important;">(</span><span style="margin: 0px; padding: 0px; font-family: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; color: #222222 !important;">2</span><span style="margin: 0px; padding: 0px; font-family: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; color: #333333 !important;">,</span><span style="margin: 0px; padding: 0px; font-family: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; color: #006fe0 !important;"></span><span style="margin: 0px; padding: 0px; font-family: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; color: #222222 !important;">3</span><span style="margin: 0px; padding: 0px; font-family: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; color: #333333 !important;">)</span><span style="margin: 0px; padding: 0px; font-family: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; color: #333333 !important;">;</span><span style="margin: 0px; padding: 0px; font-family: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; color: #006fe0 !important;"></span><span style="margin: 0px; padding: 0px; font-family: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; color: #888888 !important;">// RX, TX</span></div>
      <div style="color: #000000; font-family: inherit; margin: 0px; padding: 0px 5px; border: 0px; font-size: inherit !important; font-weight: inherit !important; background-color: #fafafa !important; line-height: inherit !important; height: inherit !important; white-space: pre-wrap !important;">&nbsp;</div>
      <div style="color: #000000; font-family: inherit; background-color: #fdfdfd; margin: 0px; padding: 0px 5px; border: 0px; background-position: 0px 50%; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important; height: inherit !important; white-space: pre-wrap !important;"><span style="margin: 0px; padding: 0px; font-family: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; color: #cc6600 !important;">void</span><span style="margin: 0px; padding: 0px; font-family: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; color: #006fe0 !important;"></span><span style="margin: 0px; padding: 0px; font-family: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; color: #cc6600 !important;">setup</span><span style="margin: 0px; padding: 0px; font-family: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; color: #333333 !important;">(</span><span style="margin: 0px; padding: 0px; font-family: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; color: #333333 !important;">)</span><span style="margin: 0px; padding: 0px; font-family: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; color: #006fe0 !important;">&nbsp;&nbsp;</span></div>
      <div style="color: #000000; font-family: inherit; margin: 0px; padding: 0px 5px; border: 0px; font-size: inherit !important; font-weight: inherit !important; background-color: #fafafa !important; line-height: inherit !important; height: inherit !important; white-space: pre-wrap !important;"><span style="margin: 0px; padding: 0px; font-family: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; color: #333333 !important;">{</span></div>
      <div style="color: #000000; font-family: inherit; background-color: #fdfdfd; margin: 0px; padding: 0px 5px; border: 0px; background-position: 0px 50%; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important; height: inherit !important; white-space: pre-wrap !important;"><span style="margin: 0px; padding: 0px; font-family: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; color: #006fe0 !important;">&nbsp;&nbsp;</span><span style="margin: 0px; padding: 0px; font-family: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; color: #222222 !important;">Serial</span><span style="margin: 0px; padding: 0px; font-family: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; color: #333333 !important;">.</span><span style="margin: 0px; padding: 0px; font-family: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; color: #cc6600 !important;">begin</span><span style="margin: 0px; padding: 0px; font-family: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; color: #333333 !important;">(</span><span style="margin: 0px; padding: 0px; font-family: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; color: #222222 !important;">9600</span><span style="margin: 0px; padding: 0px; font-family: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; color: #333333 !important;">)</span><span style="margin: 0px; padding: 0px; font-family: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; color: #333333 !important;">;</span></div>
      <div style="color: #000000; font-family: inherit; margin: 0px; padding: 0px 5px; border: 0px; font-size: inherit !important; font-weight: inherit !important; background-color: #fafafa !important; line-height: inherit !important; height: inherit !important; white-space: pre-wrap !important;"><span style="margin: 0px; padding: 0px; font-family: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; color: #006fe0 !important;">&nbsp;&nbsp;</span><span style="margin: 0px; padding: 0px; font-family: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; color: #222222 !important;">Serial</span><span style="margin: 0px; padding: 0px; font-family: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; color: #333333 !important;">.</span><span style="margin: 0px; padding: 0px; font-family: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; color: #cc6600 !important;">println</span><span style="margin: 0px; padding: 0px; font-family: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; color: #333333 !important;">(</span><span style="margin: 0px; padding: 0px; font-family: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; color: #006699 !important;">"Start UART test"</span><span style="margin: 0px; padding: 0px; font-family: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; color: #333333 !important;">)</span><span style="margin: 0px; padding: 0px; font-family: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; color: #333333 !important;">;</span><span style="margin: 0px; padding: 0px; font-family: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; color: #006fe0 !important;">&nbsp;&nbsp;</span><span style="margin: 0px; padding: 0px; font-family: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; color: #888888 !important;">// PC의 시리얼 모니터에 표시합니다.</span></div>
      <div style="color: #000000; font-family: inherit; background-color: #fdfdfd; margin: 0px; padding: 0px 5px; border: 0px; background-position: 0px 50%; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important; height: inherit !important; white-space: pre-wrap !important;"><span style="margin: 0px; padding: 0px; font-family: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; color: #006fe0 !important;">&nbsp;&nbsp;</span><span style="margin: 0px; padding: 0px; font-family: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; color: #222222 !important;">mySerial</span><span style="margin: 0px; padding: 0px; font-family: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; color: #333333 !important;">.</span><span style="margin: 0px; padding: 0px; font-family: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; color: #cc6600 !important;">begin</span><span style="margin: 0px; padding: 0px; font-family: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; color: #333333 !important;">(</span><span style="margin: 0px; padding: 0px; font-family: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; color: #222222 !important;">9600</span><span style="margin: 0px; padding: 0px; font-family: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; color: #333333 !important;">)</span><span style="margin: 0px; padding: 0px; font-family: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; color: #333333 !important;">;</span><span style="margin: 0px; padding: 0px; font-family: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; color: #006fe0 !important;"></span><span style="margin: 0px; padding: 0px; font-family: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; color: #888888 !important;">//소프트 시리얼로 라즈베리 파이와 통신하게 됩니다.</span></div>
      <div style="color: #000000; font-family: inherit; margin: 0px; padding: 0px 5px; border: 0px; font-size: inherit !important; font-weight: inherit !important; background-color: #fafafa !important; line-height: inherit !important; height: inherit !important; white-space: pre-wrap !important;"><span style="margin: 0px; padding: 0px; font-family: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; color: #333333 !important;">}</span></div>
      <div style="color: #000000; font-family: inherit; background-color: #fdfdfd; margin: 0px; padding: 0px 5px; border: 0px; background-position: 0px 50%; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important; height: inherit !important; white-space: pre-wrap !important;">&nbsp;</div>
      <div style="color: #000000; font-family: inherit; margin: 0px; padding: 0px 5px; border: 0px; font-size: inherit !important; font-weight: inherit !important; background-color: #fafafa !important; line-height: inherit !important; height: inherit !important; white-space: pre-wrap !important;"><span style="margin: 0px; padding: 0px; font-family: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; color: #cc6600 !important;">void</span><span style="margin: 0px; padding: 0px; font-family: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; color: #006fe0 !important;"></span><span style="margin: 0px; padding: 0px; font-family: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; color: #cc6600 !important;">loop</span><span style="margin: 0px; padding: 0px; font-family: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; color: #333333 !important;">(</span><span style="margin: 0px; padding: 0px; font-family: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; color: #333333 !important;">)</span><span style="margin: 0px; padding: 0px; font-family: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; color: #006fe0 !important;"></span><span style="margin: 0px; padding: 0px; font-family: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; color: #333333 !important;">{</span></div>
      <div style="color: #000000; font-family: inherit; background-color: #fdfdfd; margin: 0px; padding: 0px 5px; border: 0px; background-position: 0px 50%; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important; height: inherit !important; white-space: pre-wrap !important;"><span style="margin: 0px; padding: 0px; font-family: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; color: #006fe0 !important;">&nbsp;&nbsp;</span><span style="margin: 0px; padding: 0px; font-family: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; color: #888888 !important;">// 라즈베리 파이에서 넘어온 데이터가 있으면 PC로 넘겨줍니다.</span></div>
      <div style="color: #000000; font-family: inherit; margin: 0px; padding: 0px 5px; border: 0px; font-size: inherit !important; font-weight: inherit !important; background-color: #fafafa !important; line-height: inherit !important; height: inherit !important; white-space: pre-wrap !important;"><span style="margin: 0px; padding: 0px; font-family: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; color: #006fe0 !important;">&nbsp;&nbsp;</span><span style="margin: 0px; padding: 0px; font-family: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: bold !important; height: inherit !important; color: #cc6600 !important;">if</span><span style="margin: 0px; padding: 0px; font-family: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; color: #006fe0 !important;"></span><span style="margin: 0px; padding: 0px; font-family: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; color: #333333 !important;">(</span><span style="margin: 0px; padding: 0px; font-family: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; color: #222222 !important;">mySerial</span><span style="margin: 0px; padding: 0px; font-family: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; color: #333333 !important;">.</span><span style="margin: 0px; padding: 0px; font-family: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; color: #cc6600 !important;">available</span><span style="margin: 0px; padding: 0px; font-family: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; color: #333333 !important;">(</span><span style="margin: 0px; padding: 0px; font-family: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; color: #333333 !important;">)</span><span style="margin: 0px; padding: 0px; font-family: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; color: #333333 !important;">)</span></div>
      <div style="color: #000000; font-family: inherit; background-color: #fdfdfd; margin: 0px; padding: 0px 5px; border: 0px; background-position: 0px 50%; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important; height: inherit !important; white-space: pre-wrap !important;"><span style="margin: 0px; padding: 0px; font-family: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; color: #006fe0 !important;">&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="margin: 0px; padding: 0px; font-family: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; color: #222222 !important;">Serial</span><span style="margin: 0px; padding: 0px; font-family: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; height: inherit !important; color: #333333 !important;">.</span></div>
      </div>
   </