(239,-239,'',239,0,0,'','','html1','[Arduino] Adafruit CC3000 + PHP Webserver','<p style=\"background: 0px 0px rgb(255, 255, 255); border: 0px; font-size: 13px; margin-bottom: 23px; outline: 0px; padding: 0px; vertical-align: baseline; line-height: 23.4px; color: #333333; font-family: Verdana, Arial, Helvetica, sans-serif;\">To test an Arduino sending data to a web server, we need:</p>\r\n<ul style=\"background: 0px 0px rgb(255, 255, 255); border: 0px; font-size: 13px; margin: 0px 0px 23px 1.5em; outline: 0px; padding: 0px; vertical-align: baseline; list-style: square; color: #333333; font-family: Verdana, Arial, Helvetica, sans-serif;\">\r\n   <li style=\"background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; line-height: 23.4px;\">An&nbsp;<a title=\"Arduino main page\" href=\"http://arduino.cc/en/\" target=\"_blank\" style=\"background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #990000;\">Arduino</a>. &nbsp;I used an Arduino Uno.</li>\r\n   <li style=\"background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; line-height: 23.4px;\">A&nbsp;<a title=\"breadboard\" href=\"http://www.amazon.com/gp/product/B005GYAIES/ref=as_li_tf_tl?ie=UTF8&amp;camp=1789&amp;creative=9325&amp;creativeASIN=B005GYAIES&amp;linkCode=as2&amp;tag=bitknittingwo-20\" target=\"_blank\" style=\"background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #990000;\">Solderless BreadBoard</a><img alt=\"\" src=\"http://ir-na.amazon-adsystem.com/e/ir?t=bitknittingwo-20&amp;l=as2&amp;o=1&amp;a=B005GYAIES\" width=\"1\" border=\"0\" style=\"background: 0px 0px; outline: 0px; padding: 3px; vertical-align: baseline; height: auto; left: -4px; max-width: 100%; position: relative; box-shadow: rgb(204, 204, 204) 4px 4px 12px; border: none !important; margin: 0px !important;\" /></li>\r\n   <li style=\"background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; line-height: 23.4px;\"><a title=\"Copper Wires\" href=\"http://www.amazon.com/gp/product/B0040DEI9M/ref=as_li_tf_tl?ie=UTF8&amp;camp=1789&amp;creative=9325&amp;creativeASIN=B0040DEI9M&amp;linkCode=as2&amp;tag=bitknittingwo-20\" target=\"_blank\" style=\"background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #990000;\">Some copper wires</a><img alt=\"\" src=\"http://ir-na.amazon-adsystem.com/e/ir?t=bitknittingwo-20&amp;l=as2&amp;o=1&amp;a=B0040DEI9M\" width=\"1\" border=\"0\" style=\"background: 0px 0px; outline: 0px; padding: 3px; vertical-align: baseline; height: auto; left: -4px; max-width: 100%; position: relative; box-shadow: rgb(204, 204, 204) 4px 4px 12px; border: none !important; margin: 0px !important;\" /></li>\r\n   <li style=\"background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; line-height: 23.4px;\">An 802.11 chip that can send and receive data from an Arduino. &nbsp;I purchased the&nbsp;<a title=\"Adafruit cc3000\" href=\"https://www.adafruit.com/products/1469\" target=\"_blank\" style=\"background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #990000;\">CC3000 from AdaFruit</a>. &nbsp;AdaFruit has started to provide TI’s CC3000 WiFi chip. &nbsp;They wrote a library to talk to the CC3000 from an Arduino Sketch. &nbsp;<a title=\"Adafruit\'s web site\" href=\"http://www.adafruit.com/\" target=\"_blank\" style=\"background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #990000;\">Adafruit</a>&nbsp;is an excellent company to buy prototype parts from. &nbsp;The forums are awesome. &nbsp;Their tutorials are extremely helpful. &nbsp;I’ve been very happy with the product, support, and learning offered from Adafruit.</li>\r\n   <li style=\"background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; line-height: 23.4px;\">A web server</li>\r\n   <li style=\"background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; line-height: 23.4px;\">An Arduino sketch that communicates with the Web Server.</li>\r\n   </ul>\r\n<h1 style=\"background: 0px 0px rgb(255, 255, 255); border: 0px; font-size: 0.9236em; margin: 0px; outline: 0px; padding: 10px 0px; vertical-align: baseline; line-height: 1em; color: #333333; font-family: Verdana, Arial, Helvetica, sans-serif;\">The CC3000 is Connected…to the Arduino</h1>\r\n<p style=\"background: 0px 0px rgb(255, 255, 255); border: 0px; font-size: 13px; margin-bottom: 23px; outline: 0px; padding: 0px; vertical-align: baseline; line-height: 23.4px; color: #333333; font-family: Verdana, Arial, Helvetica, sans-serif;\">The first step is to get the CC3000 talking to the Arduino.</p>\r\n<p style=\"background: 0px 0px rgb(255, 255, 255); border: 0px; font-size: 13px; margin-bottom: 23px; outline: 0px; padding: 0px; vertical-align: baseline; line-height: 23.4px; color: #333333; font-family: Verdana, Arial, Helvetica, sans-serif;\">The CC3000 uses&nbsp;<a title=\"SPI explanation in SPI\" href=\"http://en.wikipedia.org/wiki/Serial_Peripheral_Interface_Bus\" target=\"_blank\" style=\"background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #990000;\">SPI</a>&nbsp;to talk to the Arduino. &nbsp;SPI supports multiple components talking to an Arduino. &nbsp;The Arduino acts as a master SPI device. &nbsp;The wiFi breakout acts as a slave. Different Arduinos use different pins to connect to SPI devices. &nbsp;The Arduino Uno uses pins:</p>\r\n<ul style=\"background: 0px 0px rgb(255, 255, 255); border: 0px; font-size: 13px; margin: 0px 0px 23px 1.5em; outline: 0px; padding: 0px; vertical-align: baseline; list-style: square; color: #333333; font-family: Verdana, Arial, Helvetica, sans-serif;\">\r\n   <li style=\"background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; line-height: 23.4px;\">13 to connect to a slave’s SCLK</li>\r\n   <li style=\"background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; line-height: 23.4px;\">12 to connect to a slave’s MISO</li>\r\n   <li style=\"background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; line-height: 23.4px;\">11 to connect to a slave’s MOSI</li>\r\n   <li style=\"background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; line-height: 23.4px;\">and usually a default of 10 to connect to a slave’s SS.</li>\r\n   </ul>\r\n<p style=\"background: 0px 0px rgb(255, 255, 255); border: 0px; font-size: 13px; margin-bottom: 23px; outline: 0px; padding: 0px; vertical-align: baseline; line-height: 23.4px; color: #333333; font-family: Verdana, Arial, Helvetica, sans-serif;\"><a href=\"https://bitknitting.files.wordpress.com/2013/09/wifitoarduino.jpeg\" style=\"background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #990000;\" target=\"_blank\"><img alt=\"wifiToArduino\" src=\"https://bitknitting.files.wordpress.com/2013/09/wifitoarduino.jpeg?w=529&amp;h=396\" width=\"529\" style=\"background: 0px 0px; border-width: 1px; border-style: solid; border-color: #dddddd rgb(204, 204, 204) rgb(204, 204, 204) rgb(221, 221, 221); border-image: initial; margin: 0.5em 0px 0px; outline: 0px; padding: 3px; vertical-align: baseline; height: auto; left: -4px; max-width: 100%; position: relative; box-shadow: rgb(204, 204, 204) 4px 4px 12px;\" /></a></p>\r\n<p style=\"background: 0px 0px rgb(255, 255, 255); border: 0px; font-size: 13px; margin-bottom: 23px; outline: 0px; padding: 0px; vertical-align: baseline; line-height: 23.4px; color: #333333; font-family: Verdana, Arial, Helvetica, sans-serif;\">You may want to refer to the&nbsp;<a title=\"Wikipedia entry on SPI\" href=\"http://en.wikipedia.org/wiki/Serial_Peripheral_Interface_Bus\" target=\"_blank\" style=\"background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #990000;\">SPI entry in Wikipedia</a>&nbsp;if the acronyms and what they represent are unfamiliar to you.</p>\r\n<p style=\"background: 0px 0px rgb(255, 255, 255); border: 0px; font-size: 13px; margin-bottom: 23px; outline: 0px; padding: 0px; vertical-align: baseline; line-height: 23.4px; color: #333333; font-family: Verdana, Arial, Helvetica, sans-serif;\">Each slave device needs a different pin to talk to the slave’s SS device. &nbsp;This can be a challenge because it means the component and the library that speaks to the Arduino must support configuring a different pin to SS. &nbsp;Components/libraries should do this easily so that multiple components can use SPI. &nbsp;Luckily Adafruit’s breakout does do this easily. Yay!</p>\r\n<p style=\"background: 0px 0px rgb(255, 255, 255); border: 0px; font-size: 13px; margin-bottom: 23px; outline: 0px; padding: 0px; vertical-align: baseline; line-height: 23.4px; color: #333333; font-family: Verdana, Arial, Helvetica, sans-serif;\">There will also be another RF component to talk between Arduinos within the house. This component will also use SPI. &nbsp;How this is handled will be discussed in a later post.</p>\r\n<p style=\"background: 0px 0px rgb(255, 255, 255); border: 0px; font-size: 13px; margin-bottom: 23px; outline: 0px; padding: 0px; vertical-align: baseline; line-height: 23.4px; color: #333333; font-family: Verdana, Arial, Helvetica, sans-serif;\">Once you have the cc3000 wired up to the Arduino, grab&nbsp;<a title=\"Adafruit\'s library on GitHub for the cc3000\" href=\"https://github.com/adafruit/Adafruit_CC3000_Library\" target=\"_blank\" style=\"background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #990000;\">AdaFruit’s cc3000 library on GitHub</a>&nbsp;library and run the buildtest sketch. &nbsp;Don’t forget to set the WiFi’s SSID and password to the values used on the WiFi you wish to connect to!</p>\r\n<p style=\"background: 0px 0px rgb(255, 255, 255); border: 0px; font-size: 13px; margin-bottom: 23px; outline: 0px; padding: 0px; vertical-align: baseline; line-height: 23.4px; color: #333333; font-family: Verdana, Arial, Helvetica, sans-serif;\">I got the following results when a ran the buildtest Example sketch that comes with Adafruit’s library:</p>\r\n<pre style=\"background: rgb(238, 238, 238); border: 0px; margin-top: 0px; margin-bottom: 20px; outline: 0px; padding: 20px 20.0938px; vertical-align: baseline; line-height: 15px; overflow: auto; font-family: Monaco, &quot;Courier New&quot;, Courier, monospace; color: #333333;\"><span style=\"background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;\">Hello, CC3000!\r\n</span><span style=\"background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;\">RX Buffer : 131 bytes</span><span style=\"background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;\">TX Buffer : 131 bytes</span><span style=\"background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;\">Free RAM: 1236</span><span style=\"background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;\">Initialising the CC3000 ...</span><span style=\"background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;\">Firmware V. : 1.19</span><span style=\"background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;\">MAC Address : 0x08 0x00 0x28 0x57 0x35 0x8E</span><span style=\"background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;\">Started AP/SSID scan</span><span style=\"background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;\">Networks found: 3</span><span style=\"background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;\">================================================</span><span style=\"background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;\">SSID Name : NETGEAR-lp</span><span style=\"background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;\">RSSI : 54</span><span style=\"background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;\">Security Mode: 3</span><span style=\"background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;\">SSID Name : henry2</span><span style=\"background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;\">RSSI : 78</span><span style=\"background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;\">Security Mode: 3</span><span style=\"background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;\">SSID Name : henry1</span><span style=\"background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;\">RSSI : 54</span><span style=\"background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;\">Security Mode: 3</span><span style=\"background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;\">================================================</span><span style=\"background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;\">Deleting old connection profiles</span><span style=\"background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;\">Attempting to connect to henry2</span><span style=\"background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;\">Started AP/SSID scan</span><span style=\"background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;\">Connecting to henry2...Waiting to connect...Connected!</span><span style=\"background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;\">Request DHCP</span><span style=\"background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;\">IP Addr: 192.168.1.218</span><span style=\"background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;\">Netmask: 255.255.255.0</span><span style=\"background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;\">Gateway: 192.168.1.1</span><span style=\"background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;\">DHCPsrv: 192.168.1.1</span><span style=\"background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;\">DNSserv: 192.168.1.5</span><span style=\"background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;\">www.adafruit.com -&gt; 0.0.0.0</span><span style=\"background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;\"> Pinging 0.0.0.0...Pinging 0.0.0.0 5 times</span><span style=\"background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;\">Req report</span><span style=\"background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;\">Reports: 1</span><span style=\"background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;\">Sent: 0</span><span style=\"background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;\">Recv: 0</span><span style=\"background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;\">MinT: 0</span><span style=\"background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;\">MaxT: 0</span><span style=\"background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;\">AvgT: 0</span><span style=\"background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;\">0 replies</span><span style=\"background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;\">Closing the connection\r\n</span></pre>\r\n<p style=\"background: 0px 0px rgb(255, 255, 255); border: 0px; font-size: 13px; margin-bottom: 23px; outline: 0px; padding: 0px; vertical-align: baseline; line-height: 23.4px; color: #333333; font-family: Verdana, Arial, Helvetica, sans-serif;\">Yippee! The CC3000 connected to the wireless network. &nbsp;BUT bummer…name resolution of&nbsp;<a href=\"http://www.adafruit.com/\" rel=\"nofollow\" style=\"background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #990000;\" target=\"_blank\">http://www.adafruit.com</a>&nbsp;did not return its address and pinging&nbsp;<a href=\"http://www.adafruit.com/\" rel=\"nofollow\" style=\"background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #990000;\" target=\"_blank\">http://www.adafruit.com</a>&nbsp;didn’t work. &nbsp;Typical isn’t it? &nbsp;There is excitement on what works “easily” in our prototypes and confusion (leading to frustration) on a few things that&nbsp;<em style=\"background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;\">should</em>&nbsp;work.</p>\r\n<p style=\"background: 0px 0px rgb(255, 255, 255); border: 0px; font-size: 13px; margin-bottom: 23px; outline: 0px; padding: 0px; vertical-align: baseline; line-height: 23.4px; color: #333333; font-family: Verdana, Arial, Helvetica, sans-serif;\">After several runs, the call to&nbsp;cc3000.getHostByName(WEBSITE, &amp;ip) resolved. &nbsp;This is certainly not robust. &nbsp;I assume I’ll run into this “bug” in the near future and thus will wait to debug further.</p>\r\n<pre style=\"background: rgb(238, 238, 238); border: 0px; margin-top: 0px; margin-bottom: 20px; outline: 0px; padding: 20px 20.0938px; vertical-align: baseline; line-height: 15px; overflow: auto; font-family: Monaco, &quot;Courier New&quot;, Courier, monospace; color: #333333;\">www.adafruit.com -&gt; 207.58.139.247\r\n Pinging 207.58.139.247...Pinging 207.58.139.247 5 times\r\nReq report\r\nReports: 2\r\nSent: 0\r\nRecv: 0\r\nMinT: 0\r\nMaxT: 0\r\nAvgT: 0\r\n0 replies</pre>\r\n<p style=\"background: 0px 0px rgb(255, 255, 255); border: 0px; font-size: 13px; margin-bottom: 23px; outline: 0px; padding: 0px; vertical-align: baseline; line-height: 23.4px; color: #333333; font-family: Verdana, Arial, Helvetica, sans-serif;\">However, pinging still doesn’t work. &nbsp;I can’t figure out why so I am asking about it within Adafruit’s forum.</p>\r\n<h1 style=\"background: 0px 0px rgb(255, 255, 255); border: 0px; font-size: 0.9236em; margin: 0px; outline: 0px; padding: 10px 0px; vertical-align: baseline; line-height: 1em; color: #333333; font-family: Verdana, Arial, Helvetica, sans-serif;\">Conversing with AdaFruit’s Web Server</h1>\r\n<p style=\"background: 0px 0px rgb(255, 255, 255); border: 0px; font-size: 13px; margin-bottom: 23px; outline: 0px; padding: 0px; vertical-align: baseline; line-height: 23.4px; color: #333333; font-family: Verdana, Arial, Helvetica, sans-serif;\">The Adafruit library includes another example sketch – WebClient.ino – that connects to&nbsp;<a href=\"http://www.adafruit.com/\" rel=\"nofollow\" style=\"background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #990000;\" target=\"_blank\">http://www.adafruit.com</a>&nbsp;and then sends an HTTP GET command:</p>\r\n<pre style=\"background: rgb(238, 238, 238); border: 0px; margin-top: 0px; margin-bottom: 20px; outline: 0px; padding: 20px 20.0938px; vertical-align: baseline; line-height: 15px; overflow: auto; font-family: Monaco, &quot;Courier New&quot;, Courier, monospace; color: #333333;\">GET&nbsp;/testwifi/index.html HTTP/1.0\r\nHost: www.adafruit.com\r\nConnection:close</pre>\r\n<p style=\"background: 0px 0px rgb(255, 255, 255); border: 0px; font-size: 13px; margin-bottom: 23px; outline: 0px; padding: 0px; vertical-align: baseline; line-height: 23.4px; color: #333333; font-family: Verdana, Arial, Helvetica, sans-serif;\"><span style=\"background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; font-style: inherit; line-height: 1.625;\">And Yippee! The cc3000 connected with&nbsp;<a href=\"http://www.adafruit.com/\" rel=\"nofollow\" style=\"background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #990000;\" target=\"_blank\">http://www.adafruit.com</a>&nbsp;and then returned the contents of&nbsp;<a href=\"http://www.adafruit.com/testwifi/index.html\" rel=\"nofollow\" style=\"background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #990000;\" target=\"_blank\">http://www.adafruit.com/testwifi/index.html</a>.</span></p>\r\n<p style=\"background: 0px 0px rgb(255, 255, 255); border: 0px; font-size: 13px; margin-bottom: 23px; outline: 0px; padding: 0px; vertical-align: baseline; line-height: 23.4px; color: #333333; font-family: Verdana, Arial, Helvetica, sans-serif;\"><span style=\"background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; font-style: inherit; line-height: 1.625;\">The sketch returned:</span></p>\r\n<pre style=\"background: rgb(238, 238, 238); border: 0px; margin-top: 0px; margin-bottom: 20px; outline: 0px; padding: 20px 20.0938px; vertical-align: baseline; line-height: 15px; overflow: auto; font-family: Monaco, &quot;Courier New&quot;, Courier, monospace; color: #333333;\">Hello, CC3000!\r\nFree RAM: 1125 bytes\r\nInitializing...\r\nStarted AP/SSID scan\r\nConnecting to henry2...Waiting to connect...Connected!\r\nRequest DHCP\r\nIP Addr: 192.168.1.218\r\nNetmask: 255.255.255.0\r\nGateway: 192.168.1.1\r\nDHCPsrv: 192.168.1.1\r\nDNSserv: 192.168.1.5\r\nwww.adafruit.com -&gt; 207.58.139.247Adafruit_CC3000_Client::Creating socket ... \r\nAdafruit_CC3000_Client::Created socket:0)\r\nAdafruit_CC3000_Client::Connect to 207.58.139.247:80\r\nAdafruit_CC3000_Client::Connecting socket ... \r\nAdafruit_CC3000_Client::DONE\r\n-------------------------------------\r\nHTTP/1.1 200 OK\r\nDate: Mon, 16 Sep 2013 15:45:22 GMT\r\nServer: Apache\r\nAccess-Control-Allow-Origin: http://learn.adafruit.com\r\nAccess-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept, Accept-Encoding, Authorization, Referer, User-Agent\r\nAccess-Control-Allow-Methods: GET, POST, OPTIONS\r\nAccess-Control-Allow-Credentials: true\r\nAccess-Control-Max-Age: 1728000\r\nLast-Modified: Thu, 27 Jun 2013 14:13:27 GMT\r\nAccept-Ranges: bytes\r\nContent-Length: 74\r\nConnection: close\r\nContent-Type: text/html\r\nThis is a test of the CC3000 module!\r\nIf you can read this, its working :)\r\nAdafruit_CC3000_Client::No more data, and closed!\r\n-------------------------------------</pre>\r\n<p style=\"background: 0px 0px rgb(255, 255, 255); border: 0px; font-size: 13px; margin-bottom: 23px; outline: 0px; padding: 0px; vertical-align: baseline; line-height: 23.4px; color: #333333; font-family: Verdana, Arial, Helvetica, sans-serif;\">On to&nbsp;<a href=\"https://bitknitting.wordpress.com/2013/09/16/test-send-data-from-arduino-to-a-web-server/index.php?p=162\" style=\"background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #990000;\" target=\"_blank\">sending data from the cc3000 to a web server running on the same intranet</a>.</p>','https://bitknitting.wordpress.com/2013/09/16/test-send-data-from-arduino-to-a-web-server/','',0,0,1,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 14:36:17',0,'2019-04-26 14:36:17','210.101.103.92','','','','','','','','','','','',''),(240,-240,'',240,0,0,'','','html1','[ETC] 구글 검색방법 팁 모음','<p><span style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; text-align: center; background-color: #ffffff; font-size: 11pt;\"><span style=\"font-size: 11pt;\"><span style=\"font-size: 11pt;\">인터넷을 찾다가 여러가지방법으로 구글에서 검색할수 있는 방법이 있어서 가지고 왔습니다. 글만 있어 사진에 대한 설명은 제가 추가하지만 어찌되었던</span></span></span><span style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; text-align: center; background-color: #ffffff; font-size: 11pt;\"><span style=\"font-size: 11pt;\">&nbsp;</span></span><span style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; text-align: center; background-color: #ffffff; font-size: 11pt;\"><span style=\"font-size: 11pt;\"><span style=\"font-size: 11pt;\">원출처가 제대로 명시되어있는 글이 없는데 혹시 아시는 분은 알려주시길 바랍니다.</span></span></span><span style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; text-align: center; background-color: #ffffff; font-size: 11pt;\"><span style=\"font-size: 11pt;\"><span style=\"font-size: 11pt;\">&nbsp;구글을 자주 애용하시는 분이라면 유용한 팁일것 같아요!</span></span></span><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /></p>\r\n<div class=\"txc-textbox\" style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; border-style: solid; border-width: 1px; border-color: #fefeb8; background-color: #fefeb8; padding: 10px;\"><font color=\"#ff8b16\"><b><span style=\"font-size: 11pt;\">구글 검색방법, 검색엔진 제대로 활용하기</span></b></font><br /></div>\r\n<p><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /></p>\r\n<p style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\"><span style=\"font-size: 11pt;\"><span style=\"font-size: 11pt;\"></span></span></p>\r\n<div class=\"imageblock center\" style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff; clear: both;\"><img src=\"https://t1.daumcdn.net/cfile/tistory/133D94465174A8B41C\" width=\"602\" alt=\"\" filename=\"1.jpg\" filemime=\"image/jpeg\" style=\"border: none; cursor: pointer; max-width: 100%; height: auto;\" /></div>\r\n<p style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\">&nbsp;</p>\r\n<p><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /></p>\r\n<div class=\"txc-textbox\" style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; border-style: solid; border-width: 1px; border-color: #eeeeee; background-color: #eeeeee; padding: 10px;\"><b><font color=\"#801fbf\"><span style=\"font-size: 11pt;\">1. 반드시 포함될 단어/문장을 지정하기</span></font></b></div>\r\n<p><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><span style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; text-align: center; background-color: #ffffff; font-size: 11pt;\"><span style=\"font-size: 11pt;\">- 검색어의 처음과 끝에 큰 따옴표(\")를 입력하면</span></span><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><span style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; text-align: center; background-color: #ffffff; font-size: 11pt;\"><span style=\"font-size: 11pt;\">해당 단어나 문장이 반드시 포함된 사이트만 검색할 수 있습니다.</span></span><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><span style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; text-align: center; background-color: #ffffff; font-size: 11pt;\"><span style=\"font-size: 11pt;\">&nbsp;</span></span><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><span style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; text-align: center; background-color: #ffffff; font-size: 11pt;\"><span style=\"font-size: 11pt;\">ex) \"강남 스타일\" 을 구글 검색어 창에 입력하면 정확히 강남 스타일이 표시 된 검색어만 보여줍니다.</span></span><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><span style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; text-align: center; background-color: #ffffff; font-size: 11pt;\"><span style=\"font-size: 11pt;\">&nbsp;</span></span><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /></p>\r\n<p style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\"><span style=\"font-size: 11pt;\"><span style=\"font-size: 11pt;\"></span></span></p>\r\n<div class=\"imageblock center\" style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff; clear: both;\"><img src=\"https://t1.daumcdn.net/cfile/tistory/1959EE405174AA0113\" width=\"541\" alt=\"\" filename=\"2.jpg\" filemime=\"image/jpeg\" style=\"border: none; cursor: pointer; max-width: 100%; height: auto;\" /></div>\r\n<p style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\">&nbsp;</p>\r\n<p><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><span style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; text-align: center; background-color: #ffffff; font-size: 11pt;\"><span style=\"font-size: 11pt;\">강남스타일의 임팩트가 강해서인지 \"강남스타일\"일이나 강남스타일 둘다 서치를 했을때 동일하게 결과가 나왔습니다.&nbsp;</span></span><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><span style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; text-align: center; background-color: #ffffff; font-size: 11pt;\"></span><span style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; text-align: center; background-color: #ffffff; font-size: 11pt;\">워낙에 실시간검색어 자체는 기사가 많이 쏟아지기 때문에 그러는것 같네요. 그래서 다시 이번엔 실시간 검색어가 아닌 다른 검색어를 넣어보기로 했습니다. 아담스미스의 국부론에 따옴표를 붙혀서 검색해보았습니다.</span><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /></p>\r\n<p style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\"><span style=\"font-size: 11pt;\"></span></p>\r\n<div class=\"imageblock center\" style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff; clear: both;\"><img src=\"https://t1.daumcdn.net/cfile/tistory/254B84445174ACDB26\" width=\"536\" alt=\"\" filename=\"4.jpg\" filemime=\"image/jpeg\" style=\"border: none; cursor: pointer; max-width: 100%; height: auto;\" /></div>\r\n<p style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\">&nbsp;</p>\r\n<p align=\"center\" style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; background-color: #ffffff;\"><span style=\"font-size: 11pt;\">\"아담스미스국부론\"</span><br /></p>\r\n<p style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\"><br /></p>\r\n<p style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\"><span style=\"font-size: 11pt;\"></span></p>\r\n<div class=\"imageblock center\" style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff; clear: both;\"><img src=\"https://t1.daumcdn.net/cfile/tistory/274B84445174ACDC27\" width=\"521\" alt=\"\" filename=\"5.jpg\" filemime=\"image/jpeg\" style=\"border: none; cursor: pointer; max-width: 100%; height: auto;\" /></div>\r\n<p style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\">&nbsp;</p>\r\n<div align=\"center\" style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; background-color: #ffffff;\"><span style=\"font-size: 11pt;\">아담스미스국부론</span><br /></div>\r\n<p><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><span style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; text-align: center; background-color: #ffffff; font-size: 11pt;\">살짝 차이가 보이네요. 따옴표를 쳐서 검색한것이 좀더 포커스가 되어서 검색이 되었습니다.</span><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /></p>\r\n<div class=\"txc-textbox\" style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; border-style: solid; border-width: 1px; border-color: #eeeeee; background-color: #eeeeee; padding: 10px;\"><b><font color=\"#801fbf\"><span style=\"font-size: 11pt;\">2. 제외할 검색어를 지정하기</span></font></b></div>\r\n<p><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><span style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; text-align: center; background-color: #ffffff; font-size: 11pt;\"><span style=\"font-size: 11pt;\">- 검색어 앞에 마이너스(-)를 입력하면 해당 검색어를 제외한 결과를 표시합니다.</span></span><span style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; text-align: center; background-color: #ffffff; font-size: 11pt;\"><span style=\"font-size: 11pt;\"></span></span><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><span style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; text-align: center; background-color: #ffffff; font-size: 11pt;\"><span style=\"font-size: 11pt;\">ex) 갤럭시 -아이폰 을 구글 검색어 창에 입력하면 아이폰을 제외한 갤럭시에 대한 검색 결과를 표시해줍니다.</span></span><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><span style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; text-align: center; background-color: #ffffff; font-size: 11pt;\">굳이 그냥 갤럭시라고 검색해도 되는걸...</span><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><span style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; text-align: center; background-color: #ffffff; font-size: 11pt;\">아담스미스-국부론 이렇게 검색해보니 신기하게 아담스미스만 나왔습니다.</span><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><span style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; text-align: center; background-color: #ffffff; font-size: 11pt;\"><span style=\"font-size: 11pt;\">&nbsp;</span></span><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /></p>\r\n<p style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\">&nbsp;</p>\r\n<div class=\"imageblock center\" style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff; clear: both;\"><img src=\"https://t1.daumcdn.net/cfile/tistory/2516D5425174AF4F0E\" width=\"787\" alt=\"\" filename=\"6.jpg\" filemime=\"image/jpeg\" style=\"border: none; cursor: pointer; max-width: 100%; height: auto;\" /></div>\r\n<p style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\">&nbsp;</p>\r\n<p><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><span style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; text-align: center; background-color: #ffffff; font-size: 11pt;\"><span style=\"font-size: 11pt;\">&nbsp;</span></span></p>\r\n<div class=\"txc-textbox\" style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; border-style: solid; border-width: 1px; border-color: #eeeeee; background-color: #eeeeee; padding: 10px;\"><font color=\"#801fbf\"><b><span style=\"font-size: 11pt;\">3. 유의어를 검색하기</span></b></font></div>\r\n<p><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><span style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; text-align: center; background-color: #ffffff; font-size: 11pt;\"><span style=\"font-size: 11pt;\"><br />- 검색어 앞에 물결표시(~)를 입력하면 검색어와 유의한 의미를 가진 자료를 보여줍니다.</span></span><span style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; text-align: center; background-color: #ffffff; font-size: 11pt;\"><span style=\"font-size: 11pt;\">&nbsp;</span></span><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><span style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; text-align: center; background-color: #ffffff; font-size: 11pt;\"><span style=\"font-size: 11pt;\">ex) ~저렴한 맛집 을 구글 검색어 창에 입력하면 저렴한과 비슷한 의미를 가진 여러가지 검색어를 같이 보여줍니다.</span></span><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><span style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; text-align: center; background-color: #ffffff; font-size: 11pt;\"><span style=\"font-size: 11pt;\">&nbsp;</span></span><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><span style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; text-align: center; background-color: #ffffff; font-size: 11pt;\"><span style=\"font-size: 11pt;\"></span></span></p>\r\n<div class=\"txc-textbox\" style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; border-style: solid; border-width: 1px; border-color: #eeeeee; background-color: #eeeeee; padding: 10px;\"><b><font color=\"#801fbf\"><span style=\"font-size: 11pt;\">4. 단어의 정의를 검색하기</span></font></b></div>\r\n<p><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><span style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; text-align: center; background-color: #ffffff; font-size: 11pt;\"><span style=\"font-size: 11pt;\">- 검색어 앞에 \'define:\' 을 입력 후에 검색하면 해당 검색어의 정의를 보여줍니다.</span></span><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><span style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; text-align: center; background-color: #ffffff; font-size: 11pt;\"><span style=\"font-size: 11pt;\">&nbsp;ex) define:우주 를 검색하면 가장 상단에 우주에 대한 사전적 정의를 보여줍니다.</span></span><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><span style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; text-align: center; background-color: #ffffff; font-size: 11pt;\"><span style=\"font-size: 11pt;\">&nbsp;</span></span><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><span style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; text-align: center; background-color: #ffffff; font-size: 11pt;\"><span style=\"font-size: 11pt;\"></span></span><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /></p>\r\n<p style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\">&nbsp;</p>\r\n<div class=\"imageblock center\" style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff; clear: both;\"><img src=\"https://t1.daumcdn.net/cfile/tistory/023E5B4B5174B0ED0C\" width=\"790\" alt=\"\" filename=\"7.jpg\" filemime=\"image/jpeg\" style=\"border: none; cursor: pointer; max-width: 100%; height: auto;\" /></div>\r\n<p style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\">&nbsp;</p>\r\n<p><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><span style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; text-align: center; background-color: #ffffff; font-size: 11pt;\">Define 우주 로 해보니 안되고 Define; 우주도 안되고 오직 Define : 우주로 검색해야합니다.&nbsp;</span><span style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; text-align: center; background-color: #ffffff; font-size: 11pt;\">융통성이...</span><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><span style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; text-align: center; background-color: #ffffff; font-size: 11pt;\"><span style=\"font-size: 11pt;\"><span style=\"font-size: 11pt;\">&nbsp;</span></span></span><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /></p>\r\n<div class=\"txc-textbox\" style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; border-style: solid; border-width: 1px; border-color: #eeeeee; background-color: #eeeeee; padding: 10px;\"><font color=\"#801fbf\"><b><span style=\"font-size: 11pt;\">5. 계산기</span></b></font></div>\r\n<p><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><span style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; text-align: center; background-color: #ffffff; font-size: 11pt;\"><span style=\"font-size: 11pt;\">- 단순한 사칙연산 및 수식을 입력하면 계산기가 수식을 계산하여 줍니다.</span></span><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><span style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; text-align: center; background-color: #ffffff; font-size: 11pt;\"><span style=\"font-size: 11pt;\">또한 \'<font color=\"#5fb636\">answer to life the universe and everything =(삶, 우주, 그리고 모든것에 대한 해답)</font>\' 을 입력하면 \'<font color=\"#5fb636\">42</font>\' 라는 결과가 표시됩니다.</span></span><span style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; text-align: center; background-color: #ffffff; font-size: 11pt;\"><span style=\"font-size: 11pt;\">&nbsp;이는&nbsp;<font color=\"#c8056a\">은하수를 여행하는 히치하이커를 위한 안내서</font>라는 작품에 나오는 결과로 이스터에그입니다.</span></span><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><span style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; text-align: center; background-color: #ffffff; font-size: 11pt;\"><span style=\"font-size: 11pt;\">&nbsp;ex) 1+2+3+4+5= 를 검색하면 가장 상단에 해당 수식의 해답을 보여줍니다.</span></span><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><span style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; text-align: center; background-color: #ffffff; font-size: 11pt;\"><span style=\"font-size: 11pt;\">&nbsp;</span></span><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /></p>\r\n<p style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\">&nbsp;</p>\r\n<div class=\"imageblock center\" style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff; clear: both;\"><img src=\"https://t1.daumcdn.net/cfile/tistory/034D874A5174B21415\" width=\"787\" alt=\"\" filename=\"8.jpg\" filemime=\"image/jpeg\" style=\"border: none; cursor: pointer; max-width: 100%; height: auto;\" /></div>\r\n<p style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\">&nbsp;</p>\r\n<p><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><span style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; text-align: center; background-color: #ffffff; font-size: 11pt;\"><span style=\"font-size: 11pt;\"></span></span><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /></p>\r\n<div class=\"txc-textbox\" style=\"border-style: solid; border-width: 1px; border-color: #eeeeee; background-color: #eeeeee; padding: 10px;\"><span style=\"font-size: 11pt;\">6. 빈 칸 채우기</span></div>\r\n<p><font color=\"#801fbf\" style=\"font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\"><b><span style=\"font-size: 11pt;\"><span style=\"font-size: 11pt;\"></span></span></b></font><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><span style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; text-align: center; background-color: #ffffff; font-size: 11pt;\"><span style=\"font-size: 11pt;\">- 정확한 검색어가 떠오르지 않을 때에는</span></span><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><span style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; text-align: center; background-color: #ffffff; font-size: 11pt;\"><span style=\"font-size: 11pt;\">문장 사이에 별표(*) 를 입력하면 빈 자리를 체워서 결과를 표시해줍니다.</span></span><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><span style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; text-align: center; background-color: #ffffff; font-size: 11pt;\"><span style=\"font-size: 11pt;\">&nbsp;ex) 아인슈타인 * 이론 을 검색하면 아이슈타인의 이론인 상대성이론을 같이 표시하여 줍니다.</span></span><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><span style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; text-align: center; background-color: #ffffff; font-size: 11pt;\"><span style=\"font-size: 11pt;\">&nbsp;</span></span><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /></p>\r\n<p style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\">&nbsp;</p>\r\n<div class=\"imageblock center\" style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff; clear: both;\"><img src=\"https://t1.daumcdn.net/cfile/tistory/262DC9425174B2E70E\" width=\"789\" alt=\"\" filename=\"9.jpg\" filemime=\"image/jpeg\" style=\"border: none; cursor: pointer; max-width: 100%; height: auto;\" /></div>\r\n<p style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\">&nbsp;</p>\r\n<p><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><span style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; text-align: center; background-color: #ffffff; font-size: 11pt;\"><span style=\"font-size: 11pt;\"></span></span><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><span style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; text-align: center; background-color: #ffffff; font-size: 11pt;\"><span style=\"font-size: 11pt;\">&nbsp;</span></span></p>\r\n<div class=\"txc-textbox\" style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; border-style: solid; border-width: 1px; border-color: #eeeeee; background-color: #eeeeee; padding: 10px;\"><font color=\"#801fbf\"><b><span style=\"font-size: 11pt;\">7. 환율 및 단위 변환</span></b></font></div>\r\n<p><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><span style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; text-align: center; background-color: #ffffff; font-size: 11pt;\"><span style=\"font-size: 11pt;\">- 환율 및 단위를 변환 할 때에는 이퀄(=) 을 사용하면 편리합니다</span></span><span style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; text-align: center; background-color: #ffffff; font-size: 11pt;\"><span style=\"font-size: 11pt;\"></span></span><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><span style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; text-align: center; background-color: #ffffff; font-size: 11pt;\"><span style=\"font-size: 11pt;\">ex) 1달러 = ?원 을 검색하면 현재 환율에 따른 1달러에 대한 원화를 보여줍니다.</span></span><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><span style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; text-align: center; background-color: #ffffff; font-size: 11pt;\"><span style=\"font-size: 11pt;\">&nbsp;</span></span><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><span style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; text-align: center; background-color: #ffffff; font-size: 11pt;\"><span style=\"font-size: 11pt;\">&nbsp;</span></span><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /></p>\r\n<p style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\">&nbsp;</p>\r\n<div class=\"imageblock center\" style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff; clear: both;\"><img src=\"https://t1.daumcdn.net/cfile/tistory/2129A53E5174B37628\" width=\"794\" alt=\"\" filename=\"10.jpg\" filemime=\"image/jpeg\" style=\"border: none; cursor: pointer; max-width: 100%; height: auto;\" /></div>\r\n<p style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\">&nbsp;</p>\r\n<p><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><span style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; text-align: center; background-color: #ffffff; font-size: 11pt;\"><span style=\"font-size: 11pt;\">&nbsp;</span></span><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /></p>\r\n<div class=\"txc-textbox\" style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; border-style: solid; border-width: 1px; border-color: #eeeeee; background-color: #eeeeee; padding: 10px;\"><b><font color=\"#801fbf\"><span style=\"font-size: 11pt;\">8. 날씨 검색</span></font></b></div>\r\n<p><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><span style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; text-align: center; background-color: #ffffff; font-size: 11pt;\"><span style=\"font-size: 11pt;\">- 검색어에 지역명과 날씨를 검색하면 날씨를 표시해줍니다.</span></span><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><span style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; text-align: center; background-color: #ffffff; font-size: 11pt;\"><span style=\"font-size: 11pt;\">ex) 의정부 날씨 를 검색하면 현재 의정부지역의 날씨를 검색하여 줍니다.</span></span><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><span style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; text-align: center; background-color: #ffffff; font-size: 11pt;\"><span style=\"font-size: 11pt;\">&nbsp;</span></span><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /></p>\r\n<p style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\">&nbsp;</p>\r\n<div class=\"imageblock center\" style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff; clear: both;\"><img src=\"https://t1.daumcdn.net/cfile/tistory/137ECF3B5174B3D929\" width=\"789\" alt=\"\" filename=\"11.jpg\" filemime=\"image/jpeg\" style=\"border: none; cursor: pointer; max-width: 100%; height: auto;\" /></div>\r\n<p style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\">&nbsp;</p>\r\n<p><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><span style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; text-align: center; background-color: #ffffff; font-size: 11pt;\"><span style=\"font-size: 11pt;\"></span></span><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><span style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; text-align: center; background-color: #ffffff; font-size: 11pt;\"><span style=\"font-size: 11pt;\">&nbsp;</span></span></p>\r\n<div class=\"txc-textbox\" style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; border-style: solid; border-width: 1px; border-color: #eeeeee; background-color: #eeeeee; padding: 10px;\"><b><font color=\"#801fbf\"><span style=\"font-size: 11pt;\">9. 숫자의 범위 지정하기</span></font></b></div>\r\n<p><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><span style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; text-align: center; background-color: #ffffff; font-size: 11pt;\"><span style=\"font-size: 11pt;\">- 검색할 숫자 사이에 마침표 두개를 입력하여 검색하면 숫자 범위 내의 검색 결과를 보여줍니다.</span></span><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><span style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; text-align: center; background-color: #ffffff; font-size: 11pt;\"><span style=\"font-size: 11pt;\">단순 숫자 뿐만 아니라 단위 역시 가능합니다.</span></span><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><span style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; text-align: center; background-color: #ffffff; font-size: 11pt;\"><span style=\"font-size: 11pt;\">ex) 2010년..2012년 선물 를 검색하면 2010년~2012년 과 선물이 포함된 검색어를 보여줍니다.</span></span><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><span style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; text-align: center; background-color: #ffffff; font-size: 11pt;\"><span style=\"font-size: 11pt;\">&nbsp;</span></span><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><span style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; text-align: center; background-color: #ffffff; font-size: 11pt;\"><span style=\"font-size: 11pt;\"></span></span></p>\r\n<div class=\"txc-textbox\" style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; border-style: solid; border-width: 1px; border-color: #eeeeee; background-color: #eeeeee; padding: 10px;\"><font color=\"#801fbf\"><b><span style=\"font-size: 11pt;\">10. 두 단어 중 아무거나 검색하기</span></b></font></div>\r\n<p><span style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; text-align: center; background-color: #ffffff; font-size: 11pt;\"><span style=\"font-size: 11pt;\"></span></span><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, Dotum, 돋움, Gulim, 굴림, Verdana, Arial, &quot;Trebuchet MS&quot;; font-size: 13px; text-align: center; background-color: #ffffff;\" /><br style=\"color: #333333; font-family: NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;','https://alexhunter.tistory.com/120','',0,0,1,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 14:37:02',0,'2019-04-26 14:37:02','210.101.103.92','','','','','','','','','','','',''),(241,-241,'',241,0,0,'','','html1','[Linux] fgrep 사용팁','<p><span style=\"color: #404040; font-family: 굴림;\">fgrep -r -n enkyma0909 ./&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">예를 들어보자면 현재 android 전체 소스에서 abcd 라는 문자열을 가진 파일을 검색하고 line number를 표시 하는데&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">.repo 와 .git 에 있는 내용은 검색하지 않고 싶다면&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">grep -r -n --exclude-dir=.git --exclude-dir=.repo abcd ./</span></p>','','',0,0,1,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 14:37:23',0,'2019-04-26 14:37:23','210.101.103.92','','','','','','','','','','','',''),(242,-242,'',242,0,0,'','','html1','[Arduino] SR-3156K 3ch Type 7-Segment 자료','<p><span style=\"color: #404040; font-family: 굴림;\">-FND : SR-3156K (엘레파츠구매)&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">-참고 블로그 사이트 :&nbsp;</span><a href=\"http://knight76.tistory.com/entry/7-segment-fnd-%EC%A0%95%EB%A6%AC\" target=\"_new\" style=\"text-decoration-line: none; color: #3a4e40; font-family: 굴림;\">http://knight76.tistory.com/entry/7-segment-fnd-%EC%A0%95%EB%A6%AC</a><span style=\"color: #404040; font-family: 굴림;\">&nbsp;</span></p>\r\n<p style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\">다시 7 segment로 count down(카운트 다운)을 다시 만들려고 하니. 갑갑해졌다.&nbsp;<br />정보도 찾기 힘들고. 이번기회에 정리해야지.<br /><br />7 segment에 대한 좋은 정보는 여기서 확인할 수 있다.<br />anode type, cathod type이 있다는 것을 처음 알았다. 다 같은 녀석인줄 알았더니 아니구나.<br /><br /><a href=\"http://cafe.naver.com/digiglue.cafe?iframe_url=/ArticleRead.nhn%3Farticleid=25\" style=\"color: #333333; text-decoration-line: none;\" target=\"_blank\">http://cafe.naver.com/digiglue.cafe?iframe_url=/ArticleRead.nhn%3Farticleid=25</a>&amp;<br /><br /><br /><br />내가 가지고 있는 제품은 udg-1056A 라는 7 segment이다.<br /><br /></p>\r\n<p style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\">&nbsp;</p>\r\n<div class=\"imageblock center\" style=\"border: 1px solid rgb(221, 221, 221); padding: 5px 0px; margin: 5px 0px; text-align: center; color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff; clear: both;\"><span data-url=\"https://t1.daumcdn.net/cfile/tistory/115E843C4EB1F77D0F?download\" data-lightbox=\"lightbox\" style=\"cursor: pointer;\"><img src=\"https://t1.daumcdn.net/cfile/tistory/115E843C4EB1F77D0F\" width=\"262\" alt=\"\" filename=\"7segment.jpg\" filemime=\"image/jpeg\" style=\"border: 0px; cursor: pointer; max-width: 100%; height: auto;\" /></span></div>\r\n<p style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\">&nbsp;</p>\r\n<p style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\">&nbsp;</p>\r\n<div class=\"imageblock center\" style=\"border: 1px solid rgb(221, 221, 221); padding: 5px 0px; margin: 5px 0px; text-align: center; color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff; clear: both;\"><span data-url=\"https://t1.daumcdn.net/cfile/tistory/205E843C4EB1F77D10?download\" data-lightbox=\"lightbox\" style=\"cursor: pointer;\"><img src=\"https://t1.daumcdn.net/cfile/tistory/205E843C4EB1F77D10\" width=\"124\" alt=\"\" filename=\"7segment1.jpg\" filemime=\"image/jpeg\" style=\"border: 0px; cursor: pointer; max-width: 100%; height: auto;\" /></span></div>\r\n<p style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\">&nbsp;</p>\r\n<p style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\">&nbsp;</p>\r\n<div class=\"imageblock center\" style=\"border: 1px solid rgb(221, 221, 221); padding: 5px 0px; margin: 5px 0px; text-align: center; color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff; clear: both;\"><span data-url=\"https://t1.daumcdn.net/cfile/tistory/115E843C4EB1F77D11?download\" data-lightbox=\"lightbox\" style=\"cursor: pointer;\"><img src=\"https://t1.daumcdn.net/cfile/tistory/115E843C4EB1F77D11\" width=\"116\" alt=\"\" filename=\"7segment2.jpg\" filemime=\"image/jpeg\" style=\"border: 0px; cursor: pointer; max-width: 100%; height: auto;\" /></span></div>\r\n<p style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\">&nbsp;</p>\r\n<p><br style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\" /><br style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\" /><br style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\" /><br style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\" /><span style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\">아두이노 핀과 7 segment와 잘 연결한다.&nbsp;</span><br style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\" /><br style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\" /><br style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\" /></p>\r\n<table border=\"1\" cellpadding=\"2\" width=\"231\" align=\"center\" height=\"253\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\">\r\n   <tbody>\r\n      <tr>\r\n         <td align=\"middle\"><strong>Arduino Pin</strong></td>\r\n         <td align=\"middle\"><strong>7 Segment Pin Connection<br /></strong></td>\r\n         </tr>\r\n      <tr>\r\n         <td align=\"middle\">&nbsp;2</td>\r\n         <td align=\"middle\">7 (A)<br /></td>\r\n         </tr>\r\n      <tr>\r\n         <td align=\"middle\">&nbsp;3</td>\r\n         <td align=\"middle\">6 (B)<br /></td>\r\n         </tr>\r\n      <tr>\r\n         <td align=\"middle\">&nbsp;4</td>\r\n         <td align=\"middle\">4 (C)</td>\r\n         </tr>\r\n      <tr>\r\n         <td align=\"middle\">&nbsp;5</td>\r\n         <td align=\"middle\">2 (D)<br /></td>\r\n         </tr>\r\n      <tr>\r\n         <td align=\"middle\">&nbsp;6</td>\r\n         <td align=\"middle\">1 (E)</td>\r\n         </tr>\r\n      <tr>\r\n         <td align=\"middle\">&nbsp;7</td>\r\n         <td align=\"middle\">9 (F)</td>\r\n         </tr>\r\n      <tr>\r\n         <td align=\"middle\">&nbsp;8&nbsp;</td>\r\n         <td align=\"middle\">&nbsp;10 (G)</td>\r\n         </tr>\r\n      <tr>\r\n         <td align=\"middle\">&nbsp;9&nbsp;</td>\r\n         <td align=\"middle\">5 (DP)<br /></td>\r\n         </tr>\r\n      </tbody>\r\n   </table>\r\n<p><br style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\" /><br style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\" /><span style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\">8 번 GND과 3.3V connection pin 사이에 저항을 잘 둔다.</span><br style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\" /><br style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\" /></p>\r\n<p style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\">&nbsp;</p>\r\n<div class=\"imageblock center\" style=\"border: 1px solid rgb(221, 221, 221); padding: 5px 0px; margin: 5px 0px; text-align: center; color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff; clear: both;\"><span data-url=\"https://t1.daumcdn.net/cfile/tistory/172B0B3A4EB1F8F41C?download\" data-lightbox=\"lightbox\" style=\"cursor: pointer;\"><img src=\"https://t1.daumcdn.net/cfile/tistory/172B0B3A4EB1F8F41C\" width=\"600\" alt=\"\" filename=\"IMG_0916.jpg\" filemime=\"image/jpeg\" style=\"border: 0px; cursor: pointer; max-width: 100%; height: auto;\" /></span></div>\r\n<p style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\">&nbsp;</p>\r\n<p style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\"><br /><br /><br />간단한 count down 코드 테스트<br /><br /><br /></p>\r\n<div class=\"txc-textbox\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; border-width: 1px; border-style: solid; border-color: #fefeb8; padding: 10px; background-color: #fefeb8;\">\r\n   <p>void setup() {&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp; pinMode(2, OUTPUT);&nbsp;&nbsp;<br />&nbsp; pinMode(3, OUTPUT);<br />&nbsp; pinMode(4, OUTPUT);<br />&nbsp; pinMode(5, OUTPUT);<br />&nbsp; pinMode(6, OUTPUT);<br />&nbsp; pinMode(7, OUTPUT);<br />&nbsp; pinMode(8, OUTPUT);<br />&nbsp; pinMode(9, OUTPUT);<br />&nbsp; digitalWrite(9, 0);&nbsp; // start with the \"dot\" off<br />}</p>\r\n   <p>void loop() {<br />&nbsp;// write \'9\'<br />&nbsp;digitalWrite(2, 0);<br />&nbsp;digitalWrite(3, 0);<br />&nbsp;digitalWrite(4, 0);<br />&nbsp;digitalWrite(5, 1);<br />&nbsp;digitalWrite(6, 1);<br />&nbsp;digitalWrite(7, 0);<br />&nbsp;digitalWrite(8, 0);<br />&nbsp;delay(1000);</p>\r\n   <p>&nbsp;// write \'8\'<br />&nbsp;digitalWrite(2, 0);<br />&nbsp;digitalWrite(3, 0);<br />&nbsp;digitalWrite(4, 0);<br />&nbsp;digitalWrite(5, 0);<br />&nbsp;digitalWrite(6, 0);<br />&nbsp;digitalWrite(7, 0);<br />&nbsp;digitalWrite(8, 0);<br />&nbsp;delay(1000);<br />&nbsp;<br />&nbsp;// write \'7\'<br />&nbsp;digitalWrite(2, 0);<br />&nbsp;digitalWrite(3, 0);<br />&nbsp;digitalWrite(4, 0);<br />&nbsp;digitalWrite(5, 1);<br />&nbsp;digitalWrite(6, 1);<br />&nbsp;digitalWrite(7, 1);<br />&nbsp;digitalWrite(8, 1);<br />&nbsp;delay(1000);<br />&nbsp;// write \'6\'<br />&nbsp;digitalWrite(2, 0);<br />&nbsp;digitalWrite(3, 1);<br />&nbsp;digitalWrite(4, 0);<br />&nbsp;digitalWrite(5, 0);<br />&nbsp;digitalWrite(6, 0);<br />&nbsp;digitalWrite(7, 0);<br />&nbsp;digitalWrite(8, 0);<br />&nbsp;delay(1000);<br />&nbsp;// write \'5\'<br />&nbsp;digitalWrite(2, 0);<br />&nbsp;digitalWrite(3, 1);<br />&nbsp;digitalWrite(4, 0);<br />&nbsp;digitalWrite(5, 0);<br />&nbsp;digitalWrite(6, 1);<br />&nbsp;digitalWrite(7, 0);<br />&nbsp;digitalWrite(8, 0);<br />&nbsp;delay(1000);</p>\r\n   <p>&nbsp;// write \'4\'<br />&nbsp;digitalWrite(2, 1);<br />&nbsp;digitalWrite(3, 0);<br />&nbsp;digitalWrite(4, 0);<br />&nbsp;digitalWrite(5, 1);<br />&nbsp;digitalWrite(6, 1);<br />&nbsp;digitalWrite(7, 0);<br />&nbsp;digitalWrite(8, 0);<br />&nbsp;delay(1000);<br />&nbsp;// write \'3\'<br />&nbsp;digitalWrite(2, 0);<br />&nbsp;digitalWrite(3, 0);<br />&nbsp;digitalWrite(4, 0);<br />&nbsp;digitalWrite(5, 0);<br />&nbsp;digitalWrite(6, 1);<br />&nbsp;digitalWrite(7, 1);<br />&nbsp;digitalWrite(8, 0);<br />&nbsp;delay(1000);<br />&nbsp;// write \'2\'<br />&nbsp;digitalWrite(2, 0);<br />&nbsp;digitalWrite(3, 0);<br />&nbsp;digitalWrite(4, 1);<br />&nbsp;digitalWrite(5, 0);<br />&nbsp;digitalWrite(6, 0);<br />&nbsp;digitalWrite(7, 1);<br />&nbsp;digitalWrite(8, 0);<br />&nbsp;delay(1000);<br />&nbsp;// write \'1\'<br />&nbsp;digitalWrite(2, 1);<br />&nbsp;digitalWrite(3, 0);<br />&nbsp;digitalWrite(4, 0);<br />&nbsp;digitalWrite(5, 1);<br />&nbsp;digitalWrite(6, 1);<br />&nbsp;digitalWrite(7, 1);<br />&nbsp;digitalWrite(8, 1);<br />&nbsp;delay(1000);<br />&nbsp;// write \'0\'<br />&nbsp;digitalWrite(2, 0);<br />&nbsp;digitalWrite(3, 0);<br />&nbsp;digitalWrite(4, 0);<br />&nbsp;digitalWrite(5, 0);<br />&nbsp;digitalWrite(6, 0);<br />&nbsp;digitalWrite(7, 0);<br />&nbsp;digitalWrite(8, 1);<br />&nbsp;delay(4000);</p>\r\n   <p>}<br />&nbsp;<br /></p>\r\n   <br /></div>\r\n<p style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\"><br /><br /><br />여기서 배열을 사용한 사례이다.&nbsp;<br /><br /></p>\r\n<div class=\"txc-textbox\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; border-width: 1px; border-style: solid; border-color: #fefeb8; padding: 10px; background-color: #fefeb8;\">\r\n   <p><br />byte seven_seg_digits[10][7] = { { 0,0,0,0,0,0,1 },&nbsp; // = 0<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; { 1,0,0,1,1,1,1 },&nbsp; // = 1<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; { 0,0,1,0,0,1,0 },&nbsp; // = 2<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; { 0,0,0,0,1,1,0 },&nbsp; // = 3<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; { 1,0,0,1,1,0,0 },&nbsp; // = 4<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; { 0,1,0,0,1,0,0 },&nbsp; // = 5<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; { 0,1,0,0,0,0,0 },&nbsp; // = 6<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; { 0,0,0,1,1,1,1 },&nbsp; // = 7<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; { 0,0,0,0,0,0,0 },&nbsp; // = 8<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; { 0,0,0,1,1,0,0 }&nbsp;&nbsp; // = 9<br />&nbsp;};</p>\r\n   <p>void setup() {&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp; pinMode(2, OUTPUT);&nbsp;&nbsp;&nbsp;<br />&nbsp; pinMode(3, OUTPUT);<br />&nbsp; pinMode(4, OUTPUT);<br />&nbsp; pinMode(5, OUTPUT);<br />&nbsp; pinMode(6, OUTPUT);<br />&nbsp; pinMode(7, OUTPUT);<br />&nbsp; pinMode(8, OUTPUT);<br />&nbsp; pinMode(9, OUTPUT);<br />&nbsp; writeDot(0);&nbsp; // start with the \"dot\" off<br />}</p>\r\n   <p>void writeDot(byte dot) {<br />&nbsp; digitalWrite(9, dot);<br />}<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />void sevenSegWrite(byte digit) {<br />&nbsp; byte pin = 2;<br />&nbsp; for (byte segCount = 0; segCount &lt; 7; ++segCount) {<br />&nbsp;&nbsp;&nbsp; digitalWrite(pin, seven_seg_digits[digit][segCount]);<br />&nbsp;&nbsp;&nbsp; ++pin;<br />&nbsp; }<br />}</p>\r\n   <p>void loop() {<br />&nbsp; for (byte count = 10; count &gt; 0; --count) {<br />&nbsp;&nbsp; delay(1000);<br />&nbsp;&nbsp; sevenSegWrite(count - 1);&nbsp;<br />&nbsp; }<br />&nbsp; delay(4000);<br />}</p>\r\n   <br /></div>\r\n<p style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\"><br /><br />idea :&nbsp;<br /><a href=\"http://www.hacktronics.com/Tutorials/arduino-and-7-segment-led.html\" style=\"color: #333333; text-decoration-line: none;\" target=\"_blank\">http://www.hacktronics.com/Tutorials/arduino-and-7-segment-led.html</a><br /><br />내가 쓰고 있는&nbsp;7 segment와 약간 달라서 조금 수정</p>\r\n<p><br style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\" /><br style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\" /><span style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\">출처:&nbsp;</span><a href=\"https://knight76.tistory.com/entry/7-segment-fnd-%EC%A0%95%EB%A6%AC\" style=\"color: #333333; text-decoration-line: none; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\" target=\"_blank\">https://knight76.tistory.com/entry/7-segment-fnd-정리</a><span style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\">&nbsp;[김용환 블로그(2004-2018)]</span><br style=\"color: #404040; font-family: 굴림;\" />===============================================================================<br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">-사용예) 예를들어 아래와 같이 연결했을경우,&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">1/E&nbsp; ---&gt;&nbsp; Arduino PIN 2&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">2/D ---&gt;&nbsp; Arduino PIN 3&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">3/DP --&gt; Arduino PIN 4&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">4/C ---&gt;&nbsp; Arduino PIN 5&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">5/G ---&gt;&nbsp; Arduino PIN 6&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">6 ---&gt; Not Connect&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">7/B ---&gt;&nbsp; Arduino PIN 7&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">8/DIG3(or 9, 12 번 DIG선택) ---&gt; Arduino GND&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">10/F ---&gt;&nbsp; Arduino PIN 8&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">11/A&nbsp; --&gt;&nbsp; Arduino PIN 9&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">//물리적으로 DIG핀은 GND와 연결하여 선택한 상태&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">void setup() {&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; pinMode(2, OUTPUT);&nbsp;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; pinMode(3, OUTPUT);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; pinMode(4, OUTPUT);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; pinMode(5, OUTPUT);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; pinMode(6, OUTPUT);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; pinMode(7, OUTPUT);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; pinMode(8, OUTPUT);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; pinMode(9, OUTPUT);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; digitalWrite(9, 0);&nbsp; // start with the \"dot\" off&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">}&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">void loop() {&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp;// write \'7\'&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp;digitalWrite(2, 0);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp;digitalWrite(3, 0);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp;digitalWrite(4, 1);&nbsp; //C&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp;digitalWrite(5, 1);&nbsp; //E&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp;digitalWrite(6, 0);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp;digitalWrite(7, 1);&nbsp; //B&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp;digitalWrite(8, 1);&nbsp; //F&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp;digitalWrite(9, 1);&nbsp; //A&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp;delay(2000);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; // write \'8\'&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp;digitalWrite(2, 1);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp;digitalWrite(3, 1);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp;digitalWrite(4, 1);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp;digitalWrite(5, 1);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp;digitalWrite(6, 1);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp;digitalWrite(7, 1);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp;digitalWrite(8, 1);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp;digitalWrite(9, 1);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp;delay(2000);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">}</span></p>','https://knight76.tistory.com/entry/7-segment-fnd-%EC%A0%95%EB%A6%AC','',0,0,1,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 14:38:20',2,'2019-04-26 14:38:20','210.101.103.92','','','','','','','','','','','',''),(243,-243,'',243,0,0,'','','html1','[Arduino] 74HC595를 이용한 아두이노 포트확장','<p><span style=\"color: #404040; font-family: 굴림;\">여러개의 LED를 켜려면 아두이노의 핀을 여러개를 사용해야한다.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">그러나 핀 1개로 여러개의 LED또는 FND, 도트매트릭스등을 다룰수 있다.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">즉 74hc595 shift register를 활용하여 아두이노의 포트를 확장하는 것이다.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">74hc595는 8-bit serial-in, serial or parallel-out shift register 로&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">8비트의 데이터를 받아 병렬로 출력해주는 IC로&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">아두이노핀에서 10101010을 보내면&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">데이터를 받아 Q0핀~Q7핀에서 동시에 10101010을 각각 출력한다.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">즉 Q0 -&gt; 1&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; Q1 -&gt; 0&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; Q2 -&gt; 1&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; Q3 -&gt; 0&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; Q4 -&gt; 1&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; Q5 -&gt; 0&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; Q6 -&gt; 1&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; Q7 -&gt; 0을 출력해준다.(핀은 아래그림 참조)&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">Q7\'핀은 8bit이상의 데이터를 보낼때 다음의 74hc595로 데이터를 넘긴다.</span></p>','https://www.arduino.cc/en/Tutorial/ShiftOut','',0,0,1,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 14:38:56',1,'2019-04-26 14:38:56','210.101.103.92','','','','','','','','','','','',''),(244,-244,'',244,0,0,'','','html1','[ETC] 전압별 PCB 패턴폭','<p><span style=\"color: #404040; font-family: 굴림;\">내압 절연간격 - 선간거리 입니다.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">일본&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">2.5mm 허용 내압치 51V-150V&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">3.0mm 허용 내압치 151V-300V&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">5.0mm 허용 내압치 300V-440V&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">UL&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">1.59mm 허용 내압치 51V-125V&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">2.38mm 허용 내압치 126V-250V&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">12.7mm 허용 내압치 251V-440V&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">독일(TUV)&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">2.0mm 허용 내압치 51V-130V&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">3.0mm 허용 내압치 131V-250V&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">4.0mm 허용 내압치 251V-440V</span></p>','','',0,0,1,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 14:39:08',0,'2019-04-26 14:39:08','210.101.103.92','','','','','','','','','','','',''),(245,-245,'',245,0,0,'','','html1','[Arduino] Arduino + RFID','<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\">이번에는&nbsp;RFID를 사용해보자.&nbsp;</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\">&nbsp;</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\">흠... RFID... 뭘 구입해야하지??</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\">요즘은 sparkfun에서 나오는 키트도 있더만, 너무 비싸다!! 무려 7만원....ㅡㅡ;;</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\">&nbsp;</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\">더 싸게 시도할 수 있는게 필요하다...</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\">&nbsp;</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\">일단 검색을 해보자..</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\">&nbsp;</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\">구글 검색해봤자 그들이 사용한 똑같은 제품을 구하기가 어려우니, 네이버에게 기대해본다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\">아두이노와 RFID연동을 시도한 몇몇 글과 질문들을 찾을 수 있다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\">&nbsp;</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\">마땅히 접근해볼만한 제품을 찾지 못하다가&nbsp;내가 선택한 것은 디바이스마트에서 3만원에 구입이 가능한 제품이다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\">리더기와&nbsp;<a href=\"http://devicemart.co.kr/goods/view.php?seq=13985\" target=\"_blank\" class=\"con_link\" style=\"text-decoration-line: none; overflow-wrap: break-word;\">http://devicemart.co.kr/goods/view.php?seq=13985</a>&nbsp;</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\">카드&nbsp;<a href=\"http://devicemart.co.kr/goods/view.php?seq=24219\" target=\"_blank\" class=\"con_link\" style=\"text-decoration-line: none; overflow-wrap: break-word;\">http://devicemart.co.kr/goods/view.php?seq=24219</a>&nbsp;일단 2개만 구입해보았다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\">이렇게 해도 키트의 반값이다! 굳!</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\">&nbsp;</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\">힌트는&nbsp;<a href=\"http://goodhelper.egloos.com/2000306\" target=\"_blank\" class=\"con_link\" style=\"text-decoration-line: none; overflow-wrap: break-word;\">http://goodhelper.egloos.com/2000306</a>&nbsp;에서 얻었다. 여기서 보면 리더기에 필요한 것은 전원과&nbsp; RX, TX&nbsp; 뿐이었다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\">이 분은 아두이노가 아닌 것으로 (내겐 아두이노와 아두이노가 아닌 것으로 구분된다.) 구현하였지만,</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\">뭔가 느낌이 왔다. 할 수 있을 것 같은!!! 그래 와이어링은 그렇다 치고... 코드는 어찌하지??</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\">&nbsp;</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\">참고할만한 소스가 없는지 열심히 찾아본다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\">내가 구입한 제품을 사용한 코드가 있으면 정말 좋겠지만, 찾을 수는 없었다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\">일단 열심히 검색한 결과 가능성이 보이는 소스를 또 발견하였다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\">&nbsp;</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\">네이버 카페 &lt;아두이노 스토리&gt;에서&nbsp;<span class=\"tf_cont\"><a id=\"reply_id\" class=\"con_link\" href=\"http://note.naver.com/note/sendForm.nhn?popup=1&amp;svcType=2&amp;targetUserId=brainwt#\" target=\"_blank\" style=\"text-decoration-line: none; overflow-wrap: break-word;\">brainwt</a>&nbsp;님이 작성한 글이다.</span>&nbsp;</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><span class=\"tf_cont\">﻿</span><a href=\"http://cafe.naver.com/arduinostory/6796\" target=\"_blank\" class=\"con_link\" style=\"text-decoration-line: none; overflow-wrap: break-word;\">http://cafe.naver.com/arduinostory/6796</a>&nbsp;</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\">코드 한줄 한줄 상세히 설명이 적혀있어서 굉장히 도움이 된다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\">&nbsp;</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\">앞으로 내가 공개할 소스는 UST-RFID&nbsp;제품에 맞게 간단하게 수정한 것으로, 다른 제품하고는 결과가 다를 수도 있다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\">&nbsp;</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\">&nbsp;</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><strong>&lt;RFID 태그 ID 알아내기&gt;</strong></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\">&nbsp;</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\">일단 구입한 태그 카드 ID를 알아야 뭐라고 할게 아닌가.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\">한번 읽어 보자.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\">UST-RFID 제품의 GRD와 VCC 연결을 한다. 그리고 RXD는 아두이노의 TX로, TXD는 RX로 연결해준다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><img src=\"https://postfiles.pstatic.net/20131011_277/tinacraft_1381485081553kXnGd_JPEG/GetFileDown.ndrive.jpg?type=w2\" width=\"550\" height=\"469\" id=\"20131011_277/tinacraft_1381485081553kXnGd_JPEG/GetFileDown.ndrive.jpg\" alt=\"\" class=\"_photoImage\" data-lazy-src=\"\" style=\"border: none; cursor: pointer;\" /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\">&nbsp;</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\">&nbsp;</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><span style=\"background-color: #f5f4e0;\">&lt;&lt;아두이노 코드&gt;&gt;</span></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\">&nbsp;</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\">// RFID 태그 ID 알아내기</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\">&nbsp;</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\">void setup(){<br />&nbsp; Serial.begin(9600); // 통신 설정<br />&nbsp; Serial.println(\"RFID example start !\");&nbsp;<br />&nbsp; Serial.println(\'\\n\');<br />}</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\">&nbsp;</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\">void loop(){<br />&nbsp; char tagString[15];; //&nbsp; tagString를 선언합니다. 사이즈는 중요하지 않은 듯 하다.<br />&nbsp; int index =0 ;<br />&nbsp; while(Serial.available()) { // 태그 리더가 태그를 가져다 대면, 읽기 시작합니다.&nbsp;<br />&nbsp;&nbsp;&nbsp; int readByte = Serial.read(); // read next available byte<br />&nbsp;&nbsp;&nbsp; // 뭘 읽었는지 확인해봅니다.&nbsp;<br />&nbsp;&nbsp;&nbsp; Serial.println(\"Serial.read() is \");&nbsp;<br />&nbsp;&nbsp;&nbsp; //Serial.println(readByte);<br />&nbsp;&nbsp;&nbsp; Serial.print(\"DEC : \");&nbsp;<br />&nbsp;&nbsp;&nbsp; Serial.println(readByte, DEC&nbsp; );&nbsp;<br />&nbsp;&nbsp;&nbsp; Serial.print(\"HEX : \");&nbsp;<br />&nbsp;&nbsp;&nbsp; Serial.println(readByte, HEX);<br />&nbsp;&nbsp;&nbsp; Serial.println(\"RFID reading..... store string\");<br />&nbsp;&nbsp;&nbsp; // store the tag&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp; tagString[index] = readByte;<br />&nbsp;&nbsp;&nbsp; index++;<br />&nbsp;&nbsp;&nbsp; Serial.println(\"tagString is :\"); // 출력을 해봅니다.&nbsp;<br />&nbsp;&nbsp;&nbsp; Serial.println(tagString);<br />&nbsp; }&nbsp;<br />}</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\">&nbsp;</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\">&nbsp;</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\">위 코드를 업로드 하고 (업로드 할때 반드시 RX, TX에 연결된 와이어를 뽑고 해야한다.) 카드를 대보면 시리얼 모니터로 값을 볼 수 있다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\">각 코드의 설명은 내가 참고로 하였던 글을 보면 도움이 될 것이다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\">&nbsp;</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\">&nbsp;</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><span style=\"background-color: #f5f4e0;\">&lt;&lt;시리얼 모니터 출력 예시&gt;&gt;</span></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\">&nbsp;</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\">Serial.read() is&nbsp;<br />DEC : 56<br />HEX : 38<br />RFID reading..... store s<span style=\"color: #00b0a2;\">﻿</span>tring<br />tagString is :<br />8F1 ”<br />Serial.read() is&nbsp;<br />DEC : 70<br />HEX : 46<br />RFID reading..... store string<br />tagString is :<br />8F1 ”<br />Serial.read() is&nbsp;<br />DEC : 49<br />HEX : 31<br />RFID reading..... store string<br />tagString is :<br />8F1 ”<br />Serial.read() is&nbsp;<br />DEC : 65<br />HEX : 41<br />RFID reading..... store string<br />tagString is :<br />8F1A ”<br />Serial.read() is&nbsp;<br />DEC : 50<br />HEX : 32<br />RFID reading..... store string<br />tagString is :<br />8F1A2”<br />Serial.read() is&nbsp;<br />DEC : 50<br />HEX : 32<br />RFID reading..... store string<br />tagString is :<br />8F1A22<br />Serial.read() is&nbsp;<br />DEC : 50<br />HEX : 32<br />RFID reading..... store string<br />tagString is :<br />8F1A222<br />Serial.read() is&nbsp;<br />DEC : 52<br />HEX : 34<br />RFID reading..... store string<br />tagString is :<br /><strong><span style=\"color: #00b0a2;\">8F1A2224&nbsp;”</span></strong><br />&nbsp;</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><span style=\"color: #00b0a2;\">﻿</span>&nbsp;</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\">카드를 하나를 갖다 댔을때 출력값이다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\">결과를 보자면 읽어낸&nbsp;<u>DEC값은 56 70 49 65 50 50 50 52 이며, HEX값은 38 46 31 41 32 32 32 34 이다</u>.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\">그리고&nbsp;<u>스트링 값은&nbsp;<span style=\"color: #00b0a2;\"><u><strong>8F1A2224</strong></u></span></u>이다. 가끔&nbsp;<span style=\"color: #00b0a2;\"><strong>8F1A2224&nbsp;”</strong>&nbsp;<span style=\"color: #000000;\">﻿처럼 뒤에 뭐가 붙는 경우가 있는데 몇번 찍었을때 일정하게 나오는 값만&nbsp;</span></span>&nbsp;</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><span style=\"color: #00b0a2;\"><span style=\"color: #000000;\">알면 된다. ﻿</span></span>&nbsp;</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\">&nbsp;</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\">이런식으로 가지고 있는 카드를 대어 보면 ID값을 추출할 수 있다. 난 내가 구입한 2개의 카드 외에 가지고 있던 현관문 카드키도 대어보았더니 읽어냈다! 가지고 있는 모든 카드키 등을 대어보니 2개 정도가 읽힌다. ㅎㅎㅎ 재미있군.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\">&nbsp;</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\">이제 각각 카드가 읽혔을때 LED에 불빛이 들어오는 간단한 테스트를 해보자.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\">&nbsp;</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\">&nbsp;</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><strong>&lt; RFID 태그 읽고 LED 켜기&gt;</strong></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\">&nbsp;</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\">LED 두개를 디지털 핀에 연결한다. 나는 아두이노 메가를 사용했기에 디지털 핀 22, 23번에 연결하였다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\">리더기와 카드의 모습도 보인다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><img src=\"https://postfiles.pstatic.net/20131011_166/tinacraft_1381486453209yIyPY_JPEG/GetFileDown.ndrive.jpg?type=w2\" width=\"550\" height=\"413\" id=\"20131011_166/tinacraft_1381486453209yIyPY_JPEG/GetFileDown.ndrive.jpg\" alt=\"\" class=\"_photoImage\" data-lazy-src=\"\" style=\"border: none; cursor: pointer;\" /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\">&nbsp;</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\">&nbsp;</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><span style=\"background-color: #f7e2d2;\">&lt;&lt;아두이노 코드&gt;&gt;&nbsp;</span>- 다시 한번 말하지만&nbsp;<a href=\"http://cafe.naver.com/arduinostory/6796\" target=\"_blank\" class=\"con_link\" style=\"text-decoration-line: none; overflow-wrap: break-word;\">http://cafe.naver.com/arduinostory/6796</a>&nbsp;를 참고하여 수정한 코드이다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />// register your RFID tags here</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\">// 이전 테스트에서 알아낸 태그 이름을 여기서 사용한다.<br /><span style=\"background-color: #f5f4e0;\">char tag1[9] = \"8F1A2224\";&nbsp;&nbsp; // 1 번 태그 이름입니다.&nbsp;</span><br /><span style=\"background-color: #f5f4e0;\">char tag2[9] = \"EAEB2124\";&nbsp; // 2 번 태그 이름입니다.</span></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><span style=\"background-color: #f5f4e0;\">int led1 = 22;</span><br /><span style=\"background-color: #f5f4e0;\">int led2 = 23;</span></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\">void setup(){<br />&nbsp; Serial.begin(9600); // 통신 설정<br />&nbsp;&nbsp;<span style=\"background-color: #f5f4e0;\">pinMode(led1, OUTPUT); // LED와 연결됨</span><br /><span style=\"background-color: #f5f4e0;\">&nbsp; pinMode(led2, OUTPUT); // LED와 연결됨</span><br />&nbsp; Serial.println(\"RFID example start !\");&nbsp;<br />&nbsp; Serial.println(\'\\n\');<br />}</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\">void loop(){<br />&nbsp;&nbsp;<span style=\"background-color: #f5f4e0;\">char tagString[9];&nbsp;</span>//&nbsp; tagString를 선언합니다.<br />&nbsp; int index =0&nbsp;;<br />&nbsp; while(Serial.available()) { // 태그 리더가 태그를 가져다 대면, 읽기 시작합니다.&nbsp;<br />&nbsp;&nbsp;&nbsp; int readByte = Serial.read(); // read next available byte<br />&nbsp;&nbsp;&nbsp; // store the tag&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp; tagString[index] = readByte;<br />&nbsp;&nbsp;&nbsp; index++;<br />&nbsp;&nbsp;&nbsp; Serial.println(tagString);<br />&nbsp; }&nbsp;<br />&nbsp; checkTag(tagString); // 일치하는지 확인<br />&nbsp; clearTag(tagString); // 변수를 지웁니다~<br />&nbsp; delay(100);<br />}</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br />void checkTag(char tag[]){&nbsp;<br />&nbsp; // check the read tag against known tags&nbsp;<br />&nbsp; if (strlen(tag) == 0 ){ // 문자열이 0이란 소리는 아무것도 읽지 않았다는 겁니다~<br />&nbsp;&nbsp;&nbsp; return; // empty no ndeed to continue<br />&nbsp; }<br />&nbsp;<span style=\"background-color: #f5f4e0;\">&nbsp;if(compareTag(tag, tag1)){ // 읽은 태그와 tag1을 비교하고 led를 켭니다~</span><br /><span style=\"background-color: #f5f4e0;\">&nbsp;&nbsp;&nbsp; lightLED(led1);&nbsp;</span><br /><span style=\"background-color: #f5f4e0;\">&nbsp;&nbsp;&nbsp; Serial.println(\"LED1 on\");</span><br /><span style=\"background-color: #f5f4e0;\">&nbsp; }&nbsp;</span><br /><span style=\"background-color: #f5f4e0;\">&nbsp; else if(compareTag(tag, tag2)){</span><br /><span style=\"background-color: #f5f4e0;\">&nbsp;&nbsp;&nbsp; lightLED(led2);</span><br /><span style=\"background-color: #f5f4e0;\">&nbsp;&nbsp;&nbsp; Serial.println(\"LED2 on\");</span><br /><span style=\"background-color: #f5f4e0;\">&nbsp; }&nbsp;</span><br />&nbsp; else { // 읽은 태그와 일치하는 저장 태그 문자열이 없습니다. !! 새로운 태그입니다. 태그 이름을 확인해 봅니다.&nbsp;<br />&nbsp;&nbsp;&nbsp; Serial.println(\"No matching Tag, New tag name is display\");<br />&nbsp;&nbsp;&nbsp; Serial.println(tag); // read out any unknown tag<br />&nbsp; }<br />}<br />void lightLED(int pin){ // led를 깜빡입니다.&nbsp;<br />&nbsp; // turn on LED on pin \"pin\" for 250ms<br />&nbsp; Serial.println(pin);<br />&nbsp; digitalWrite(pin,HIGH);<br />&nbsp; delay(250);<br />&nbsp; digitalWrite(pin,LOW);<br />}</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\">void clearTag(char one[]){&nbsp;&nbsp; // 태그 변수를 초기화 합니다.&nbsp;<br />&nbsp; // clear the char array by filling with null - acsii 0<br />&nbsp; // will think same tag has been read otherwise<br />&nbsp; for(int i =0; i &lt; strlen(one); i++){<br />&nbsp;&nbsp;&nbsp; one[i] = 0;<br />&nbsp; }<br />}<br />boolean compareTag(char one[], char two[]){ // 입력 태그와 기설정된 태그 이름을 비교합니다.&nbsp;<br />&nbsp; // compare two value to see if same strcmp not wirking 100% so we do this<br />&nbsp; Serial.println(\"in the compareTag\");<br />&nbsp; if(strlen(one) == 0 ){ // 스트링이 0 이네요 에러입니다 처음으로 돌아갑니다.&nbsp;<br />&nbsp;&nbsp;&nbsp; Serial.println(\"empty string\");<br />&nbsp;&nbsp;&nbsp; return false; // empty<br />&nbsp; }<br />&nbsp; for (int i=0; i&lt;strlen(two); i++){&nbsp; // 1대1로 문자를 비교합니다. 태그 이름은 8자리니까 0 부터 7 까지 8번 확인해야합니다&nbsp;<br />&nbsp;&nbsp;&nbsp; if(one[i]!=two[i]) {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Serial.println(\"one of the string mismatches\");<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return false; // 만약 하나라도 다르면, 일치하지 않는 것으로 간주하고 처음으로 돌아갑니다.&nbsp;<br />&nbsp;&nbsp;&nbsp; }<br />&nbsp; }<br />&nbsp; Serial.println(\"All string matches\"); // 전부 일치합니다!!<br />&nbsp; return true; // no mismatches&nbsp;<br />}</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\">&nbsp;</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\">&nbsp;</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\">&nbsp;</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\">위 코드에서 각자 케이스에 맞게 노랗게 표시한 부분만 바꿔주면 된다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #3c3f45; font-family: 돋움; text-align: justify; background-color: #ffffff;\">내가 지정한 2개의 카드 외의 값이 읽혀지면 새로 읽혀진 ID값을 시리얼 모니터로 확인이 가능하니, 카드 추가도 쉽게 할 수 있다.</p>\r\n<p>\r\n   <p>&nbsp;</p>\r\n   </p>\r\n<div class=\"autosourcing-stub-extra\" style=\"line-height: 1.5; zoom: 1; opacity: 1;\">\r\n   <p style=\"margin: 11px 0px 7px; padding: 0px; line-height: 1.5; font-size: 12px; font-family: Dotum; font-style: normal; font-weight: normal;\"><strong style=\"padding: 0px 7px 0px 0px;\">[출처]</strong><span>&nbsp;</span><a href=\"https://blog.naver.com/tinacraft/150177413126\" target=\"_blank\" style=\"text-decoration: none;\">아두이노와 RFID</a><span style=\"padding: 0px 7px 0px 5px;\">|</span><strong style=\"padding: 0px 7px 0px 0px;\">작성자</strong><span>&nbsp;</span><a href=\"https://blog.naver.com/tinacraft\" target=\"_blank\" style=\"text-decoration: none;\">Tina</a></p>\r\n   </div>','https://blog.naver.com/tinacraft/150177413126','',0,0,1,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 14:39:44',0,'2019-04-26 14:39:44','210.101.103.92','','','','','','','','','','','',''),(246,-246,'',246,0,0,'','','html1','[Arduino] 카운트다운 예제','<p><span style=\"color: #404040; font-family: 굴림;\">void setup() {&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; Serial.begin(9600);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">}&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">int a=10;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">void loop() {&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; for(int i=0; i&lt;11; i++) {&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; Serial.println(-(i-a));&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; delay(500);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; }&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">}</span></p>','','',0,0,1,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 14:40:15',0,'2019-04-26 14:40:15','210.101.103.92','','','','','','','','','','','',''),(247,-247,'',247,0,0,'','','html1','[Arduino] 74HC595 + 7-Segment','<p><span style=\"color: #404040; font-family: 굴림;\">/*&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp;74HC595 &amp; 7-segment exam.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp;7-segment pin Connenct is 75HC595.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; 1/E ---&gt; 5&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; 2/D ---&gt; 4&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; 3/DP --&gt; 15&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; 4/C ---&gt; 3&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; 5/G ---&gt; 7&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; 6 is Not connect&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; 7/B ---&gt; 2&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; 8 is DIG3 ---&gt; GND(if choice) //9 is DIG2, 12 is DIG1&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; 10/F --&gt; 6&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; 11/A --&gt; 1&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">0b11111111&nbsp; //8(is all ON)&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">0b 1 2 3 4 5 6 7 8&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; G F E D C B A G&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">===&gt; exam) number 5(A/7, F/2, G/1, C/5, D/4 is 1 and other is 0) : 0b11011010&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">0b00000000,&nbsp; //all OFF&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">0b00000001,&nbsp; //Only DP(3/DP) ON&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">0b01111111,&nbsp; //0&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">0b00001101,&nbsp; //1&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">0b10110111,&nbsp; //2&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">0b10011111,&nbsp; //3&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">0b11001101,&nbsp; //4&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">0b11011011,&nbsp; //5&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">0b11111001,&nbsp; //6&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">0b00001111,&nbsp; //7&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">0b11111111,&nbsp; //8&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">0b11001111,&nbsp; //9&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">*/&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">int clock = 8;&nbsp; //74HC595의 클럭핀과 연결&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">int latch = 9;&nbsp; //74HC595의 래치핀과 연결&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">int data = 10;&nbsp; //74HC595의 데이터핀과 연결&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">int def = 10;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">int value;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">int val[10] = {0b01111111, 0b00001101, 0b10110111, 0b10011111, 0b11001101,&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0b11011011, 0b11111001, 0b00001111, 0b11111111, 0b11001111};&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">void setup() {&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; pinMode(clock, OUTPUT);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; pinMode(latch, OUTPUT);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; pinMode(data, OUTPUT);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; Serial.begin(9600);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">}&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">void loop() {&nbsp;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; for(int i=0; i&lt;11; i++) {&nbsp; //count down show&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; value = -(i-def);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; LEDs(val[value]);&nbsp;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; delay(300);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; }&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; for(int i=0; i&lt;11; i++) {&nbsp; //plus up show&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; LEDs(val[i]);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; delay(300);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; }&nbsp;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; delay(500);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">}&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">void LEDs(int a) {&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; digitalWrite(latch, LOW);&nbsp; //래치를 내리고&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; shiftOut(data,clock,MSBFIRST, a);&nbsp; //데이터를 보내고&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; digitalWrite(latch, HIGH);&nbsp; //래치를 올린다. 74HC595에서 데이터를 FND로 출력함.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">}</span></p>','','',0,0,1,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 14:40:28',0,'2019-04-26 14:40:28','210.101.103.92','','','','','','','','','','','',''),(248,-248,'',248,0,0,'','','html1','[ETC] IC51-0324-1498 QFP32 번인소켓 핀번호','<p><span style=\"color: #404040; font-family: 굴림;\">&lt;--- 이쪽이 열리는 쪽.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">핀번호는 탑뷰를 기준으로 함.</span></p>','http://www.eleparts.co.kr/EPX4MBXD','',0,0,1,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 14:40:57',1,'2019-04-26 14:40:57','210.101.103.92','','','','','','','','','','','',''),(249,-249,'',249,0,0,'','','html1','[Arduino] 아두이노 멜로디+스피커 / Play Melody라이브러리 예제','<p style=\"padding: 0px; color: #555555; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; background-color: #bec3c6; clear: none; float: none;\"><span class=\"imageblock\" style=\"margin: 0px; padding: 0px; display: inline-block; width: 40px; height: auto; max-width: 100%;\"><img src=\"https://t1.daumcdn.net/cfile/tistory/27019C4A5103785E38\" width=\"40\" filename=\"느낌표.png\" filemime=\"image/jpeg\" style=\"margin: 0px; padding: 0px; border: 0px; max-width: 100%; height: auto;\" /></span><span style=\"margin: 0px; padding: 0px; font-size: 14pt;\"><b style=\"margin: 0px; padding: 0px;\">MAKE....</b></span></p>\r\n<p style=\"padding: 0px; color: #555555; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; background-color: #bec3c6; clear: none; float: none;\">&nbsp;</p>\r\n<div style=\"margin: 0px; padding: 0px; color: #555555; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; background-image: url(&quot;https://i1.daumcdn.net/deco/contents/horizontalrule/line06.gif?v=2&quot;); background-position: left center; background-size: initial; background-repeat: repeat-x; background-attachment: scroll; background-origin: initial; background-clip: initial; width: 1110.66px; height: 15px;\">\r\n   <hr style=\"margin: 0px; padding: 0px; border: 0px none black; left: -9999px; position: relative; top: -9999px;\" />\r\n   </div>\r\n<p style=\"padding: 0px; color: #555555; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; background-color: #bec3c6;\">&nbsp;</p>\r\n<p style=\"padding: 0px; color: #555555; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; background-color: #bec3c6; clear: none; float: none;\"><br style=\"margin: 0px; padding: 0px;\" /></p>\r\n<p style=\"padding: 0px; color: #555555; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; background-color: #bec3c6; text-align: center; clear: none; float: none;\"><span class=\"imageblock\" style=\"margin: 0px; padding: 0px; display: inline-block; width: 700px; height: auto; max-width: 100%;\"><span data-url=\"https://t1.daumcdn.net/cfile/tistory/147BE0475103D6E410?download\" data-lightbox=\"lightbox\" style=\"margin: 0px; padding: 0px; cursor: pointer;\"><img src=\"https://t1.daumcdn.net/cfile/tistory/147BE0475103D6E410\" width=\"700\" filename=\"Arduino_PlayMelody_Fritzing.ps.png\" filemime=\"image/jpeg\" style=\"margin: 0px; padding: 0px; border: 0px; cursor: pointer; max-width: 100%; height: auto;\" /></span></span></p>\r\n<p style=\"padding: 0px; color: #555555; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; background-color: #bec3c6; clear: none; float: none;\"><span style=\"margin: 0px; padding: 0px; font-size: 12pt;\">먼저 연결하세요.!</span></p>\r\n<p style=\"padding: 0px; color: #555555; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; background-color: #bec3c6; clear: none; float: none;\"><span style=\"margin: 0px; padding: 0px; font-size: 12pt;\">다음처럼 아두이노 호환제품 이라도 핀 배치는 같아서 연결은 똑같이 할 수 있습니다.</span><br style=\"margin: 0px; padding: 0px;\" /></p>\r\n<p style=\"padding: 0px; color: #555555; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; background-color: #bec3c6; clear: none; float: none;\"><span style=\"margin: 0px; padding: 0px; font-size: 15.5556px; line-height: 26.6667px;\">단순히 아두이노 9번핀에서 부저로 신호가 간뒤에 GND로 흐르고, 3번핀은 스위치 입력을 받아서</span></p>\r\n<p style=\"padding: 0px; color: #555555; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; background-color: #bec3c6; clear: none; float: none;\"><span style=\"margin: 0px; padding: 0px; font-size: 15.5556px; line-height: 26.6667px;\">스위치가 눌러지면 부저에서 멜로디를 재생하도록 스케치(소스코드)를 짜려고 합니다.</span></p>\r\n<p style=\"padding: 0px; color: #555555; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; background-color: #bec3c6; clear: none; float: none;\"><br style=\"margin: 0px; padding: 0px;\" /></p>\r\n<p style=\"padding: 0px; color: #555555; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; background-color: #bec3c6; clear: none; float: none;\"><span class=\"imageblock\" style=\"margin: 0px; padding: 0px; display: inline-block; width: 40px; height: auto; max-width: 100%;\"><img src=\"https://t1.daumcdn.net/cfile/tistory/27019C4A5103785E38\" width=\"40\" filename=\"느낌표.png\" filemime=\"image/jpeg\" style=\"margin: 0px; padding: 0px; border: 0px; max-width: 100%; height: auto;\" /></span><span style=\"margin: 0px; padding: 0px; font-size: 14pt;\"><b style=\"margin: 0px; padding: 0px;\">&amp;PLAY....</b></span></p>\r\n<p style=\"padding: 0px; color: #555555; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; background-color: #bec3c6; clear: none; float: none;\">&nbsp;</p>\r\n<div style=\"margin: 0px; padding: 0px; color: #555555; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; background-image: url(&quot;https://i1.daumcdn.net/deco/contents/horizontalrule/line06.gif?v=2&quot;); background-position: left center; background-size: initial; background-repeat: repeat-x; background-attachment: scroll; background-origin: initial; background-clip: initial; width: 1110.66px; height: 15px;\"><b style=\"margin: 0px; padding: 0px; font-size: 14pt; line-height: 1.5;\"></b></div>\r\n<p style=\"padding: 0px; color: #555555; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; background-color: #bec3c6;\">&nbsp;</p>\r\n<p style=\"padding: 0px; color: #555555; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; background-color: #bec3c6; clear: none; float: none;\"><span style=\"margin: 0px; padding: 0px; font-size: 15.5556px; line-height: 26.6667px;\">스케치만들때 라이브러리를 사용하는데 숙묵님의 (<b style=\"margin: 0px; padding: 0px;\">비영리 무료 라이센스</b>)인 PlayMelody 라이브러리를 이용합니다.</span></p>\r\n<p style=\"padding: 0px; color: #555555; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; background-color: #bec3c6; clear: none; float: none;\"><span style=\"margin: 0px; padding: 0px; font-size: 15.5556px; line-height: 26.6667px;\">PlayMelody 라이브러리는 GW-Basic과 MSX-Basic, MML코드와 비슷해서 코드를 잘 찾다보면 호환이 가능한 멜로디&nbsp;코드들이 더러 있습니다.</span></p>\r\n<p style=\"padding: 0px; color: #555555; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; background-color: #bec3c6; clear: none; float: none;\"><span style=\"margin: 0px; padding: 0px; font-size: 12pt;\">그럼 실제 멜로디 재생에 앞서 원래 아두이노에 없는 함수이기 때문에 함수에 대해서 정의된 파일을 아두이노에서 사용 할 수 있도록 넣어주어야 합니다.</span><br style=\"margin: 0px; padding: 0px;\" /></p>\r\n<p style=\"padding: 0px; color: #555555; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; background-color: #bec3c6; clear: none; float: none;\"><span style=\"margin: 0px; padding: 0px; font-size: 15.5556px; line-height: 26.6667px;\">먼저 플레이멜로디 라이브러리를 다운로드 받으세요.^</span></p>\r\n<p style=\"padding: 0px; color: #555555; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; background-color: #bec3c6; clear: none; float: none;\">&nbsp;</p>\r\n<div style=\"margin: 0px; padding: 0px; color: #555555; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; background-image: url(&quot;https://i1.daumcdn.net/deco/contents/horizontalrule/line03.gif?v=2&quot;); background-position: left center; background-size: initial; background-repeat: repeat-x; background-attachment: scroll; background-origin: initial; background-clip: initial; width: 1110.66px; height: 15px;\">\r\n   <hr style=\"margin: 0px; padding: 0px; border: 0px none black; left: -9999px; position: relative; top: -9999px;\" />\r\n   </div>\r\n<p style=\"padding: 0px; color: #555555; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; background-color: #bec3c6;\">&nbsp;</p>\r\n<p style=\"padding: 0px; color: #555555; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; background-color: #bec3c6; text-align: center; clear: none; float: none;\"><a href=\"https://binworld.kr/27#\" target=\"_blank\" style=\"margin: 0px; padding: 0px; color: #2970a6; text-decoration-line: none; font-size: 9pt; line-height: 1.5;\"><img src=\"https://t1.daumcdn.net/cfile/tistory/20143B4B510D141D13\" border=\"0\" style=\"margin: 0px; padding: 0px; border: 0px;\" /></a><span style=\"margin: 0px; padding: 0px; font-size: 9pt; line-height: 1.5;\">&nbsp;</span><span style=\"margin: 0px; padding: 0px; font-size: 12pt;\"><b style=\"margin: 0px; padding: 0px;\">PlayMelody Library 다운로드</b></span></p>\r\n<p style=\"padding: 0px; color: #555555; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; background-color: #bec3c6; text-align: center; clear: none; float: none;\">&nbsp;</p>\r\n<div style=\"margin: 0px; padding: 0px; color: #555555; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; background-image: url(&quot;https://i1.daumcdn.net/deco/contents/horizontalrule/line03.gif?v=2&quot;); background-position: left center; background-size: initial; background-repeat: repeat-x; background-attachment: scroll; background-origin: initial; background-clip: initial; width: 1110.66px; height: 15px;\">\r\n   <hr style=\"margin: 0px; padding: 0px; border: 0px none black; left: -9999px; position: relative; top: -9999px;\" />\r\n   </div>\r\n<p style=\"padding: 0px; color: #555555; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; background-color: #bec3c6;\">&nbsp;</p>\r\n<p style=\"padding: 0px; color: #555555; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; background-color: #bec3c6; clear: none; float: none;\">&nbsp;</p>\r\n<p style=\"padding: 0px; color: #555555; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; background-color: #bec3c6; text-align: center; clear: none; float: none;\"><br style=\"margin: 0px; padding: 0px;\" /></p>\r\n<p style=\"padding: 0px; color: #555555; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; background-color: #bec3c6; text-align: center; clear: none; float: none;\"><span class=\"imageblock\" style=\"margin: 0px; padding: 0px; display: inline-block; width: 700px; height: auto; max-width: 100%;\"><span data-url=\"https://t1.daumcdn.net/cfile/tistory/163ABF50510D189137?download\" data-lightbox=\"lightbox\" style=\"margin: 0px; padding: 0px; cursor: pointer;\"><img src=\"https://t1.daumcdn.net/cfile/tistory/163ABF50510D189137\" width=\"700\" filename=\"아두이노 PlayMelody 압축해제.png\" filemime=\"image/jpeg\" style=\"margin: 0px; padding: 0px; border: 0px; cursor: pointer; max-width: 100%; height: auto;\" /></span></span></p>\r\n<p style=\"padding: 0px; color: #555555; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; background-color: #bec3c6; clear: none; float: none;\"><span style=\"margin: 0px; padding: 0px; font-size: 12pt;\">압축을 해제하면 다음과 같은 파일들이 나올텐데요.. 제일 중요한 파일인 PlayMelody.CPP파일과&nbsp;</span><br style=\"margin: 0px; padding: 0px;\" /></p>\r\n<p style=\"padding: 0px; color: #555555; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; background-color: #bec3c6; clear: none; float: none;\"><span style=\"margin: 0px; padding: 0px; font-size: 12pt;\">PlayMelody.h 파일을 복사해줍니다.</span></p>\r\n<p style=\"padding: 0px; color: #555555; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; background-color: #bec3c6; clear: none; float: none;\">&nbsp;</p>\r\n<div style=\"margin: 0px; padding: 0px; color: #555555; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; background-image: url(&quot;https://i1.daumcdn.net/deco/contents/horizontalrule/line03.gif?v=2&quot;); background-position: left center; background-size: initial; background-repeat: repeat-x; background-attachment: scroll; background-origin: initial; background-clip: initial; width: 1110.66px; height: 15px;\">\r\n   <hr style=\"margin: 0px; padding: 0px; border: 0px none black; left: -9999px; position: relative; top: -9999px;\" />\r\n   </div>\r\n<p style=\"padding: 0px; color: #555555; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; background-color: #bec3c6;\">&nbsp;</p>\r\n<p style=\"padding: 0px; color: #555555; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; background-color: #bec3c6; clear: none; float: none;\">&nbsp;</p>\r\n<p style=\"padding: 0px; color: #555555; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; background-color: #bec3c6; text-align: center; clear: none; float: none;\"><br style=\"margin: 0px; padding: 0px;\" /></p>\r\n<p style=\"padding: 0px; color: #555555; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; background-color: #bec3c6; text-align: center; clear: none; float: none;\"><span class=\"imageblock\" style=\"margin: 0px; padding: 0px; display: inline-block; width: 700px; height: auto; max-width: 100%;\"><span data-url=\"https://t1.daumcdn.net/cfile/tistory/0222234A510D18D017?download\" data-lightbox=\"lightbox\" style=\"margin: 0px; padding: 0px; cursor: pointer;\"><img src=\"https://t1.daumcdn.net/cfile/tistory/0222234A510D18D017\" width=\"700\" filename=\"아두이노 PlayMelody CPP파일복사.png\" filemime=\"image/jpeg\" style=\"margin: 0px; padding: 0px; border: 0px; cursor: pointer; max-width: 100%; height: auto;\" /></span></span></p>\r\n<p style=\"padding: 0px; color: #555555; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; background-color: #bec3c6; clear: none; float: none;\"><span style=\"margin: 0px; padding: 0px; font-size: 12pt;\">고다음 자신이 설치해둔 아두이노 폴더&nbsp;(</span><span style=\"margin: 0px; padding: 0px; font-size: 15.5556px; line-height: 26.6667px;\">저의경우 바탕화면 arduino-1.0.3-windows)</span></p>\r\n<p style=\"padding: 0px; color: #555555; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; background-color: #bec3c6; clear: none; float: none;\"><span style=\"margin: 0px; padding: 0px; font-size: 15.5556px; line-height: 26.6667px;\">arduino-Version-windows\\Hardware\\arduino\\cores\\arduino 폴더에 붙여넣기 해줍니다.</span></p>\r\n<p style=\"padding: 0px; color: #555555; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; background-color: #bec3c6; clear: none; float: none;\"><span style=\"margin: 0px; padding: 0px; font-size: 15.5556px; line-height: 26.6667px;\">이렇게 해줬다면 이제부터 새로운 함수인 PlayMelody 함수가 사용이 가능합니다.</span></p>\r\n<p style=\"padding: 0px; color: #555555; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; background-color: #bec3c6; clear: none; float: none;\"><span style=\"margin: 0px; padding: 0px; font-size: 15.5556px; line-height: 26.6667px;\">이 함수는&nbsp;<b style=\"margin: 0px; padding: 0px;\">PlayMelody(pin, notes)</b>&nbsp;로 입력해서 사용 할 수 있고, 멜로디노트의 내용은&nbsp;</span></p>\r\n<p style=\"padding: 0px; color: #555555; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; background-color: #bec3c6; clear: none; float: none;\"><span style=\"margin: 0px; padding: 0px; font-size: 15.5556px; line-height: 26.6667px;\">다음 문구들의 조합으로 멜로디를 만들어 낼 수 있습니다.&nbsp;</span></p>\r\n<p style=\"padding: 0px; color: #555555; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; background-color: #bec3c6; clear: none; float: none;\"><span style=\"margin: 0px; padding: 0px; font-size: 15.5556px; line-height: 26.6667px;\"><br style=\"margin: 0px; padding: 0px;\" /></span></p>\r\n<p style=\"padding: 0px; color: #555555; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; background-color: #bec3c6; clear: none; float: none;\">&nbsp;</p>\r\n<div class=\"txc-textbox\" style=\"margin: 0px; padding: 10px; color: #555555; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; border: 1px solid rgb(203, 203, 203); background-color: #ffffff;\">\r\n   <p style=\"padding: 0px; clear: none; float: none;\"><span style=\"margin: 0px; padding: 0px; font-size: 15.5556px; line-height: 26.6667px;\">&nbsp; pin : 스피커가 연결된 디지털 핀의 번호.</span></p>\r\n   <p style=\"padding: 0px; clear: none; float: none;\"><span style=\"margin: 0px; padding: 0px; font-size: 15.5556px; line-height: 26.6667px;\">&nbsp; notes : 연주를 위한 음표 기호로 구성된 문자열.</span></p>\r\n   <p style=\"padding: 0px; clear: none; float: none;\"><span style=\"margin: 0px; padding: 0px; font-size: 15.5556px; line-height: 26.6667px;\">&nbsp; &nbsp; C : 도</span></p>\r\n   <p style=\"padding: 0px; clear: none; float: none;\"><span style=\"margin: 0px; padding: 0px; font-size: 15.5556px; line-height: 26.6667px;\">&nbsp; &nbsp; D : 레</span></p>\r\n   <p style=\"padding: 0px; clear: none; float: none;\"><span style=\"margin: 0px; padding: 0px; font-size: 15.5556px; line-height: 26.6667px;\">&nbsp; &nbsp; E : 미</span></p>\r\n   <p style=\"padding: 0px; clear: none; float: none;\"><span style=\"margin: 0px; padding: 0px; font-size: 15.5556px; line-height: 26.6667px;\">&nbsp; &nbsp; F : 파</span></p>\r\n   <p style=\"padding: 0px; clear: none; float: none;\"><span style=\"margin: 0px; padding: 0px; font-size: 15.5556px; line-height: 26.6667px;\">&nbsp; &nbsp; G : 솔</span></p>\r\n   <p style=\"padding: 0px; clear: none; float: none;\"><span style=\"margin: 0px; padding: 0px; font-size: 15.5556px; line-height: 26.6667px;\">&nbsp; &nbsp; A : 라</span></p>\r\n   <p style=\"padding: 0px; clear: none; float: none;\"><span style=\"margin: 0px; padding: 0px; font-size: 15.5556px; line-height: 26.6667px;\">&nbsp; &nbsp; B : 시</span></p>\r\n   <p style=\"padding: 0px; clear: none; float: none;\"><span style=\"margin: 0px; padding: 0px; font-size: 15.5556px; line-height: 26.6667px;\">&nbsp; &nbsp; #, + : 반음 올린다.</span></p>\r\n   <p style=\"padding: 0px; clear: none; float: none;\"><span style=\"margin: 0px; padding: 0px; font-size: 15.5556px; line-height: 26.6667px;\">&nbsp; &nbsp; $, - : 반음 내린다.</span></p>\r\n   <p style=\"padding: 0px; clear: none; float: none;\"><span style=\"margin: 0px; padding: 0px; font-size: 15.5556px; line-height: 26.6667px;\">&nbsp; &nbsp; R, P : 쉼표</span></p>\r\n   <p style=\"padding: 0px; clear: none; float: none;\"><span style=\"margin: 0px; padding: 0px; font-size: 15.5556px; line-height: 26.6667px;\">&nbsp; &nbsp; &gt; : 한 옥타브 올린다.</span></p>\r\n   <p style=\"padding: 0px; clear: none; float: none;\"><span style=\"margin: 0px; padding: 0px; font-size: 15.5556px; line-height: 26.6667px;\">&nbsp; &nbsp; &lt; : 한 옥타브 내린다.</span></p>\r\n   <p style=\"padding: 0px; clear: none; float: none;\"><span style=\"margin: 0px; padding: 0px; font-size: 15.5556px; line-height: 26.6667px;\">&nbsp; &nbsp; O : 이어서 나오는 수치로 지정한 옥타브를 선택한다. (초기값은 4)</span></p>\r\n   <p style=\"padding: 0px; clear: none; float: none;\"><span style=\"margin: 0px; padding: 0px; font-size: 15.5556px; line-height: 26.6667px;\">&nbsp; &nbsp; T : 이어서 나오는 수치로 지정한 속도로 연주한다. (초기값은 120)</span></p>\r\n   <p style=\"padding: 0px; clear: none; float: none;\"><span style=\"margin: 0px; padding: 0px; font-size: 15.5556px; line-height: 26.6667px;\">&nbsp; &nbsp; &nbsp; &nbsp; 이때 지정하는 수치는 1분에 연주할 8분 음표의 개수이다.</span></p>\r\n   <p style=\"padding: 0px; clear: none; float: none;\"><span style=\"margin: 0px; padding: 0px; font-size: 15.5556px; line-height: 26.6667px;\">&nbsp; &nbsp; L : 이어서 나오는 수치로 음표나 쉼표의 길이를 지정한다. (초기값은 4)</span></p>\r\n   <p style=\"padding: 0px; clear: none; float: none;\"><span style=\"margin: 0px; padding: 0px; font-size: 15.5556px; line-height: 26.6667px;\">&nbsp; &nbsp; . : 음표나 쉼표의 길이를 1.5배 늘인다.</span></p>\r\n   <p style=\"padding: 0px; clear: none; float: none;\">&nbsp;</p>\r\n   </div>\r\n<p style=\"padding: 0px; color: #555555; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; background-color: #bec3c6;\">&nbsp;</p>\r\n<p style=\"padding: 0px; color: #555555; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; background-color: #bec3c6; clear: none; float: none;\"><br style=\"margin: 0px; padding: 0px;\" /></p>\r\n<p style=\"padding: 0px; color: #555555; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; background-color: #bec3c6; clear: none; float: none;\"><span style=\"margin: 0px; padding: 0px; font-size: 15.5556px; line-height: 26.6667px;\">더 나아가 스위치가 입력됬을 때 멜로디가 재생되도록 하려면 IF문 즉 조건문로 if(digitalRead(inPin)==1) 일때 동작내용에 PlayMelody함수를 사용하면 된답니다.^</span></p>\r\n<p style=\"padding: 0px; color: #555555; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; background-color: #bec3c6; clear: none; float: none;\"><br style=\"margin: 0px; padding: 0px;\" /></p>\r\n<p style=\"padding: 0px; color: #555555; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; background-color: #bec3c6; clear: none; float: none;\"><span style=\"margin: 0px; padding: 0px; font-size: 12pt;\">말로 여러번 설명하는 것 보다 스케치된 코드를 한번보는게 더 이해가 빠를지도 모를까 싶어서 만들어둔 스케치 중 두금삼 하나 올렸습니다.^</span></p>\r\n<p style=\"padding: 0px; color: #555555; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; background-color: #bec3c6; clear: none; float: none;\">&nbsp;</p>\r\n<div style=\"margin: 0px; padding: 0px; color: #555555; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; background-image: url(&quot;https://i1.daumcdn.net/deco/contents/horizontalrule/line03.gif?v=2&quot;); background-position: left center; background-size: initial; background-repeat: repeat-x; background-attachment: scroll; background-origin: initial; background-clip: initial; width: 1110.66px; height: 15px;\">\r\n   <hr style=\"margin: 0px; padding: 0px; border: 0px none black; left: -9999px; position: relative; top: -9999px;\" />\r\n   </div>\r\n<p style=\"padding: 0px; color: #555555; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; background-color: #bec3c6;\">&nbsp;</p>\r\n<p style=\"padding: 0px; color: #555555; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; background-color: #bec3c6; text-align: center; clear: none; float: none;\"><a href=\"https://docs.google.com/file/d/0B3TUepjmKjiXY1NZMS1Ha3VBQk0/edit?usp=sharing\" target=\"_blank\" style=\"margin: 0px; padding: 0px; color: #2970a6; text-decoration-line: none; font-size: 9pt; line-height: 1.5;\"><img src=\"https://t1.daumcdn.net/cfile/tistory/20143B4B510D141D13\" border=\"0\" style=\"margin: 0px; padding: 0px; border: 0px;\" /></a><span style=\"margin: 0px; padding: 0px; font-size: 9pt; line-height: 1.5;\">&nbsp;<b style=\"margin: 0px; padding: 0px;\"><span style=\"margin: 0px; padding: 0px; font-size: 12pt;\">말할수 없는 비밀&nbsp;</span><span style=\"margin: 0px; padding: 0px; font-size: 12pt;\">두금삼 예제 스케치</span></b></span><span style=\"margin: 0px; padding: 0px; font-size: 12pt;\"><b style=\"margin: 0px; padding: 0px;\">&nbsp;다운로드</b></span></p>\r\n<p style=\"padding: 0px; color: #555555; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; background-color: #bec3c6; clear: none; float: none;\">&nbsp;</p>\r\n<p style=\"padding: 0px; color: #555555; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; background-color: #bec3c6; text-align: center; clear: none; float: none;\">&nbsp;</p>\r\n<div style=\"margin: 0px; padding: 0px; color: #555555; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; background-color: #bec3c6; background-image: url(&quot;http://i1.daumcdn.net/deco/contents/horizontalrule/line03.gif?v=2&quot;); background-attachment: scroll; width: 692.986px; height: 15px; background-position: 0% 50%; background-repeat: repeat-x;\">\r\n   <hr style=\"margin: 0px; padding: 0px; border: 0px none black; left: -9999px; position: relative; top: -9999px;\" />\r\n   </div>\r\n<p style=\"padding: 0px; color: #555555; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; background-color: #bec3c6;\">&nbsp;</p>\r\n<p style=\"padding: 0px; color: #555555; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; background-color: #bec3c6; clear: none; float: none;\">&nbsp;</p>\r\n<p style=\"padding: 0px; color: #555555; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; background-color: #bec3c6;\">&nbsp;</p>\r\n<p style=\"padding: 0px; color: #555555; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; background-color: #bec3c6; clear: none; float: none;\"><br style=\"margin: 0px; padding: 0px;\" /></p>\r\n<p style=\"padding: 0px; color: #555555; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; background-color: #bec3c6; text-align: center; clear: none; float: none;\"><span style=\"margin: 0px; padding: 0px; font-size: 15.5556px; line-height: 26.6667px;\"><b style=\"margin: 0px; padding: 0px;\">ㅎㅎ 저는 3가지 멜로디를 재생해보았습니다.^ 아직 이렇게 까지 만든 분은 없는 것 같네요.</b></span></p>\r\n<p style=\"padding: 0px; color: #555555; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; background-color: #bec3c6; text-align: center; clear: none; float: none;\"><span style=\"margin: 0px; padding: 0px; font-size: 15.5556px; line-height: 26.6667px;\"><b style=\"margin: 0px; padding: 0px;\">&nbsp;</b></span></p>\r\n<center style=\"margin: 0px; padding: 0px; color: #555555; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; background-color: #bec3c6;\"><iframe width=\"640\" height=\"360\" src=\"https://www.youtube.com/embed/hrKbGdJtfq0?feature=player_detailpage\" frameborder=\"0\" allowfullscreen=\"\" style=\"margin: 0px; padding: 0px;\"></iframe></center><center style=\"margin: 0px; padding: 0px; color: #555555; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; background-color: #bec3c6;\"><br style=\"margin: 0px; padding: 0px;\" /></center>\r\n<p style=\"padding: 0px; color: #555555; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; background-color: #bec3c6;\">&nbsp;</p>\r\n<p style=\"padding: 0px; color: #555555; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; background-color: #bec3c6;\"><span style=\"margin: 0px; padding: 0px; font-size: 12pt;\">이 곡은 말할수 없는 비밀에서 피아노 배틀을 보셨다면 알수있는 곡 입니다.</span></p>\r\n<p style=\"padding: 0px; color: #555555; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; background-color: #bec3c6;\"><span style=\"margin: 0px; padding: 0px; font-size: 15.5556px; line-height: 26.6667px;\">주인공과 이상한놈(?)이 둘이서 피아노배틀 할 때 마지막 배틀곡을 아두이노로 만들어봤습니다.</span></p>\r\n<p style=\"padding: 0px; color: #555555; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; background-color: #bec3c6;\"><br style=\"margin: 0px; padding: 0px;\" /></p>\r\n<center style=\"margin: 0px; padding: 0px; color: #555555; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; background-color: #bec3c6;\"><iframe width=\"640\" height=\"360\" src=\"https://www.youtube.com/embed/GPul0BBFe9g?feature=player_detailpage\" frameborder=\"0\" allowfullscreen=\"\" style=\"margin: 0px; padding: 0px;\"></iframe></center>\r\n<div style=\"margin: 0px; padding: 0px; color: #555555; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; background-color: #bec3c6;\"><br style=\"margin: 0px; padding: 0px;\" /></div>\r\n<div style=\"margin: 0px; padding: 0px; color: #555555; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; background-color: #bec3c6;\"><span style=\"margin: 0px; padding: 0px; font-size: 12pt;\">말할 필요도 없는 곡 그냥 들으면 알 수 있습니다.</span><br style=\"margin: 0px; padding: 0px;\" /></div>\r\n<div style=\"margin: 0px; padding: 0px; color: #555555; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; background-color: #bec3c6;\"><span style=\"margin: 0px; padding: 0px; font-size: 15.5556px; line-height: 26.6667px;\">정말 대중가요를&nbsp;조금도 듣지 않는 사람이라면 모를 수 있습니다. ㅎ</span></div>\r\n<p><br style=\"margin: 0px; padding: 0px; color: #555555; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; background-color: #bec3c6;\" /></p>\r\n<center style=\"margin: 0px; padding: 0px; color: #555555; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; background-color: #bec3c6;\"><iframe width=\"640\" height=\"360\" src=\"https://www.youtube.com/embed/Xea9907qe5w?feature=player_detailpage\" frameborder=\"0\" allowfullscreen=\"\" style=\"margin: 0px; padding: 0px;\"></iframe></center><center style=\"margin: 0px; padding: 0px; color: #555555; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; background-color: #bec3c6;\"></center>\r\n<p><br style=\"margin: 0px; padding: 0px; color: #555555; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; background-color: #bec3c6;\" /><br style=\"margin: 0px; padding: 0px; color: #555555; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; background-color: #bec3c6;\" /><span style=\"color: #555555; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; background-color: #bec3c6;\">출처:&nbsp;</span><a href=\"https://binworld.kr/27\" style=\"margin: 0px; padding: 0px; color: #2970a6; text-decoration-line: none; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; background-color: #bec3c6;\" target=\"_blank\">https://binworld.kr/27</a><span style=\"color: #555555; font-family: Verdana, NanumGothic, &quot;Malgun Gothic&quot;, Gothic, AppleGothic, sans-serif; background-color: #bec3c6;\">&nbsp;[BinGoon의 소소한(?) 일상]</span></p>','https://binworld.kr/27','',0,0,1,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 14:41:31',0,'2019-04-26 14:41:31','210.101.103.92','','','','','','','','','','','',''),(250,-250,'',250,0,0,'','','html1','[Arduino] Play Melody라이브러리 예제','<p><span style=\"color: #404040; font-family: 굴림;\">**설치&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">압축해서 나온 파일중, PlayMelody.cpp/PlayMelody.h를 아두이노 경로,&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">arduino-Version-windows\\Hardware\\arduino\\cores\\arduino 폴더에 붙여넣기함.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">참고로,&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">아두이노 버전 1.0 에서 컴파일이 되지 않는 이유는 자료형 관련 컴파일 에러인데...&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">PlayMelody.h 헤더 파일에서&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">#include \"WProgram.h\"&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">라고 쓰여진 부분을 아래처럼 고치시면 버전에 상관없이 컴파일됩니다.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">#if defined(ARDUINO) &amp;&amp; ARDUINO &gt;= 100&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">#include \"Arduino.h\"&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">#else&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">#include \"WProgram.h\"&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">#endif&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">현재 올라간 파일은 수정을 해놓은 상태임.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">-------------------------------------------------------------------------------------------------------------------------------&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">이 라이브러리에 포함된 멜로디 연주 함수의 인자에 넘겨줄 문자열은 예전에 GW-BASIC이나 MSX-BASIC 등에서&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">이용하던 MML(Music Macro Language) 문법의 문자열과 유사합니다.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">함수의 이용법은 아래와 같이 단순합니다.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">함수의 이용 :&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; PlayMelody(pin, notes)&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; 또는&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; PlayMelody(pin, notes, af)&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">인자 :&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; pin : 스피커가 연결된 디지털 핀의 번호.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; notes : 연주를 위한 음표 기호로 구성된 문자열. (아래에 나옴.)&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; C : 도&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; D : 레&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; E : 미&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; &nbsp; &nbsp; F : 파&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; G : 솔&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; A : 라&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; B : 시&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; #, + : 반음 올린다.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; $, - : 반음 내린다.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; R, P : 쉼표&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; &gt; : 한 옥타브 올린다.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; &lt; : 한 옥타브 내린다.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; O : 이어서 나오는 수치로 지정한 옥타브를 선택한다. (초기값은 4)&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; T : 이어서 나오는 수치로 지정한 속도로 연주한다. (초기값은 120)&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; &nbsp; &nbsp; 이때 지정하는 수치는 1분에 연주할 8분 음표의 개수이다.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; L : 이어서 나오는 수치로 음표나 쉼표의 길이를 지정한다.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; &nbsp; &nbsp; (초기값은 4)&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; . : 음표나 쉼표의 길이를 1.5배 늘인다.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; af : 멜로디를 계속 연주할지를 알려주는 함수의 포인터. 이 함수의&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; &nbsp; &nbsp; 리턴 값이 false이면 더 이상 멜로디를 연주하지 않는다.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; &nbsp; &nbsp; 이 함수는 각 음표마다 호출된다.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; PlayMelody(6, \"CDEFGAB&gt;C&lt;L16CDE\") ;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; PlayMelody(11, \"CDE2C4.EG16CD8EC8EG.\", AllowFunc) ;</span></p>','','',0,0,1,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 14:42:11',1,'2019-04-26 14:42:11','210.101.103.92','','','','','','','','','','','',''),(251,-251,'',251,0,0,'','','html1','[Arduino] SR-2156K 2ch Type 7-Segment 자료','<p><span style=\"color: #404040; font-family: 굴림;\">SR-2156K 2ch Type 7-Segment 자료/엘레파츠 구매&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">***주의 테스트시 절대로 FND쪽에 VCC(5V)인가 직접하지 말 것, 꼭 디지털핀을 HIGH로 하여 테스트 해볼것***</span></p>','http://www.eleparts.co.kr/EPX33DNA','',0,0,1,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 14:42:39',1,'2019-04-26 14:42:39','210.101.103.92','','','','','','','','','','','',''),(252,-252,'',252,0,0,'','','html1','[Arduino] 74HC595 + SR-2156K 총 정리','<p><span style=\"color: #404040; font-family: 굴림;\">1. 우노와 74HC595의 결선&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; VCC ---&gt; 10 / 16&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; GND ---&gt; 8 / 13&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; 9 -------&gt; 11(Clock)&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; 10 ------&gt; 12(Latch)&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; 14 ------&gt; 14(Data)&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">2. 74HC595와 SR-2156K의 결선 (*참고로 SR-2156K 7, 8번이 Dig1, 2선택핀)&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; Q0/15 -----&gt; 2/DP&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; Q1/1&nbsp; -----&gt; 1/C&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; Q2/2&nbsp; -----&gt; 3/E&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; Q3/3&nbsp; -----&gt; 4/D&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; Q4/4&nbsp; -----&gt; 5/G&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; Q5/5&nbsp; -----&gt; 6/F&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; Q6/6&nbsp; -----&gt; 9/B&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; Q7/7&nbsp; -----&gt; 10/A&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">3. 아두이노 소스 스케치에서&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">0b&nbsp; 1&nbsp; 2&nbsp; 3&nbsp; 4&nbsp; 5&nbsp; 6&nbsp; 7&nbsp; 8&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; A&nbsp; B&nbsp; F&nbsp; G&nbsp; D&nbsp; E&nbsp; C&nbsp; DP&nbsp;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">int clock = 9;&nbsp; //74HC595의 클럭핀과 연결&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">int latch = 10;&nbsp; //74HC595의 래치핀과 연결&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">int data = 11;&nbsp; //74HC595의 데이터핀과 연결&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">int val[10] = {0b11101111, 0b01000011, 0b11011101, 0b11011011, 0b01110011,&nbsp; //0, 1, 2, 3, 4&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0b10111011, 0b00111111, 0b11000011, 0b11111111, 0b11110011};&nbsp; //5, 6, 7, 8, 9&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">void setup() {&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; pinMode(clock, OUTPUT);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; pinMode(latch, OUTPUT);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; pinMode(data, OUTPUT);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">}&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">void loop() {&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; for(int i = 0; i &lt; 1; i++){&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; LEDs(val[i]);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; delay(500);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; }&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">}&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">void LEDs(int a) {&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; digitalWrite(latch, LOW);&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //래치를 내리고&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; shiftOut(data,clock,MSBFIRST, a);&nbsp; //데이터를 보내고&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; digitalWrite(latch, HIGH);&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //래치를 올린다. 74HC595에서 데이터를 FND로 출력함.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">}</span></p>','','',0,0,1,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 14:43:08',2,'2019-04-26 14:43:08','210.101.103.92','','','','','','','','','','','',''),(253,-253,'',253,0,0,'','','html1','[Arduino] Arduino EMF Detector제작','<section id=\"intro\" class=\"step\" data-stepid=\"SE3KRQ1FV4LSAAY\" style=\"margin: 0px 0px 32px; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\">\r\n   <div class=\"mediaset\" style=\"position: relative; text-align: center; min-height: 109px; margin: -2.5px -2.5px 30px; line-height: 0;\">\r\n      <div class=\"photoset-wrapper\">\r\n         <div class=\"photoset\" style=\"margin: 0px auto;\">\r\n            <div class=\"photoset-row items-2 \" style=\"display: flex;\">\r\n               <div class=\"photoset-cell\" data-imagenotes=\"[{&quot;id&quot;:&quot;N9M52U8G0RSH1XK&quot;,&quot;author&quot;:&quot;computergeek&quot;,&quot;text&quot;:&quot;In case you\'re wondering, This is the same diagram I used in my app, which is in the iTunes app store, \'Electrical Ref\'.&quot;,&quot;top&quot;:0.00404040404040404,&quot;left&quot;:0.006,&quot;height&quot;:0.16161616161616163,&quot;width&quot;:0.978}]\" style=\"padding: 2.5px; flex: 1.00979 1 0%;\">\r\n                  <div class=\"photoset-image\" style=\"position: relative; overflow: hidden; border-radius: 4px; height: 371.641px;\"><a class=\"gallery-link\" rel=\"photoset123\" href=\"https://cdn.instructables.com/FI5/OSLT/G0RSH1X2/FI5OSLTG0RSH1X2.LARGE.jpg\" data-download=\"https://cdn.instructables.com/ORIG/FI5/OSLT/G0RSH1X2/FI5OSLTG0RSH1X2.png\" style=\"color: #e86c00; text-decoration-line: none;\" target=\"_blank\"><img src=\"https://cdn.instructables.com/FI5/OSLT/G0RSH1X2/FI5OSLTG0RSH1X2.LARGE.jpg?auto=webp&amp;width=518\" style=\"max-width: 100%; height: 371.641px; vertical-align: middle; border: 0px; width: 375.266px; border-radius: 4px;\" /><i class=\"notes-icon\" style=\"background: url(&quot;../img/imagenotes/icon-notes.png&quot;) no-repeat; width: 25px; height: 25px; display: inline-block; position: absolute; right: 0px; top: 0px;\"></i></a></div>\r\n                  </div>\r\n               </div>\r\n            </div>\r\n         </div>\r\n      </div>\r\n   <div class=\"author-promo\" style=\"border: 1px solid rgb(221, 221, 221); border-radius: 6px; padding: 15px; background-color: #f6f6f6; margin: 0px auto 20px; color: #777777; display: flex; flex-flow: wrap; max-width: 770px;\">\r\n      <div class=\"author-promo-row\" style=\"display: flex; flex-direction: row; width: 308px;\">\r\n         <div class=\"byline\" style=\"flex-grow: 1;\"><a class=\"avatar\" rel=\"author\" href=\"https://www.instructables.com/member/computergeek/\" style=\"color: #e86c00; text-decoration-line: none;\" target=\"_blank\"><img src=\"https://cdn.instructables.com/F40/MPZP/FG5HDKOE/F40MPZPFG5HDKOE.SQUARE2.jpg?auto=webp\" style=\"max-width: 100%; height: 80px; vertical-align: middle; border: 0px; border-radius: 40px; width: 80px; display: inline-block; float: left; margin: 2px 15px 0px 0px;\" /></a><span class=\"author-name\" style=\"display: inline-block; float: left; clear: right; line-height: 21px; width: calc(100% - 100px);\">By&nbsp;<a class=\"author\" rel=\"author\" href=\"https://www.instructables.com/member/computergeek/\" style=\"color: #555555; text-decoration-line: none; font-weight: 700; font-size: 16px;\" target=\"_blank\">computergeek</a></span><span class=\"author-follow\" style=\"display: inline-block; float: left; clear: right; line-height: 21px;\"><button class=\"btn btn-yellow follow-btn\" style=\"margin: 5px 20px 0px 0px; font-size: 14px; vertical-align: middle; line-height: 20px; cursor: pointer; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; padding: 6px 12px; color: #ffffff; background-color: #f8aa2b; background-image: none; background-repeat: repeat-x; border-width: 1px; border-style: solid; border-color: #e5991e; border-radius: 4px; box-shadow: none; white-space: nowrap;\">Follow</button></span></div>\r\n         </div>\r\n      <div class=\"recent-ibles promoted-content \" style=\"display: flex; flex-flow: row nowrap; justify-content: flex-end; align-items: center; width: 462px;\"><span class=\"promoted-items-label\" style=\"margin-top: 2px; text-align: right; width: 70px;\"><a rel=\"author\" class=\"author\" href=\"https://www.instructables.com/member/computergeek/\" style=\"color: #777777; text-decoration-line: none;\" target=\"_blank\">More by the author:</a></span>\r\n         <div class=\"promoted-items list-unstyled pull-right\" style=\"float: right; display: inline-block; margin-left: 10px;\">\r\n            <div data-id=\"\" class=\"promoted-item-thumbnail thumbnail instructable-thumbnail\" style=\"display: inline-block; padding: 0px; line-height: 20px; border: 1px solid rgba(0, 0, 0, 0.1); border-radius: 0px; box-shadow: none; transition: all 0.2s ease-in-out 0s; position: relative; background: rgb(255, 255, 255); overflow: hidden; width: 80px; height: 80px; margin: 0px 2px 0px 0px;\">\r\n               <div class=\"image-wrapper\" style=\"display: inline-block; width: 80px; height: 80px; margin: 0px 2px 0px 0px;\"><a href=\"https://www.instructables.com/id/DIY-Apple-Remote-Slideshow-for-the-instructable/\" title=\"DIY Apple Remote (Slideshow for the instructable)\" style=\"color: #e86c00; text-decoration-line: none;\" target=\"_blank\"><img src=\"https://cdn.instructables.com/FA9/8VYV/G1BBD058/FA98VYVG1BBD058.SQUARE2.jpg?auto=webp\" alt=\"DIY Apple Remote (Slideshow for the instructable)\" style=\"max-width: 100%; height: auto; vertical-align: middle; border: 0px;\" /></a></div>\r\n               </div>\r\n            <div data-id=\"\" class=\"promoted-item-thumbnail thumbnail instructable-thumbnail\" style=\"display: inline-block; padding: 0px; line-height: 20px; border: 1px solid rgba(0, 0, 0, 0.1); border-radius: 0px; box-shadow: none; transition: all 0.2s ease-in-out 0s; position: relative; background: rgb(255, 255, 255); overflow: hidden; width: 80px; height: 80px; margin: 0px 2px 0px 0px;\">\r\n               <div class=\"image-wrapper\" style=\"display: inline-block; width: 80px; height: 80px; margin: 0px 2px 0px 0px;\"><a href=\"https://www.instructables.com/id/DIY-Apple-Remote-Shield-for-the-Arduino/\" title=\"DIY Apple Remote Shield for the Arduino\" style=\"color: #e86c00; text-decoration-line: none;\" target=\"_blank\"><img src=\"https://cdn.instructables.com/FA9/8VYV/G1BBD058/FA98VYVG1BBD058.SQUARE2.jpg?auto=webp\" alt=\"DIY Apple Remote Shield for the Arduino\" style=\"max-width: 100%; height: auto; vertical-align: middle; border: 0px;\" /></a></div>\r\n               </div>\r\n            <div data-id=\"\" class=\"promoted-item-thumbnail thumbnail instructable-thumbnail\" style=\"display: inline-block; padding: 0px; line-height: 20px; border: 1px solid rgba(0, 0, 0, 0.1); border-radius: 0px; box-shadow: none; transition: all 0.2s ease-in-out 0s; position: relative; background: rgb(255, 255, 255); overflow: hidden; width: 80px; height: 80px; margin: 0px 2px 0px 0px;\">\r\n               <div class=\"image-wrapper\" style=\"display: inline-block; width: 80px; height: 80px; margin: 0px 2px 0px 0px;\"><a href=\"https://www.instructables.com/id/Simple-2-way-motor-control-for-the-arduino/\" title=\"Simple 2-way motor control for the arduino\" style=\"color: #e86c00; text-decoration-line: none;\" target=\"_blank\"><img src=\"https://cdn.instructables.com/FWH/F88U/G0SD2ZKW/FWHF88UG0SD2ZKW.SQUARE2.jpg?auto=webp\" alt=\"Simple 2-way motor control for the arduino\" style=\"max-width: 100%; height: auto; vertical-align: middle; border: 0px;\" /></a></div>\r\n               </div>\r\n            </div>\r\n         </div>\r\n      </div>\r\n   <div class=\"step-body\" style=\"margin: 0px auto; font-size: 20px; line-height: 32px; font-family: Nunito, helvetica, arial, sans-serif; color: #555555; overflow-wrap: break-word; max-width: 800px; box-sizing: border-box;\">\r\n      <p style=\"margin-top: 3px; margin-bottom: 20px;\">A while back I saw an EMF (Electromagnetic Field) Detector at makezine.com that used a led bargraph. I decided to modify it to use a 7-Segment LED Display! Here\'s my project. Sorry I don\'t have any pictures of it in use. Hopefully I can post some soon.&nbsp;<br /><br />Credit goes to&nbsp;<a href=\"http://www.aaronalai.com/emf-detector\" rel=\"nofollow\" style=\"color: #e86c00; word-break: break-all; overflow-wrap: break-word; cursor: pointer;\" target=\"_blank\">Aaron ALAI for the original project</a>. Also&nbsp;<a href=\"http://blog.makezine.com/archive/2009/05/making_the_arduino_emf_detector.html\" rel=\"nofollow\" style=\"color: #e86c00; word-break: break-all; overflow-wrap: break-word; cursor: pointer;\" target=\"_blank\">Conner Cunningham at Make: for doing a remake</a>.<br /><br /><em>Have fun, work hard, &amp; play nice! If you have questions please ask them!</em><br /><br /><br /><br type=\"_moz\" /></p>\r\n      </div>\r\n   <div class=\"step-toolbar\" style=\"text-align: center; font-size: 15px; color: #555555;\"><button class=\"step-tip\" style=\"margin: 0px 10px; font-size: 14px; vertical-align: initial; line-height: 40px; cursor: pointer; font-weight: inherit; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; background-repeat: no-repeat; border-width: 0px; border-style: initial; border-color: initial; padding: 0px 0px 0px 32px; position: relative; width: auto;\">Add Tip</button><button class=\"step-question\" style=\"margin: 0px 10px; font-size: 14px; vertical-align: initial; line-height: 40px; cursor: pointer; font-weight: inherit; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; background-repeat: no-repeat; border-width: 0px; border-style: initial; border-color: initial; padding: 0px 0px 0px 32px; position: relative; width: auto;\">Ask Question</button><button class=\"step-comment\" style=\"margin: 0px 10px; font-size: 14px; vertical-align: initial; line-height: 40px; cursor: pointer; font-weight: inherit; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; background-repeat: no-repeat; border-width: 0px; border-style: initial; border-color: initial; padding: 0px 0px 0px 32px; position: relative; width: auto;\">Comment</button><button class=\"svg-pdf step-download download-pdf verification-required\" data-sourcea=\"course\" data-role-group=\"pdf\" style=\"margin: 0px 10px; font-size: 14px; vertical-align: initial; line-height: 40px; cursor: pointer; font-weight: inherit; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; background-image: url(&quot;data:image/svg+xml,%3Csvg class=\'svg-icon pdf\' xmlns=\'http://www.w3.org/2000/svg\' width=\'24\' height=\'24\'%3E%3Cpath fill=\'%23d50a0a\' d=\'M22.81 5.67l-3.95-3.95-.19-.19H7.06c-.64 0-1.16.53-1.16 1.17v5.79H1.66a.56.56 0 0 0-.56.56v8.1c0 .31.25.56.56.56H5.9v3.71c0 .64.52 1.17 1.17 1.17h14.77c.64 0 1.17-.52 1.17-1.17V5.86l-.2-.19zM4.26 13.79v1.9H3.07v-5.25c.37-.06.89-.11 1.63-.11.74 0 1.27.14 1.63.43.34.27.57.71.57 1.23s-.17.96-.49 1.26c-.41.39-1.02.56-1.73.56-.16 0-.31-.01-.42-.02zm18.08-7.65v15.27c0 .28-.23.51-.51.51H7.06c-.28 0-.51-.23-.51-.51V17.7h11.28c.31 0 .56-.25.56-.56v-8.1a.56.56 0 0 0-.56-.56H6.55V2.7c0-.28.23-.51.51-.51H18.4v.01h-.01v3.95h3.95s-.05-.06-.14-.15l.14.14zM7.66 15.66v-5.22c.44-.07 1.02-.11 1.63-.11 1.01 0 1.66.18 2.18.57.55.41.9 1.07.9 2 0 1.02-.37 1.72-.88 2.15-.56.47-1.41.69-2.45.69-.64 0-1.08-.04-1.38-.08zm8.61-3.09v.98h-1.91v2.14h-1.21v-5.32h3.25v.99h-2.04v1.21h1.91z\'/%3E%3Cpath fill=\'%23d50a0a\' d=\'M4.76 11.24c-.24 0-.41.02-.5.05v1.57c.1.02.23.03.4.03.64 0 1.03-.32 1.03-.87.01-.49-.33-.78-.93-.78zm4.65.01c-.27 0-.44.02-.54.05v3.48c.1.02.27.02.42.02 1.09.01 1.8-.59 1.8-1.86 0-1.1-.65-1.69-1.68-1.69z\'/%3E%3C/svg%3E&quot;); padding: 0px 0px 0px 32px; background-position: 2px 4px; background-repeat: no-repeat; border-width: 0px; border-style: initial; border-color: initial; position: relative; width: auto;\">Download</button></div>\r\n   </section>\r\n<div id=\"gpt-ad-infeed-leaderboard\" class=\"gpt-ad leaderboard-sized-ad\" data-google-query-id=\"CNGUmsyG7eECFUWTvQoddW4EmA\" style=\"max-width: 728px; margin: 0px auto; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\">\r\n   <div id=\"google_ads_iframe_/1022072/infeed_leaderboard_0__container__\" data-adloox-type=\"el\" data-adloox-sid=\"36355606477\" data-adloox-cname=\"airfrance\" style=\"border: 0pt none;\"><iframe id=\"google_ads_iframe_/1022072/infeed_leaderboard_0\" title=\"3rd party ad content\" name=\"google_ads_iframe_/1022072/infeed_leaderboard_0\" width=\"728\" height=\"90\" scrolling=\"no\" marginwidth=\"0\" marginheight=\"0\" frameborder=\"0\" data-google-container-id=\"6\" data-load-complete=\"true\" style=\"max-width: 100%; border-width: 0px; border-style: initial; vertical-align: bottom;\"></iframe></div>\r\n   </div>\r\n<section id=\"step1\" class=\"step\" data-stepid=\"S2OQ42WFV4LSAB9\" style=\"margin: 32px 0px; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\">\r\n   <h2 class=\"step-title\" style=\"margin: 0px 0px 15px; font-family: inherit; line-height: normal; color: inherit; text-rendering: optimizelegibility; font-size: 24px; padding: 0px; text-align: center;\">Step 1: The Stuff:</h2>\r\n   <div class=\"mediaset\" style=\"position: relative; text-align: center; min-height: 109px; margin: -2.5px -2.5px 30px; line-height: 0;\">\r\n      <div class=\"photoset-wrapper\">\r\n         <div class=\"photoset\" style=\"margin: 0px auto; max-width: 929.851px;\">\r\n            <div class=\"photoset-row items-1 \">\r\n               <div class=\"photoset-cell\" data-imagenotes=\"[{&quot;id&quot;:&quot;NK4X025FV4LSCKI&quot;,&quot;author&quot;:&quot;computergeek&quot;,&quot;text&quot;:&quot;Arduino&quot;,&quot;top&quot;:0.5531914893617021,&quot;left&quot;:0.09,&quot;height&quot;:0.31648936170212766,&quot;width&quot;:0.32},{&quot;id&quot;:&quot;N6J324MFV4LSCKK&quot;,&quot;author&quot;:&quot;computergeek&quot;,&quot;text&quot;:&quot;Breadboard&quot;,&quot;top&quot;:0.10904255319148937,&quot;left&quot;:0.25,&quot;height&quot;:0.14627659574468085,&quot;width&quot;:0.494},{&quot;id&quot;:&quot;N77SRNZFV4LSCKL&quot;,&quot;author&quot;:&quot;computergeek&quot;,&quot;text&quot;:&quot;Wire&quot;,&quot;top&quot;:0.45478723404255317,&quot;left&quot;:0.846,&quot;height&quot;:0.35106382978723405,&quot;width&quot;:0.126},{&quot;id&quot;:&quot;NJV568CFV4LSCKM&quot;,&quot;author&quot;:&quot;computergeek&quot;,&quot;text&quot;:&quot;3.3M Resistor&quot;,&quot;top&quot;:0.375,&quot;left&quot;:0.4,&quot;height&quot;:0.0851063829787234,&quot;width&quot;:0.274},{&quot;id&quot;:&quot;NHIPSWDFV4LSCKP&quot;,&quot;author&quot;:&quot;computergeek&quot;,&quot;text&quot;:&quot;Arduino power cable or a usb cable&quot;,&quot;top&quot;:0.14095744680851063,&quot;left&quot;:0.012,&quot;height&quot;:0.26063829787234044,&quot;width&quot;:0.176},{&quot;id&quot;:&quot;NO1IKQAFV4LSCKQ&quot;,&quot;author&quot;:&quot;computergeek&quot;,&quot;text&quot;:&quot;7-segment Display&quot;,&quot;top&quot;:0.5691489361702128,&quot;left&quot;:0.484,&quot;height&quot;:0.11702127659574468,&quot;width&quot;:0.128},{&quot;id&quot;:&quot;NWNI6BFFV4LSCKR&quot;,&quot;author&quot;:&quot;computergeek&quot;,&quot;text&quot;:&quot;470 Ohm Resistor not pictured&quot;,&quot;top&quot;:0.8138297872340425,&quot;left&quot;:0.474,&quot;height&quot;:0.13829787234042554,&quot;width&quot;:0.188}]\" style=\"padding: 2.5px; flex: 1.32836 1 0%;\">\r\n                  <div class=\"photoset-image\" style=\"position: relative; overflow: hidden; border-radius: 4px; height: 657.797px;\"><a class=\"gallery-link\" rel=\"photoset127\" href=\"https://cdn.instructables.com/FNQ/JMPW/FV40B4XZ/FNQJMPWFV40B4XZ.LARGE.jpg\" data-download=\"https://cdn.instructables.com/ORIG/FNQ/JMPW/FV40B4XZ/FNQJMPWFV40B4XZ.jpg\" style=\"color: #e86c00; text-decoration-line: none;\" target=\"_blank\"><img alt=\"Picture of The Stuff:\" src=\"https://cdn.instructables.com/FNQ/JMPW/FV40B4XZ/FNQJMPWFV40B4XZ.LARGE.jpg?auto=webp&amp;width=930\" style=\"max-width: 100%; height: 657.797px; vertical-align: middle; border: 0px; width: 873.938px; border-radius: 4px;\" /><i class=\"notes-icon\" style=\"background: url(&quot;../img/imagenotes/icon-notes.png&quot;) no-repeat; width: 25px; height: 25px; display: inline-block; position: absolute; right: 0px; top: 0px;\"></i></a></div>\r\n                  </div>\r\n               </div>\r\n            </div>\r\n         </div>\r\n      </div>\r\n   <div class=\"step-body\" style=\"margin: 0px auto; font-size: 20px; line-height: 32px; font-family: Nunito, helvetica, arial, sans-serif; color: #555555; overflow-wrap: break-word; max-width: 800px; box-sizing: border-box;\">\r\n      <p style=\"margin-top: 3px; margin-bottom: 20px;\">The parts &amp; tools.<br /><br /><span style=\"font-weight: 700;\">Parts:</span><br />-&nbsp;<a href=\"http://arduino.cc/\" rel=\"nofollow\" style=\"color: #e86c00; word-break: break-all; overflow-wrap: break-word; cursor: pointer;\" target=\"_blank\">Arduino</a><br />-&nbsp;<a href=\"http://www.radioshack.com/product/index.jsp?productId=2062557\" rel=\"nofollow\" style=\"color: #e86c00; word-break: break-all; overflow-wrap: break-word; cursor: pointer;\" target=\"_blank\">7-Segment LED Display</a><br />- 3.3M Resistor (Orange, Orange, Green)<br />- 470 ohm resistor (Yellow, Violet, Brown) or a similar value for the LED display<br />- Wire. I\'m using 26 gauge wire<br />- Breadboard<br /><br /><span style=\"font-weight: 700;\">Tools:</span><br />- Computer with&nbsp;<a href=\"http://arduino.cc/en/Guide/HomePage\" rel=\"nofollow\" style=\"color: #e86c00; word-break: break-all; overflow-wrap: break-word; cursor: pointer;\" target=\"_blank\">Arduino IDE</a><br />- USB A-B cable for Arduino<br />- Wire Strippers<br /></p>\r\n      </div>\r\n   <div class=\"step-toolbar\" style=\"text-align: center; font-size: 15px; color: #555555;\"><button class=\"step-tip\" style=\"margin: 0px 10px; font-size: 14px; vertical-align: initial; line-height: 40px; cursor: pointer; font-weight: inherit; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; background-repeat: no-repeat; border-width: 0px; border-style: initial; border-color: initial; padding: 0px 0px 0px 32px; position: relative; width: auto;\">Add Tip</button><button class=\"step-question\" style=\"margin: 0px 10px; font-size: 14px; vertical-align: initial; line-height: 40px; cursor: pointer; font-weight: inherit; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; background-repeat: no-repeat; border-width: 0px; border-style: initial; border-color: initial; padding: 0px 0px 0px 32px; position: relative; width: auto;\">Ask Question</button><button class=\"step-comment\" style=\"margin: 0px 10px; font-size: 14px; vertical-align: initial; line-height: 40px; cursor: pointer; font-weight: inherit; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; background-repeat: no-repeat; border-width: 0px; border-style: initial; border-color: initial; padding: 0px 0px 0px 32px; position: relative; width: auto;\">Comment</button><button class=\"svg-pdf step-download download-pdf verification-required\" data-sourcea=\"course\" data-role-group=\"pdf\" style=\"margin: 0px 10px; font-size: 14px; vertical-align: initial; line-height: 40px; cursor: pointer; font-weight: inherit; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; background-image: url(&quot;data:image/svg+xml,%3Csvg class=\'svg-icon pdf\' xmlns=\'http://www.w3.org/2000/svg\' width=\'24\' height=\'24\'%3E%3Cpath fill=\'%23d50a0a\' d=\'M22.81 5.67l-3.95-3.95-.19-.19H7.06c-.64 0-1.16.53-1.16 1.17v5.79H1.66a.56.56 0 0 0-.56.56v8.1c0 .31.25.56.56.56H5.9v3.71c0 .64.52 1.17 1.17 1.17h14.77c.64 0 1.17-.52 1.17-1.17V5.86l-.2-.19zM4.26 13.79v1.9H3.07v-5.25c.37-.06.89-.11 1.63-.11.74 0 1.27.14 1.63.43.34.27.57.71.57 1.23s-.17.96-.49 1.26c-.41.39-1.02.56-1.73.56-.16 0-.31-.01-.42-.02zm18.08-7.65v15.27c0 .28-.23.51-.51.51H7.06c-.28 0-.51-.23-.51-.51V17.7h11.28c.31 0 .56-.25.56-.56v-8.1a.56.56 0 0 0-.56-.56H6.55V2.7c0-.28.23-.51.51-.51H18.4v.01h-.01v3.95h3.95s-.05-.06-.14-.15l.14.14zM7.66 15.66v-5.22c.44-.07 1.02-.11 1.63-.11 1.01 0 1.66.18 2.18.57.55.41.9 1.07.9 2 0 1.02-.37 1.72-.88 2.15-.56.47-1.41.69-2.45.69-.64 0-1.08-.04-1.38-.08zm8.61-3.09v.98h-1.91v2.14h-1.21v-5.32h3.25v.99h-2.04v1.21h1.91z\'/%3E%3Cpath fill=\'%23d50a0a\' d=\'M4.76 11.24c-.24 0-.41.02-.5.05v1.57c.1.02.23.03.4.03.64 0 1.03-.32 1.03-.87.01-.49-.33-.78-.93-.78zm4.65.01c-.27 0-.44.02-.54.05v3.48c.1.02.27.02.42.02 1.09.01 1.8-.59 1.8-1.86 0-1.1-.65-1.69-1.68-1.69z\'/%3E%3C/svg%3E&quot;); padding: 0px 0px 0px 32px; background-position: 2px 4px; background-repeat: no-repeat; border-width: 0px; border-style: initial; border-color: initial; position: relative; width: auto;\">Download</button></div>\r\n   </section>\r\n<section id=\"step2\" class=\"step\" data-stepid=\"S696RILFV4LSABI\" style=\"margin: 32px 0px; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\">\r\n   <h2 class=\"step-title\" style=\"margin: 0px 0px 15px; font-family: inherit; line-height: normal; color: inherit; text-rendering: optimizelegibility; font-size: 24px; padding: 0px; text-align: center;\">Step 2: Wire the 7-Segment LED Display</h2>\r\n   <div class=\"mediaset\" style=\"position: relative; text-align: center; min-height: 109px; margin: -2.5px -2.5px 30px; line-height: 0;\">\r\n      <div class=\"photoset-wrapper\">\r\n         <div class=\"photoset\" style=\"margin: 0px auto; max-width: 1135.16px;\">\r\n            <div class=\"photoset-row items-4 \" style=\"display: flex;\">\r\n               <div class=\"photoset-cell\" data-imagenotes=\"[{&quot;id&quot;:&quot;N15F1AQFUVSGTPD&quot;,&quot;author&quot;:&quot;computergeek&quot;,&quot;text&quot;:&quot;The display goes here&quot;,&quot;top&quot;:0.6356382978723404,&quot;left&quot;:0.342,&quot;height&quot;:0.2978723404255319,&quot;width&quot;:0.25},{&quot;id&quot;:&quot;NCWGEQ3FUVSGTPF&quot;,&quot;author&quot;:&quot;computergeek&quot;,&quot;text&quot;:&quot;The Display&quot;,&quot;top&quot;:0.34308510638297873,&quot;left&quot;:0.854,&quot;height&quot;:0.22606382978723405,&quot;width&quot;:0.116}]\" style=\"padding: 2.5px; flex: 1.32836 1 0%;\">\r\n                  <div class=\"photoset-image\" style=\"position: relative; overflow: hidden; border-radius: 4px; height: 538.828px;\"><a class=\"gallery-link\" rel=\"photoset130\" href=\"https://cdn.instructables.com/FGD/2CF2/FV15TOE0/FGD2CF2FV15TOE0.LARGE.jpg\" data-download=\"https://cdn.instructables.com/ORIG/FGD/2CF2/FV15TOE0/FGD2CF2FV15TOE0.jpg\" style=\"color: #e86c00; text-decoration-line: none;\" target=\"_blank\"><img alt=\"Picture of Wire the 7-Segment LED Display\" src=\"https://cdn.instructables.com/FGD/2CF2/FV15TOE0/FGD2CF2FV15TOE0.LARGE.jpg?auto=webp&amp;width=930\" style=\"max-width: 100%; height: 538.828px; vertical-align: middle; border: 0px; width: 715.875px; border-radius: 4px;\" /><i class=\"notes-icon\" style=\"background: url(&quot;../img/imagenotes/icon-notes.png&quot;) no-repeat; width: 25px; height: 25px; display: inline-block; position: absolute; right: 0px; top: 0px;\"></i></a></div>\r\n                  </div>\r\n               <div class=\"photoset-col\" style=\"display: flex; flex-direction: column; flex: 0.293296 1 0%;\">\r\n                  <div class=\"photoset-cell\" data-imagenotes=\"[{&quot;id&quot;:&quot;NMAI4GZFV40B543&quot;,&quot;author&quot;:&quot;computergeek&quot;,&quot;text&quot;:&quot;Goes to pin 5&quot;,&quot;top&quot;:0.6160714285714286,&quot;left&quot;:0.2962085308056872,&quot;height&quot;:0.0125,&quot;width&quot;:0.06635071090047394},{&quot;id&quot;:&quot;N04OBV5FV40B544&quot;,&quot;author&quot;:&quot;computergeek&quot;,&quot;text&quot;:&quot;Goes to pin 4&quot;,&quot;top&quot;:0.5946428571428571,&quot;left&quot;:0.2962085308056872,&quot;height&quot;:0.010714285714285714,&quot;width&quot;:0.061611374407582936},{&quot;id&quot;:&quot;N8P0W3IFV40B545&quot;,&quot;author&quot;:&quot;computergeek&quot;,&quot;text&quot;:&quot;Goes to pin 2&quot;,&quot;top&quot;:0.49642857142857144,&quot;left&quot;:0.3080568720379147,&quot;height&quot;:0.01607142857142857,&quot;width&quot;:0.052132701421800945},{&quot;id&quot;:&quot;NSQIVEBFV40B546&quot;,&quot;author&quot;:&quot;computergeek&quot;,&quot;text&quot;:&quot;Goes to pin 3&quot;,&quot;top&quot;:0.5178571428571429,&quot;left&quot;:0.3009478672985782,&quot;height&quot;:0.008928571428571428,&quot;width&quot;:0.06398104265402843},{&quot;id&quot;:&quot;NHLHL02FV40B547&quot;,&quot;author&quot;:&quot;computergeek&quot;,&quot;text&quot;:&quot;Pin 5&quot;,&quot;top&quot;:0.9571428571428572,&quot;left&quot;:0.4218009478672986,&quot;height&quot;:0.019642857142857142,&quot;width&quot;:0.1018957345971564},{&quot;id&quot;:&quot;NGUFBYPFV40B54B&quot;,&quot;author&quot;:&quot;computergeek&quot;,&quot;text&quot;:&quot;Pin 3&quot;,&quot;top&quot;:0.8857142857142857,&quot;left&quot;:0.42417061611374407,&quot;height&quot;:0.017857142857142856,&quot;width&quot;:0.0971563981042654},{&quot;id&quot;:&quot;N2A8FOEFV40B54E&quot;,&quot;author&quot;:&quot;computergeek&quot;,&quot;text&quot;:&quot;Pin 4&quot;,&quot;top&quot;:0.8946428571428572,&quot;left&quot;:0.3791469194312796,&quot;height&quot;:0.07321428571428572,&quot;width&quot;:0.02843601895734597},{&quot;id&quot;:&quot;N95EAV4FV40B54F&quot;,&quot;author&quot;:&quot;computergeek&quot;,&quot;text&quot;:&quot;Pin 2&quot;,&quot;top&quot;:0.7964285714285714,&quot;left&quot;:0.3815165876777251,&quot;height&quot;:0.06964285714285715,&quot;width&quot;:0.03317535545023697},{&quot;id&quot;:&quot;N81D8DMFV40B54G&quot;,&quot;author&quot;:&quot;computergeek&quot;,&quot;text&quot;:&quot;Pin 8&quot;,&quot;top&quot;:0.7714285714285715,&quot;left&quot;:0.4312796208530806,&quot;height&quot;:0.02142857142857143,&quot;width&quot;:0.09004739336492891},{&quot;id&quot;:&quot;NSHL0YHFV40B54H&quot;,&quot;author&quot;:&quot;computergeek&quot;,&quot;text&quot;:&quot;Pin 7&quot;,&quot;top&quot;:0.7892857142857143,&quot;left&quot;:0.5308056872037915,&quot;height&quot;:0.08214285714285714,&quot;width&quot;:0.026066350710900472},{&quot;id&quot;:&quot;NYHT8GTFV40B54I&quot;,&quot;author&quot;:&quot;computergeek&quot;,&quot;text&quot;:&quot;Pin 6&quot;,&quot;top&quot;:0.8982142857142857,&quot;left&quot;:0.5402843601895735,&quot;height&quot;:0.06785714285714285,&quot;width&quot;:0.030805687203791468},{&quot;id&quot;:&quot;NR4KCZ4FV40B54J&quot;,&quot;author&quot;:&quot;computergeek&quot;,&quot;text&quot;:&quot;Goes to pin 6&quot;,&quot;top&quot;:0.6160714285714286,&quot;left&quot;:0.6066350710900474,&quot;height&quot;:0.014285714285714285,&quot;width&quot;:0.05924170616113744},{&quot;id&quot;:&quot;N40MJQWFV40B54L&quot;,&quot;author&quot;:&quot;computergeek&quot;,&quot;text&quot;:&quot;Goes to Ground&quot;,&quot;top&quot;:0.5375,&quot;left&quot;:0.6018957345971564,&quot;height&quot;:0.0125,&quot;width&quot;:0.07819905213270142},{&quot;id&quot;:&quot;NDTD8WRFV40B54M&quot;,&quot;author&quot;:&quot;computergeek&quot;,&quot;text&quot;:&quot;Goes to pin 7&quot;,&quot;top&quot;:0.5196428571428572,&quot;left&quot;:0.590047393364929,&quot;height&quot;:0.008928571428571428,&quot;width&quot;:0.0947867298578199},{&quot;id&quot;:&quot;NGTARATFV40B54N&quot;,&quot;author&quot;:&quot;computergeek&quot;,&quot;text&quot;:&quot;Goes to pin 8&quot;,&quot;top&quot;:0.49642857142857144,&quot;left&quot;:0.6042654028436019,&quot;height&quot;:0.007142857142857143,&quot;width&quot;:0.07582938388625593}]\" style=\"padding: 2.5px; flex: 0.752809 1 0%;\">\r\n                     <div class=\"photoset-image\" style=\"position: relative; overflow: hidden; border-radius: 4px; height: 203.078px;\"><a class=\"gallery-link\" rel=\"photoset130\" href=\"https://cdn.instructables.com/FCS/4BNJ/FV15TODX/FCS4BNJFV15TODX.LARGE.jpg\" data-download=\"https://cdn.instructables.com/ORIG/FCS/4BNJ/FV15TODX/FCS4BNJFV15TODX.jpg\" style=\"color: #e86c00; text-decoration-line: none;\" target=\"_blank\"><img alt=\"Picture of Wire the 7-Segment LED Display\" src=\"https://cdn.instructables.com/FCS/4BNJ/FV15TODX/FCS4BNJFV15TODX.LARGE.jpg?auto=webp&amp;width=205\" style=\"max-width: 100%; height: 203.078px; vertical-align: middle; border: 0px; width: 153.063px; border-radius: 4px;\" /><i class=\"notes-icon\" style=\"background: url(&quot;../img/imagenotes/icon-notes.png&quot;) no-repeat; width: 25px; height: 25px; display: inline-block; position: absolute; right: 0px; top: 0px;\"></i></a></div>\r\n                     </div>\r\n                  <div class=\"photoset-cell\" data-imagenotes=\"[]\" style=\"padding: 2.5px; flex: 1.32836 1 0%;\">\r\n                     <div class=\"photoset-image\" style=\"position: relative; overflow: hidden; border-radius: 4px; height: 122.672px;\"><a class=\"gallery-link\" rel=\"photoset130\" href=\"https://cdn.instructables.com/FWH/2F35/FV15TODS/FWH2F35FV15TODS.LARGE.jpg\" data-download=\"https://cdn.instructables.com/ORIG/FWH/2F35/FV15TODS/FWH2F35FV15TODS.jpg\" style=\"color: #e86c00; text-decoration-line: none;\" target=\"_blank\"><img alt=\"Picture of Wire the 7-Segment LED Display\" src=\"https://cdn.instructables.com/FWH/2F35/FV15TODS/FWH2F35FV15TODS.LARGE.jpg?auto=webp&amp;width=205\" style=\"max-width: 100%; height: 122.672px; vertical-align: middle; border: 0px; width: 153.063px; border-radius: 4px;\" /></a></div>\r\n                     </div>\r\n                  <div class=\"photoset-cell\" data-imagenotes=\"[]\" style=\"padding: 2.5px; flex: 0.752809 1 0%;\">\r\n                     <div class=\"photoset-image\" style=\"position: relative; overflow: hidden; border-radius: 4px; height: 203.078px;\"><a class=\"gallery-link\" rel=\"photoset130\" href=\"https://cdn.instructables.com/FAT/3OFI/FV15TODP/FAT3OFIFV15TODP.LARGE.jpg\" data-download=\"https://cdn.instructables.com/ORIG/FAT/3OFI/FV15TODP/FAT3OFIFV15TODP.jpg\" style=\"color: #e86c00; text-decoration-line: none;\" target=\"_blank\"><img alt=\"Picture of Wire the 7-Segment LED Display\" src=\"https://cdn.instructables.com/FAT/3OFI/FV15TODP/FAT3OFIFV15TODP.LARGE.jpg?auto=webp&amp;width=205\" style=\"max-width: 100%; height: 203.078px; vertical-align: middle; border: 0px; width: 153.063px; border-radius: 4px;\" /></a>\r\n                        <div class=\"photoset-showmore\" style=\"cursor: pointer; color: #ffffff; font-size: 17px; position: absolute; bottom: 0px; left: 0px; right: 0px; z-index: 1; padding: 10px 0px; background: rgba(0, 0, 0, 0.3); white-space: nowrap; line-height: 19px;\">6 More Images</div>\r\n                        </div>\r\n                     </div>\r\n                  </div>\r\n               </div>\r\n            </div>\r\n         </div>\r\n      </div>\r\n   <div class=\"step-body\" style=\"margin: 0px auto; font-size: 20px; line-height: 32px; font-family: Nunito, helvetica, arial, sans-serif; color: #555555; overflow-wrap: break-word; max-width: 800px; box-sizing: border-box;\">\r\n      <p style=\"margin-top: 3px; margin-bottom: 20px;\">This is probably one of the most confusing parts of the project, so I\'ll try to be clear. But if I\'m not please ask any questions you have.<br />I used pins 2-8 on my arduino for the display. I wired the pins on the display counter-clockwise starting at the upper-left corner. Hopefully the pictures help explain it better.<br /><br /><span style=\"font-weight: 700;\">Picture 1)</span>&nbsp;Display before installation.<br /><span style=\"font-weight: 700;\">Picture 2)</span>&nbsp;Display after installation.<br /><span style=\"font-weight: 700;\">Picture 3)</span>&nbsp;Pin 1 on the display goes to pin 2 on the Arduino.<br /><span style=\"font-weight: 700;\">Picture 4)</span>&nbsp;Pin 2 on the display goes to pin 3 on the Arduino.<br /><span style=\"font-weight: 700;\">Picture 5)</span>&nbsp;Pin 4 on the display goes to pin 4 on the Arduino.<br /><span style=\"font-weight: 700;\">Picture 6)</span>&nbsp;Pin 5 on the display goes to pin 5 on the Arduino.<br /><span style=\"font-weight: 700;\">Picture 7)</span>&nbsp;Pin 6 on the display goes to pin 6 on the Arduino.<br /><span style=\"font-weight: 700;\">Picture 8)</span>&nbsp;Pin 8 on the display goes through the 470 ohm resistor to the side rail on the bread board<br /><span style=\"font-weight: 700;\">Picture 9)</span>&nbsp;Pin 9 on the display goes to pin 7 on the Arduino. Also Ground on the arduino is connected to the side rail on the arduino.<br /><span style=\"font-weight: 700;\">Picture 10)</span>&nbsp;Pin 10 on the display goes to pin 8 on the Arduino.<br /><br />If you have any question please ask them!<br /></p>\r\n      </div>\r\n   <div class=\"step-toolbar\" style=\"text-align: center; font-size: 15px; color: #555555;\"><button class=\"step-tip\" style=\"margin: 0px 10px; font-size: 14px; vertical-align: initial; line-height: 40px; cursor: pointer; font-weight: inherit; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; background-repeat: no-repeat; border-width: 0px; border-style: initial; border-color: initial; padding: 0px 0px 0px 32px; position: relative; width: auto;\">Add Tip</button><button class=\"step-question\" style=\"margin: 0px 10px; font-size: 14px; vertical-align: initial; line-height: 40px; cursor: pointer; font-weight: inherit; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; background-repeat: no-repeat; border-width: 0px; border-style: initial; border-color: initial; padding: 0px 0px 0px 32px; position: relative; width: auto;\">Ask Question</button><button class=\"step-comment\" style=\"margin: 0px 10px; font-size: 14px; vertical-align: initial; line-height: 40px; cursor: pointer; font-weight: inherit; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; background-repeat: no-repeat; border-width: 0px; border-style: initial; border-color: initial; padding: 0px 0px 0px 32px; position: relative; width: auto;\">Comment</button><button class=\"svg-pdf step-download download-pdf verification-required\" data-sourcea=\"course\" data-role-group=\"pdf\" style=\"margin: 0px 10px; font-size: 14px; vertical-align: initial; line-height: 40px; cursor: pointer; font-weight: inherit; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; background-image: url(&quot;data:image/svg+xml,%3Csvg class=\'svg-icon pdf\' xmlns=\'http://www.w3.org/2000/svg\' width=\'24\' height=\'24\'%3E%3Cpath fill=\'%23d50a0a\' d=\'M22.81 5.67l-3.95-3.95-.19-.19H7.06c-.64 0-1.16.53-1.16 1.17v5.79H1.66a.56.56 0 0 0-.56.56v8.1c0 .31.25.56.56.56H5.9v3.71c0 .64.52 1.17 1.17 1.17h14.77c.64 0 1.17-.52 1.17-1.17V5.86l-.2-.19zM4.26 13.79v1.9H3.07v-5.25c.37-.06.89-.11 1.63-.11.74 0 1.27.14 1.63.43.34.27.57.71.57 1.23s-.17.96-.49 1.26c-.41.39-1.02.56-1.73.56-.16 0-.31-.01-.42-.02zm18.08-7.65v15.27c0 .28-.23.51-.51.51H7.06c-.28 0-.51-.23-.51-.51V17.7h11.28c.31 0 .56-.25.56-.56v-8.1a.56.56 0 0 0-.56-.56H6.55V2.7c0-.28.23-.51.51-.51H18.4v.01h-.01v3.95h3.95s-.05-.06-.14-.15l.14.14zM7.66 15.66v-5.22c.44-.07 1.02-.11 1.63-.11 1.01 0 1.66.18 2.18.57.55.41.9 1.07.9 2 0 1.02-.37 1.72-.88 2.15-.56.47-1.41.69-2.45.69-.64 0-1.08-.04-1.38-.08zm8.61-3.09v.98h-1.91v2.14h-1.21v-5.32h3.25v.99h-2.04v1.21h1.91z\'/%3E%3Cpath fill=\'%23d50a0a\' d=\'M4.76 11.24c-.24 0-.41.02-.5.05v1.57c.1.02.23.03.4.03.64 0 1.03-.32 1.03-.87.01-.49-.33-.78-.93-.78zm4.65.01c-.27 0-.44.02-.54.05v3.48c.1.02.27.02.42.02 1.09.01 1.8-.59 1.8-1.86 0-1.1-.65-1.69-1.68-1.69z\'/%3E%3C/svg%3E&quot;); padding: 0px 0px 0px 32px; background-position: 2px 4px; background-repeat: no-repeat; border-width: 0px; border-style: initial; border-color: initial; position: relative; width: auto;\">Download</button></div>\r\n   </section>\r\n<section id=\"step3\" class=\"step\" data-stepid=\"SW65TMZFV4LSABJ\" style=\"margin: 32px 0px; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\">\r\n   <h2 class=\"step-title\" style=\"margin: 0px 0px 15px; font-family: inherit; line-height: normal; color: inherit; text-rendering: optimizelegibility; font-size: 24px; padding: 0px; text-align: center;\">Step 3: Add the Probe/Antenna</h2>\r\n   <div class=\"mediaset\" style=\"position: relative; text-align: center; min-height: 109px; margin: -2.5px -2.5px 30px; line-height: 0;\">\r\n      <div class=\"photoset-wrapper\">\r\n         <div class=\"photoset\" style=\"margin: 0px auto; max-width: 773.969px;\">\r\n            <div class=\"photoset-row items-4 \" style=\"display: flex;\">\r\n               <div class=\"photoset-cell\" data-imagenotes=\"[{&quot;id&quot;:&quot;NQJ5KD3FV40B57A&quot;,&quot;author&quot;:&quot;computergeek&quot;,&quot;text&quot;:&quot;The other side&quot;,&quot;top&quot;:0.48035714285714287,&quot;left&quot;:0.2796208530805687,&quot;height&quot;:0.3767857142857143,&quot;width&quot;:0.6445497630331753}]\" style=\"padding: 2.5px; flex: 0.752809 1 0%;\">\r\n                  <div class=\"photoset-image\" style=\"position: relative; overflow: hidden; border-radius: 4px; height: 695.422px;\"><a class=\"gallery-link\" rel=\"photoset142\" href=\"https://cdn.instructables.com/FSO/9DF1/FV4LSCLI/FSO9DF1FV4LSCLI.LARGE.jpg\" data-download=\"https://cdn.instructables.com/ORIG/FSO/9DF1/FV4LSCLI/FSO9DF1FV4LSCLI.jpg\" style=\"color: #e86c00; text-decoration-line: none;\" target=\"_blank\"><img alt=\"Picture of Add the Probe/Antenna\" src=\"https://cdn.instructables.com/FSO/9DF1/FV4LSCLI/FSO9DF1FV4LSCLI.LARGE.jpg?auto=webp&amp;width=527\" style=\"max-width: 100%; height: 695.422px; vertical-align: middle; border: 0px; width: 523.563px; border-radius: 4px;\" /><i class=\"notes-icon\" style=\"background: url(&quot;../img/imagenotes/icon-notes.png&quot;) no-repeat; width: 25px; height: 25px; display: inline-block; position: absolute; right: 0px; top: 0px;\"></i></a></div>\r\n                  </div>\r\n               <div class=\"photoset-col\" style=\"display: flex; flex-direction: column; flex: 0.352861 1 0%;\">\r\n                  <div class=\"photoset-cell\" data-imagenotes=\"[{&quot;id&quot;:&quot;NFF3Y64FV40B58R&quot;,&quot;author&quot;:&quot;computergeek&quot;,&quot;text&quot;:&quot;3.3M resistor from ground&quot;,&quot;top&quot;:0.6392857142857142,&quot;left&quot;:0.27488151658767773,&quot;height&quot;:0.07678571428571429,&quot;width&quot;:0.2156398104265403}]\" style=\"padding: 2.5px; flex: 0.752809 1 0%;\">\r\n                     <div class=\"photoset-image\" style=\"position: relative; overflow: hidden; border-radius: 4px; height: 319.234px;\"><a class=\"gallery-link\" rel=\"photoset142\" href=\"https://cdn.instructables.com/FTX/JXXC/FV4LSCLH/FTXJXXCFV4LSCLH.LARGE.jpg\" data-download=\"https://cdn.instructables.com/ORIG/FTX/JXXC/FV4LSCLH/FTXJXXCFV4LSCLH.jpg\" style=\"color: #e86c00; text-decoration-line: none;\" target=\"_blank\"><img alt=\"Picture of Add the Probe/Antenna\" src=\"https://cdn.instructables.com/FTX/JXXC/FV4LSCLH/FTXJXXCFV4LSCLH.LARGE.jpg?auto=webp&amp;width=247\" style=\"max-width: 100%; height: 319.234px; vertical-align: middle; border: 0px; width: 240.406px; border-radius: 4px;\" /><i class=\"notes-icon\" style=\"background: url(&quot;../img/imagenotes/icon-notes.png&quot;) no-repeat; width: 25px; height: 25px; display: inline-block; position: absolute; right: 0px; top: 0px;\"></i></a></div>\r\n                     </div>\r\n                  <div class=\"photoset-cell\" data-imagenotes=\"[{&quot;id&quot;:&quot;N0JY68OFV40B59K&quot;,&quot;author&quot;:&quot;computergeek&quot;,&quot;text&quot;:&quot;Analog pin 5&quot;,&quot;top&quot;:0.2074468085106383,&quot;left&quot;:0.698,&quot;height&quot;:0.061170212765957445,&quot;width&quot;:0.102}]\" style=\"padding: 2.5px; flex: 1.32836 1 0%;\">\r\n                     <div class=\"photoset-image\" style=\"position: relative; overflow: hidden; border-radius: 4px; height: 183.094px;\"><a class=\"gallery-link\" rel=\"photoset142\" href=\"https://cdn.instructables.com/FU8/8K9H/FV4LSCLG/FU88K9HFV4LSCLG.LARGE.jpg\" data-download=\"https://cdn.instructables.com/ORIG/FU8/8K9H/FV4LSCLG/FU88K9HFV4LSCLG.jpg\" style=\"color: #e86c00; text-decoration-line: none;\" target=\"_blank\"><img alt=\"Picture of Add the Probe/Antenna\" src=\"https://cdn.instructables.com/FU8/8K9H/FV4LSCLG/FU88K9HFV4LSCLG.LARGE.jpg?auto=webp&amp;width=247\" style=\"max-width: 100%; height: 183.094px; vertical-align: middle; border: 0px; width: 240.406px; border-radius: 4px;\" /><i class=\"notes-icon\" style=\"background: url(&quot;../img/imagenotes/icon-notes.png&quot;) no-repeat; width: 25px; height: 25px; display: inline-block; position: absolute; right: 0px; top: 0px;\"></i></a></div>\r\n                     </div>\r\n                  <div class=\"photoset-cell\" data-imagenotes=\"[{&quot;id&quot;:&quot;NOQNP8ZFV40B59S&quot;,&quot;author&quot;:&quot;computergeek&quot;,&quot;text&quot;:&quot;Antenna&quot;,&quot;top&quot;:0.4654255319148936,&quot;left&quot;:0.538,&quot;height&quot;:0.12234042553191489,&quot;width&quot;:0.182}]\" style=\"padding: 2.5px; flex: 1.32836 1 0%;\">\r\n                     <div class=\"photoset-image\" style=\"position: relative; overflow: hidden; border-radius: 4px; height: 183.094px;\"><a class=\"gallery-link\" rel=\"photoset142\" href=\"https://cdn.instructables.com/FW7/E7M0/FV4LSCLA/FW7E7M0FV4LSCLA.LARGE.jpg\" data-download=\"https://cdn.instructables.com/ORIG/FW7/E7M0/FV4LSCLA/FW7E7M0FV4LSCLA.jpg\" style=\"color: #e86c00; text-decoration-line: none;\" target=\"_blank\"><img alt=\"Picture of Add the Probe/Antenna\" src=\"https://cdn.instructables.com/FW7/E7M0/FV4LSCLA/FW7E7M0FV4LSCLA.LARGE.jpg?auto=webp&amp;width=247\" style=\"max-width: 100%; height: 183.094px; vertical-align: middle; border: 0px; width: 240.406px; border-radius: 4px;\" /><i class=\"notes-icon\" style=\"background: url(&quot;../img/imagenotes/icon-notes.png&quot;) no-repeat; width: 25px; height: 25px; display: inline-block; position: absolute; right: 0px; top: 0px;\"></i></a>\r\n                        <div class=\"photoset-showmore\" style=\"cursor: pointer; color: #ffffff; font-size: 17px; position: absolute; bottom: 0px; left: 0px; right: 0px; z-index: 1; padding: 10px 0px; background: rgba(0, 0, 0, 0.3); white-space: nowrap; line-height: 19px;\">3 More Images</div>\r\n                        </div>\r\n                     </div>\r\n                  </div>\r\n               </div>\r\n            </div>\r\n         </div>\r\n      </div>\r\n   <div class=\"step-body\" style=\"margin: 0px auto; font-size: 20px; line-height: 32px; font-family: Nunito, helvetica, arial, sans-serif; color: #555555; overflow-wrap: break-word; max-width: 800px; box-sizing: border-box;\">\r\n      <p style=\"margin-top: 3px; margin-bottom: 20px;\"><span style=\"font-weight: 700;\">Make the antenna/probe:</span><br />- Cut a 6-7 in. piece of solid core wire.<br />- Strip one end so you can plug it into your breadboard<br />- Strip the other end about 2 in. from the end.<br /><br /><span style=\"font-weight: 700;\">Add the antenna:&nbsp;</span>(Pictures 2-6)<br />- Take the 3.3M ohm resistor and connect it from the ground on the arduino to a point on the breadboard<br />- Add another wire from where the resistor is connected to analog pin 5 on the arduino.<br />- Add the antenna to where the resistor and the wire are connected on the breadboard.<br /></p>\r\n      </div>\r\n   <div class=\"step-toolbar\" style=\"text-align: center; font-size: 15px; color: #555555;\"><button class=\"step-tip\" style=\"margin: 0px 10px; font-size: 14px; vertical-align: initial; line-height: 40px; cursor: pointer; font-weight: inherit; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; background-repeat: no-repeat; border-width: 0px; border-style: initial; border-color: initial; padding: 0px 0px 0px 32px; position: relative; width: auto;\">Add Tip</button><button class=\"step-question\" style=\"margin: 0px 10px; font-size: 14px; vertical-align: initial; line-height: 40px; cursor: pointer; font-weight: inherit; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; background-repeat: no-repeat; border-width: 0px; border-style: initial; border-color: initial; padding: 0px 0px 0px 32px; position: relative; width: auto;\">Ask Question</button><button class=\"step-comment\" style=\"margin: 0px 10px; font-size: 14px; vertical-align: initial; line-height: 40px; cursor: pointer; font-weight: inherit; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; background-repeat: no-repeat; border-width: 0px; border-style: initial; border-color: initial; padding: 0px 0px 0px 32px; position: relative; width: auto;\">Comment</button><button class=\"svg-pdf step-download download-pdf verification-required\" data-sourcea=\"course\" data-role-group=\"pdf\" style=\"margin: 0px 10px; font-size: 14px; vertical-align: initial; line-height: 40px; cursor: pointer; font-weight: inherit; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; background-image: url(&quot;data:image/svg+xml,%3Csvg class=\'svg-icon pdf\' xmlns=\'http://www.w3.org/2000/svg\' width=\'24\' height=\'24\'%3E%3Cpath fill=\'%23d50a0a\' d=\'M22.81 5.67l-3.95-3.95-.19-.19H7.06c-.64 0-1.16.53-1.16 1.17v5.79H1.66a.56.56 0 0 0-.56.56v8.1c0 .31.25.56.56.56H5.9v3.71c0 .64.52 1.17 1.17 1.17h14.77c.64 0 1.17-.52 1.17-1.17V5.86l-.2-.19zM4.26 13.79v1.9H3.07v-5.25c.37-.06.89-.11 1.63-.11.74 0 1.27.14 1.63.43.34.27.57.71.57 1.23s-.17.96-.49 1.26c-.41.39-1.02.56-1.73.56-.16 0-.31-.01-.42-.02zm18.08-7.65v15.27c0 .28-.23.51-.51.51H7.06c-.28 0-.51-.23-.51-.51V17.7h11.28c.31 0 .56-.25.56-.56v-8.1a.56.56 0 0 0-.56-.56H6.55V2.7c0-.28.23-.51.51-.51H18.4v.01h-.01v3.95h3.95s-.05-.06-.14-.15l.14.14zM7.66 15.66v-5.22c.44-.07 1.02-.11 1.63-.11 1.01 0 1.66.18 2.18.57.55.41.9 1.07.9 2 0 1.02-.37 1.72-.88 2.15-.56.47-1.41.69-2.45.69-.64 0-1.08-.04-1.38-.08zm8.61-3.09v.98h-1.91v2.14h-1.21v-5.32h3.25v.99h-2.04v1.21h1.91z\'/%3E%3Cpath fill=\'%23d50a0a\' d=\'M4.76 11.24c-.24 0-.41.02-.5.05v1.57c.1.02.23.03.4.03.64 0 1.03-.32 1.03-.87.01-.49-.33-.78-.93-.78zm4.65.01c-.27 0-.44.02-.54.05v3.48c.1.02.27.02.42.02 1.09.01 1.8-.59 1.8-1.86 0-1.1-.65-1.69-1.68-1.69z\'/%3E%3C/svg%3E&quot;); padding: 0px 0px 0px 32px; background-position: 2px 4px; background-repeat: no-repeat; border-width: 0px; border-style: initial; border-color: initial; position: relative; width: auto;\">Download</button></div>\r\n   </section>\r\n<section id=\"step4\" class=\"step\" data-stepid=\"SWR2W91FV4LSABL\" style=\"margin: 32px 0px; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\">\r\n   <h2 class=\"step-title\" style=\"margin: 0px 0px 15px; font-family: inherit; line-height: normal; color: inherit; text-rendering: optimizelegibility; font-size: 24px; padding: 0px; text-align: center;\">Step 4: The Code</h2>\r\n   <div class=\"mediaset\" style=\"position: relative; text-align: center; min-height: 109px; margin: -2.5px -2.5px 30px; line-height: 0;\">\r\n      <div class=\"photoset-wrapper\">\r\n         <div class=\"photoset\" style=\"margin: 0px auto; max-width: 1050px;\">\r\n            <div class=\"photoset-row items-1 \">\r\n               <div class=\"photoset-cell\" data-imagenotes=\"[]\" style=\"padding: 2.5px; flex: 1.5 1 0%;\">\r\n                  <div class=\"photoset-image\" style=\"position: relative; overflow: hidden; border-radius: 4px; height: 582.625px;\"><a class=\"gallery-link\" rel=\"photoset151\" href=\"https://cdn.instructables.com/FDI/MFAI/G0HVHG2E/FDIMFAIG0HVHG2E.LARGE.jpg\" data-download=\"https://cdn.instructables.com/ORIG/FDI/MFAI/G0HVHG2E/FDIMFAIG0HVHG2E.png\" style=\"color: #e86c00; text-decoration-line: none;\" target=\"_blank\"><img alt=\"Picture of The Code\" src=\"https://cdn.instructables.com/FDI/MFAI/G0HVHG2E/FDIMFAIG0HVHG2E.LARGE.jpg?auto=webp&amp;crop=3:2\" style=\"max-width: 100%; height: 582.625px; vertical-align: middle; border: 0px; width: 873.938px; border-radius: 4px;\" /></a></div>\r\n                  </div>\r\n               </div>\r\n            </div>\r\n         </div>\r\n      </div>\r\n   <div class=\"step-body\" style=\"margin: 0px auto; font-size: 20px; line-height: 32px; font-family: Nunito, helvetica, arial, sans-serif; color: #555555; overflow-wrap: break-word; max-width: 800px; box-sizing: border-box;\">\r\n      <p style=\"margin-top: 3px; margin-bottom: 20px;\">&nbsp;Here\'s some basic steps to program your arduino.<br /><br />1) Download the source code from below<br />2) Open the file in the&nbsp;<a href=\"http://arduino.cc/en/Main/Software\" style=\"color: #e86c00; word-break: break-all; overflow-wrap: break-word; cursor: pointer;\" target=\"_blank\">Arduino IDE&nbsp;</a><br />3) Press the \"Upload to I/O Board\" button<br />4) Once the program is uploaded it will start running<br /><br />Hopefully there are enough comments in the code, but if you have any questions, please ask them.<br /><br /><em>There is no difference between the .pde file &amp; the .txt</em><br type=\"_moz\" /></p>\r\n      </div>\r\n   <aside class=\"downloads\">\r\n      <h4 class=\"sr-only\" style=\"margin: -1px; font-family: inherit; line-height: normal; color: inherit; text-rendering: optimizelegibility; padding: 0px; position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0px, 0px, 0px, 0px); border: 0px;\">Attachments</h4>\r\n      <ul id=\"attachments\" class=\"ible-files unstyled list-unstyled\" style=\"padding: 0px; margin: 0px auto; list-style: none; max-width: 800px; box-sizing: border-box;\">\r\n         <li class=\"file-info clearfix \" style=\"line-height: normal; position: relative; padding: 6px; margin: 4px 4px 4px 0px; border: 1px solid rgb(221, 221, 221); border-radius: 4px; background-color: #f9f9f9;\"><a class=\"thumb-wrapper\" href=\"https://cdn.instructables.com/ORIG/FGZ/9UUJ/G0HVCA08/FGZ9UUJG0HVCA08.tmp\" download=\"_7_seg_EMF_detector.pde\" title=\"_7_seg_EMF_detector.pde\" style=\"color: #e86c00; text-decoration-line: none; word-break: break-all;\" target=\"_blank\"><span class=\"file-thumb\" style=\"width: 48px; height: 48px; display: inline-block; margin-right: 7px; overflow: hidden;\"><img class=\"tiny-img lazy-img-scroll\" src=\"https://www.instructables.com/static/defaultIMG/file.TINY.gif\" data-src=\"https://www.instructables.com/static/defaultIMG/file.TINY.gif\" alt=\"_7_seg_EMF_detector.pde\" style=\"max-width: 100%; height: 48px; vertical-align: middle; border: 0px; opacity: 1; transition: opacity 0.5s ease-in 0s; width: 48px; display: inline;\" /></span><span class=\"title\" style=\"color: #333333; font-size: 16px; font-weight: 700; vertical-align: middle; max-width: 190px; white-space: nowrap; overflow: hidden; display: inline-block; text-overflow: ellipsis; margin-top: -38px;\">_7_seg_EMF_detector.pde</span></a>\r\n            <div class=\"file-actions\" style=\"position: absolute; height: 63px; width: 400px; right: 0px; top: 0px; vertical-align: middle;\"><a href=\"https://cdn.instructables.com/ORIG/FGZ/9UUJ/G0HVCA08/FGZ9UUJG0HVCA08.tmp\" download=\"_7_seg_EMF_detector.pde\" class=\"btn pull-right\" style=\"color: #333333; text-decoration-line: none; display: inline-block; padding: 6px 12px; margin-bottom: 0px; line-height: 20px; text-align: center; vertical-align: middle; cursor: pointer; text-shadow: none; background-color: #f6f6f6; background-image: none; background-repeat: repeat-x; border: 1px solid rgb(222, 222, 222); border-radius: 4px; box-shadow: none; float: right; white-space: nowrap; word-break: break-all; position: relative; top: 31.5px; margin-top: -17px; margin-right: 8px; z-index: 0;\" target=\"_blank\">Download</a></div>\r\n            </li>\r\n         <li class=\"file-info clearfix \" style=\"line-height: normal; position: relative; padding: 6px; margin: 4px 4px 4px 0px; border: 1px solid rgb(221, 221, 221); border-radius: 4px; background-color: #f9f9f9;\"><a class=\"thumb-wrapper\" href=\"https://cdn.instructables.com/ORIG/FPD/TQLB/G0HVHG23/FPDTQLBG0HVHG23.txt\" download=\"7_seg_EMF_detector.txt\" title=\"7_seg_EMF_detector.txt\" style=\"color: #e86c00; text-decoration-line: none; word-break: break-all;\" target=\"_blank\"><span class=\"file-thumb\" style=\"width: 48px; height: 48px; display: inline-block; margin-right: 7px; overflow: hidden;\"><img class=\"tiny-img lazy-img-scroll\" src=\"https://www.instructables.com/static/defaultIMG/file/TXT.gif\" data-src=\"https://www.instructables.com/static/defaultIMG/file/TXT.gif\" alt=\"7_seg_EMF_detector.txt\" style=\"max-width: 100%; height: 48px; vertical-align: middle; border: 0px; opacity: 1; transition: opacity 0.5s ease-in 0s; width: 48px; display: inline;\" /></span><span class=\"title\" style=\"color: #333333; font-size: 16px; font-weight: 700; vertical-align: middle; max-width: 190px; white-space: nowrap; overflow: hidden; display: inline-block; text-overflow: ellipsis; margin-top: -38px;\">7_seg_EMF_detector.txt</span></a>\r\n            <div class=\"file-actions\" style=\"position: absolute; height: 63px; width: 400px; right: 0px; top: 0px; vertical-align: middle;\"><a href=\"https://cdn.instructables.com/ORIG/FPD/TQLB/G0HVHG23/FPDTQLBG0HVHG23.txt\" download=\"7_seg_EMF_detector.txt\" class=\"btn pull-right\" style=\"color: #333333; text-decoration-line: none; display: inline-block; padding: 6px 12px; margin-bottom: 0px; line-height: 20px; text-align: center; vertical-align: middle; cursor: pointer; text-shadow: none; background-color: #f6f6f6; background-image: none; background-repeat: repeat-x; border: 1px solid rgb(222, 222, 222); border-radius: 4px; box-shadow: none; float: right; white-space: nowrap; word-break: break-all; position: relative; top: 31.5px; margin-top: -17px; margin-right: 8px; z-index: 0;\" target=\"_blank\">Download</a></div>\r\n            </li>\r\n         </ul>\r\n      </aside>\r\n   <div class=\"step-toolbar\" style=\"text-align: center; font-size: 15px; color: #555555;\"><button class=\"step-tip\" style=\"margin: 0px 10px; font-size: 14px; vertical-align: initial; line-height: 40px; cursor: pointer; font-weight: inherit; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; background-repeat: no-repeat; border-width: 0px; border-style: initial; border-color: initial; padding: 0px 0px 0px 32px; position: relative; width: auto;\">Add Tip</button><button class=\"step-question\" style=\"margin: 0px 10px; font-size: 14px; vertical-align: initial; line-height: 40px; cursor: pointer; font-weight: inherit; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; background-repeat: no-repeat; border-width: 0px; border-style: initial; border-color: initial; padding: 0px 0px 0px 32px; position: relative; width: auto;\">Ask Question</button><button class=\"step-comment\" style=\"margin: 0px 10px; font-size: 14px; vertical-align: initial; line-height: 40px; cursor: pointer; font-weight: inherit; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; background-repeat: no-repeat; border-width: 0px; border-style: initial; border-color: initial; padding: 0px 0px 0px 32px; position: relative; width: auto;\">Comment</button><button class=\"svg-pdf step-download download-pdf verification-required\" data-sourcea=\"course\" data-role-group=\"pdf\" style=\"margin: 0px 10px; font-size: 14px; vertical-align: initial; line-height: 40px; cursor: pointer; font-weight: inherit; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; background-image: url(&quot;data:image/svg+xml,%3Csvg class=\'svg-icon pdf\' xmlns=\'http://www.w3.org/2000/svg\' width=\'24\' height=\'24\'%3E%3Cpath fill=\'%23d50a0a\' d=\'M22.81 5.67l-3.95-3.95-.19-.19H7.06c-.64 0-1.16.53-1.16 1.17v5.79H1.66a.56.56 0 0 0-.56.56v8.1c0 .31.25.56.56.56H5.9v3.71c0 .64.52 1.17 1.17 1.17h14.77c.64 0 1.17-.52 1.17-1.17V5.86l-.2-.19zM4.26 13.79v1.9H3.07v-5.25c.37-.06.89-.11 1.63-.11.74 0 1.27.14 1.63.43.34.27.57.71.57 1.23s-.17.96-.49 1.26c-.41.39-1.02.56-1.73.56-.16 0-.31-.01-.42-.02zm18.08-7.65v15.27c0 .28-.23.51-.51.51H7.06c-.28 0-.51-.23-.51-.51V17.7h11.28c.31 0 .56-.25.56-.56v-8.1a.56.56 0 0 0-.56-.56H6.55V2.7c0-.28.23-.51.51-.51H18.4v.01h-.01v3.95h3.95s-.05-.06-.14-.15l.14.14zM7.66 15.66v-5.22c.44-.07 1.02-.11 1.63-.11 1.01 0 1.66.18 2.18.57.55.41.9 1.07.9 2 0 1.02-.37 1.72-.88 2.15-.56.47-1.41.69-2.45.69-.64 0-1.08-.04-1.38-.08zm8.61-3.09v.98h-1.91v2.14h-1.21v-5.32h3.25v.99h-2.04v1.21h1.91z\'/%3E%3Cpath fill=\'%23d50a0a\' d=\'M4.76 11.24c-.24 0-.41.02-.5.05v1.57c.1.02.23.03.4.03.64 0 1.03-.32 1.03-.87.01-.49-.33-.78-.93-.78zm4.65.01c-.27 0-.44.02-.54.05v3.48c.1.02.27.02.42.02 1.09.01 1.8-.59 1.8-1.86 0-1.1-.65-1.69-1.68-1.69z\'/%3E%3C/svg%3E&quot;); padding: 0px 0px 0px 32px; background-position: 2px 4px; background-repeat: no-repeat; border-width: 0px; border-style: initial; border-color: initial; position: relative; width: auto;\">Download</button></div>\r\n   </section>\r\n<section id=\"step5\" class=\"step\" data-stepid=\"SURRQJHFV4LSABP\" style=\"margin: 32px 0px; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\">\r\n   <h2 class=\"step-title\" style=\"margin: 0px 0px 15px; font-family: inherit; line-height: normal; color: inherit; text-rendering: optimizelegibility; font-size: 24px; padding: 0px; text-align: center;\">Step 5: Play With It!</h2>\r\n   <div class=\"mediaset\" style=\"position: relative; text-align: center; min-height: 109px; margin: -2.5px -2.5px 30px; line-height: 0;\">\r\n      <div class=\"photoset-wrapper\">\r\n         <div class=\"photoset\" style=\"margin: 0px auto; max-width: 929.851px;\">\r\n            <div class=\"photoset-row items-1 \">\r\n               <div class=\"photoset-cell\" data-imagenotes=\"[]\" style=\"padding: 2.5px; flex: 1.32836 1 0%;\">\r\n                  <div class=\"photoset-image\" style=\"position: relative; overflow: hidden; border-radius: 4px; height: 657.797px;\"><a class=\"gallery-link\" rel=\"photoset154\" href=\"https://cdn.instructables.com/FNR/IQLM/FV15TO8Z/FNRIQLMFV15TO8Z.LARGE.jpg\" data-download=\"https://cdn.instructables.com/ORIG/FNR/IQLM/FV15TO8Z/FNRIQLMFV15TO8Z.jpg\" style=\"color: #e86c00; text-decoration-line: none;\" target=\"_blank\"><img alt=\"Picture of Play With It!\" src=\"https://cdn.instructables.com/FNR/IQLM/FV15TO8Z/FNRIQLMFV15TO8Z.LARGE.jpg?auto=webp&amp;width=930\" style=\"max-width: 100%; height: 657.797px; vertical-align: middle; border: 0px; width: 873.938px; border-radius: 4px;\" /></a></div>\r\n                  </div>\r\n               </div>\r\n            </div>\r\n         </div>\r\n      </div>\r\n   <div class=\"step-body\" style=\"margin: 0px auto; font-size: 20px; line-height: 32px; font-family: Nunito, helvetica, arial, sans-serif; color: #555555; overflow-wrap: break-word; max-width: 800px; box-sizing: border-box;\">\r\n      <p style=\"margin-top: 3px; margin-bottom: 20px;\">Now go measure EMF\'s! Here\'s a few ideas:<br />- Your dog/cat<br />- You<br />- Computer<br />- Cell phone<br />- TV<br /><br /><span style=\"font-weight: 700;\">Make sure to use common sense, I\'m not responsible for any damage to you or your arduino!</span></p>\r\n      </div>\r\n   </section>','https://www.instructables.com/id/Arduino-EMF-Detector/','',0,0,1,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 14:43:47',0,'2019-04-26 14:43:47','210.101.103.92','','','','','','','','','','','',''),(254,-254,'',254,0,0,'','','html1','[ETC] int형 세자리수를 각각 분리해내기','<p><span style=\"color: #404040; font-family: 굴림;\">int input = read();&nbsp; //여기에 입력된 3자리 숫자값 존재&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">int a1 = input / 100;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">int a2 = (input % 100) / 10;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">int a3 = (input % 100) % 10;</span></p>','','',0,0,1,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 14:44:06',0,'2019-04-26 14:44:06','210.101.103.92','','','','','','','','','','','',''),(255,-255,'',255,0,0,'','','html1','[ETC] 7-Segment에서 Anode/Cathode차이점','<p><span style=\"color: #404040; font-family: 굴림;\">그림은 SR-1032 7-Segment 제품이다.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">왼쪽의 경우 Cathode Common(1032K)이고, 오른쪽의 경우 Anode Common(1032A)이다.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">Cathode 제품의 경우,&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">공통핀(또는 Dig선택핀-여러자리 digit제품일경우)에 GND또는 Digital LOW를 연결해주고&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">각각 LED에 Digital HIGH를 연결해야만 불이 켜진다.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">Anode 제품의 경우,&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">공통핀(또는 Dig선택핀-여러자리 digit제품일경우)에 Digital HIGH출력을 연결해주고&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">각각 LED에 GND또는 Digital LOW를 연결해야만 불이 켜진다.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">*참고로 1032A의 경우 1또는 6핀중 하나만 연결해도 된다.</span></p>','http://www.eleparts.co.kr/EPX33DNK','',0,0,1,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 14:44:27',1,'2019-04-26 14:44:27','210.101.103.92','','','','','','','','','','','',''),(256,-256,'',256,0,0,'','','html1','[Eagle] Eagle CAD Assign 단축키','<table width=\"100%\" cellpadding=\"5\" style=\"font-family: 굴림;\">\r\n   <tbody>\r\n      <tr>\r\n         <td class=\"lh\" height=\"100\" style=\"color: #222222; line-height: 18px; word-break: break-all;\">\r\n            <p><span class=\"content\" style=\"color: #404040;\">EagleCAD Assign 단축키</span><a href=\"http://geoworld.cafe24.com/gnu3/?doc=bbs/gnuboard.php&amp;bo_table=Computer&amp;page=7&amp;wr_id=31112\" style=\"text-decoration-line: none; color: #3a4e40;\" target=\"_blank\"></a><a href=\"http://geoworld.cafe24.com/gnu3/?doc=bbs/gnuboard.php&amp;bo_table=Computer&amp;page=7&amp;wr_id=31112\" style=\"text-decoration-line: none; color: #3a4e40;\" target=\"_blank\"></a></p>\r\n            </td>\r\n         </tr>\r\n      <tr></tr>\r\n      </tbody>\r\n   </table>\r\n<p>grid; grid 1.27 mm;</p>\r\n<p><br /></p>\r\n<p>grid; grid 1 mm alt 0.5 mm;</p>\r\n<p>grid; grid 1 mm alt 0.1 mm;</p>\r\n<p>display -1 -16 +17 -18 -19 +25 +26 -27 -28</p>\r\n<p>display -1 -16 -17 -18 +19 -25 -26 -27 -28</p>\r\n<p>display +1 +16 +17 +18 +19 +23 +25 +26 -27 -28</p>','','',0,0,13,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 14:44:52',2,'2019-04-26 14:44:52','210.101.103.92','','','','','','','','','','','',''),(257,-257,'',257,0,0,'','','html1','[ETC] 윈도우 드라이버 완전삭제 유틸','<p><span style=\"color: #404040; font-family: 굴림;\">장치관리자에서 삭제한 드라이버가 살아있는지 확인해서 안지워졌다면&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">완전히 삭제가 가능한 유틸리티.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">*2종류 업로드...</span></p>','','',0,0,1,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 14:45:20',2,'2019-04-26 14:45:20','210.101.103.92','','','','','','','','','','','',''),(258,-258,'',258,0,0,'','','html1','[Windows] Mplayer 배치파일 활용하기','<p><span style=\"color: #404040; font-family: 굴림;\">@echo off&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //화면출력&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">set /p file=파일명?&nbsp; &nbsp; &nbsp; //변수에 입력문자열 대입&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">set /p aspect=화면비율?&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">c:\\mplayer\\mplayer -aspect %aspect% -vo direct3d *%file%*&nbsp; //%변수% 변수출력</span></p>','','',0,0,1,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 14:45:30',0,'2019-04-26 14:45:30','210.101.103.92','','','','','','','','','','','',''),(259,-259,'',259,0,0,'','','html1','[Arduino] 아두이노 소프트웨어 리셋명령','<p><span style=\"color: #404040; font-family: 굴림;\">===&gt; asm volatile (\"jmp 0x0000\");&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">//---------------------------------------------------------&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">long preTime = 0;&nbsp; &nbsp; &nbsp; &nbsp; //Use millis...&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">long updateTime = 300000;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">//---------------------------------------------------------&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">if(millis() - preTime &gt; updateTime) {&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; preTime = millis();&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; asm volatile (\"jmp 0x0000\");&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">}</span></p>','','',0,0,2,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 14:45:39',0,'2019-04-26 14:45:39','210.101.103.92','','','','','','','','','','','',''),(260,-260,'',260,0,0,'','','html1','[ETC] 그누보드 관리자 아이디 변경방법','<p><span style=\"color: #404040; font-family: 굴림;\">갑자기 그누보드 관리자 비밀번호가 생각이 나지 않을때,&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">소스를 수정하거나 sql 명령을 주면되긴하지만&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">미리 이런 소스를 하나 넣어두면 편안하게 변경이 가능합니다.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">물론 경로와 파일명을 복잡하게 해서 함부로 못들어오게 해야합니다.^^&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">소스내에&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">$check_password=\"1234\"; 를 적당한 암호 (확인암호)로 변경하고,&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">서버에 파일을 저장한뒤 해당파일을 호출하면 입력창이 나옵니다.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">입력항목의 첫칸은 \"변경할 아이디\"&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">둘째칸은 \"변경할 비밀번호\"&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">세번째칸은 미리 지정한 확인암호를 입력하면&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">해당 아이디의 비번이 변경됩니다.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">아무 아이디나 암호가 변경이 가능한만큼 파일명과 위치가 유출되지 않도록 주의해서 사용하세요.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">출처: freeimage.kr&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">참고로 사용방법을 잘 모르시겠다는 사람을 위해 추가설명드립니다.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">1. 그누보드의 /bbs/ 폴더에 넣습니다. (다른경로도 가능합니다만..)&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">2.&nbsp;</span><a href=\"http://www.aaa.co.kr/bbs/chage_idpw.php\" target=\"_new\" style=\"text-decoration-line: none; color: #3a4e40; font-family: 굴림;\">www.aaa.co.kr/bbs/chage_idpw.php</a><span style=\"color: #404040; font-family: 굴림;\">&nbsp;를 실행합니다.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">3. 첫번째칸에는 바꿀아이디, 두번째칸은 새 암호 , 세번째칸은 확인암호(1234) 를 입력하시면 됩니다.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">예를 들어 각 칸에 aaa bbb 1234 를 입력하시면&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">aaa 아이디의 비밀번호가 bbb로 변경되는것입니다.</span></p>','','',0,0,1,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 14:45:56',1,'2019-04-26 14:45:56','210.101.103.92','','','','','','','','','','','',''),(261,-261,'',261,0,0,'','','html1','[Arduino] 캐릭터LCD에서 다양한 문자 만들어 쓰기','<p style=\"padding: 0px; line-height: 1.5; color: #636363; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><font face=\"나눔고딕, NanumGothic, sans-serif\">캐릭터 LCD(이하 CLCD) 를 사용하다보면, dot 가 대부분 5x8 로 그다지 조밀하지 않습니다. 더불어 한글은 그래픽LCD 를 써야하고, 한글 구현도 꽤나 복잡하지요. 이럴때 좀 더 쉬운 문자 등을 직접 만들어 CLCD에서 구현하는 방법을 많이 사용합니다. 물론, 이쁜 한글폰트로 좀 더 저렴한 GLCD 를 사용하는 것이 좋긴 하지만 비용도 비용이고 간단하게 구현하려는 것이 오히려 복잡해지니...</font></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #636363; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><font face=\"나눔고딕, NanumGothic, sans-serif\"><br /></font></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #636363; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><font face=\"나눔고딕, NanumGothic, sans-serif\">아두이노에서는 CLCD 를 사용하려면&nbsp;</font><span style=\"font-family: 나눔고딕, NanumGothic, sans-serif; line-height: 1.5;\">LiquidCrystal.h 라이브러리를 사용하면 됩니다. 원하는 문자, 한글을 구현하는 것은 이 라이브러리의 사용자 문자 설정 기능을 통해서 인데, \'5x8 Custom Charater set Designer\' 라는 어플리케이션을 이용하면 보다 쉽게 구현이 가능합니다.</span></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #636363; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><span style=\"font-family: 나눔고딕, NanumGothic, sans-serif; line-height: 1.5;\">&nbsp;</span></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #636363; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><span style=\"font-family: 나눔고딕, NanumGothic, sans-serif; line-height: 1.5;\"><img src=\"https://postfiles.pstatic.net/20130928_137/todigital_1380331812799fkrcC_PNG/2013-09-28_10%3B20%3B27.PNG?type=w2\" width=\"740\" height=\"569\" id=\"20130928_137/todigital_1380331812799fkrcC_PNG/2013-09-28_10%3B20%3B27.PNG\" alt=\"\" class=\"_photoImage\" data-lazy-src=\"\" style=\"border: none; cursor: pointer;\" /><br style=\"clear: both;\" /><br />해당 소프트웨어를 PC에서 다운로드한 후, 설치하면 위와 같은 실행화면이 나타납니다. 사용법은 간단합니다. 왼쪽의 5x8 DOT 이미지에 DOT 를 마킹하여 원하는 문자를 만들면 됩니다. \'온\', \'도\' 라는 각각의 캐릭터를 만들고(왼쪽 중간쯤에 Char # 라는 번호로 각각의 캐릭터를 지정하여 설정할 수 있습니다.) 우측 \'Text Output Formatting\' 메뉴에서 \'Arduino LiquidCrystalLib\' 를 설정하면 코드가 쭉 생성이 됩니다. 해당 소스는 아두이노에서 사용할 CLCD 의 핀 등을 직접 지정해주는 수정 작업은 거쳐야 합니다. 기존에 만들어 둔 소스에서는 코드 생성부분만 복사해도 되겠지요.</span></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #636363; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><span style=\"font-family: 나눔고딕, NanumGothic, sans-serif; line-height: 1.5;\"><br /><img src=\"https://postfiles.pstatic.net/20130928_95/todigital_1380331813202Pt2qv_JPEG/20130927_183216.jpg?type=w2\" width=\"740\" height=\"416\" id=\"20130928_95/todigital_1380331813202Pt2qv_JPEG/20130927_183216.jpg\" alt=\"\" class=\"_photoImage\" data-lazy-src=\"\" style=\"border: none; cursor: pointer;\" />&nbsp;</span></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #636363; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><span style=\"font-family: 나눔고딕, NanumGothic, sans-serif; line-height: 1.5;\">&nbsp;</span></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #636363; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><span style=\"font-family: 나눔고딕, NanumGothic, sans-serif; line-height: 1.5;\">이렇게 캐릭터를 생성한 후 아두이노 CLCD 에 적용하면 위와 같은 화면을 볼 수 있습니다. 물론, 5x8 이라는 제한적인 환경으로 한글을 모두 구현하긴 어렵습니다. 다만, 모니터링 디스플레이에서 이런식으로 한글로 표현하는 것이 단순히 영어로 표현하는 것보다 더 많은 정보를 제공하는 경우, CLCD 의 캐릭터를 좀 더 많이 활용할 수 있다는 정도(섭씨 심볼도 2개의 캐릭터를 사용하는 것보다 하나만 사용하였습니다.)로 참고하시면 될 듯 합니다.</span></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #636363; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><span style=\"font-family: 나눔고딕, NanumGothic, sans-serif; line-height: 1.5;\">&nbsp;</span></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #636363; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><font face=\"나눔고딕, NanumGothic, sans-serif\">위 소프트웨어 다운로드는&nbsp;</font><a href=\"http://033310b.netsolhost.com/Arduino/?p=1\" target=\"_blank\" class=\"con_link\" style=\"text-decoration-line: none; overflow-wrap: break-word; line-height: 1.5;\"><span style=\"font-family: 나눔고딕, NanumGothic, sans-serif;\">http://033310b.netsolhost.com/Arduino/?p=1</span></a></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #636363; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><font face=\"나눔고딕, NanumGothic, sans-serif\">그 외 웹상에서 구현하는 방법은&nbsp;</font><a href=\"http://mikeyancey.com/hamcalc/lcd_characters.php\" target=\"_blank\" class=\"con_link\" style=\"text-decoration-line: none; overflow-wrap: break-word; line-height: 1.5;\"><span style=\"font-family: 나눔고딕, NanumGothic, sans-serif;\">http://mikeyancey.com/hamcalc/lcd_characters.php</span></a><span style=\"font-family: 나눔고딕, NanumGothic, sans-serif;\">&nbsp;에서 확인 할 수 있습니다.</span></p>\r\n<p></p>\r\n<p>&nbsp;</p>\r\n<p>&nbsp;</p>\r\n<div class=\"autosourcing-stub-extra\" style=\"line-height: 1.5; zoom: 1; opacity: 1;\">\r\n   <p style=\"margin: 11px 0px 7px; padding: 0px; line-height: 1.5; font-size: 12px; font-family: Dotum; font-style: normal; font-weight: normal;\"><strong style=\"padding: 0px 7px 0px 0px;\">[출처]</strong><span>&nbsp;</span><a href=\"https://blog.naver.com/todigital/120198897306\" target=\"_blank\" style=\"text-decoration: none;\">아두이노 : 캐릭터LCD(CLCD)에서 원하는 문자, 한글 간단하게 구현하기</a><span style=\"padding: 0px 7px 0px 5px;\">|</span><strong style=\"padding: 0px 7px 0px 0px;\">작성자</strong><span>&nbsp;</span><a href=\"https://blog.naver.com/todigital\" target=\"_blank\" style=\"text-decoration: none;\">소닉</a></p>\r\n   <p style=\"margin: 11px 0px 7px; padding: 0px; line-height: 1.5; font-size: 12px; font-family: Dotum; font-style: normal; font-weight: normal;\">=======================================================================================================================</p>\r\n   <p style=\"margin: 11px 0px 7px; padding: 0px; line-height: 1.5; font-size: 12px; font-family: Dotum; font-style: normal; font-weight: normal;\"><span style=\"color: #404040; font-family: 굴림;\">1. 아래사이트에서 문자를 만들어서 byte소스를 만든다.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp;</span><a href=\"http://mikeyancey.com/hamcalc/lcd_characters.php%C2%A0\" target=\"_new\" style=\"text-decoration-line: none; color: #3a4e40; font-family: 굴림;\">http://mikeyancey.com/hamcalc/lcd_characters.php&nbsp;</a><span style=\"color: #404040; font-family: 굴림;\">&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">2. 스케치 소스에서&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">...&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">byte p1[8] = {B11000, B11000, B00000, B00110, B01001, B01000, B01001, B00110};&nbsp; // \'c ---&gt; Print&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">byte p2[8] = {B11000, B11000, B00000, B00110, B01001, B01000, B01001, B00110};&nbsp; // \'c ---&gt; Print&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">void setup() {&nbsp;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; lcd.createChar(0, p1);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; lcd.createChar(1, p2);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; lcd.begin(16, 2);&nbsp;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">}&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">void loop() {&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; lcd.setCursor(0, 0);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; lcd.print(\"Value1 : \");&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">//&nbsp; lcd.print((char)0);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; lcd.write(0);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; lcd.setCursor(1, 0);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; lcd.print(\"Value2 : \");&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">//&nbsp; lcd.print((char)1);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; lcd.write(1);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">}</span></p>\r\n   </div>','https://mikeyancey.com/hamcalc/lcd_characters.php','',0,0,1,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 14:46:31',1,'2019-04-26 14:46:31','210.101.103.92','','','','','','','','','','','',''),(262,-262,'',262,0,0,'','','html1','[Arduino] loop()문 1번만 실행하기','<p><span style=\"color: #404040; font-family: 굴림;\">loop() 문안에&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">while(1);</span></p>','','',0,0,1,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 14:47:18',0,'2019-04-26 14:47:18','210.101.103.92','','','','','','','','','','','',''),(263,-263,'',263,0,0,'','','html1','[Arduino] Serial.read()함수로 문자열 입력받기','<table width=\"100%\" cellpadding=\"5\" style=\"font-family: 굴림;\">\r\n   <tbody>\r\n      <tr>\r\n         <td class=\"lh\" height=\"100\" style=\"color: #222222; line-height: 18px; word-break: break-all;\"><span class=\"content\" style=\"color: #404040;\">예를들어서 \"hi\" 라는 문자열을 입력받으려면,&nbsp;<br /><br />static char buf[128];&nbsp;<br />static char index = 0;&nbsp;<br />char ch;&nbsp;<br />ch = Serial.read();&nbsp;<br />if(ch == \'\\n\') {&nbsp;<br />&nbsp; buf[index] = \'\\0\';&nbsp;<br />&nbsp; if(!strcmp(buf,\"hi\")) { };&nbsp;<br />&nbsp; index = 0;&nbsp;<br />} else if(ch != \'\\r\' &amp;&amp; ch != \' \' &amp;&amp; index &lt;= 126) {&nbsp;<br />&nbsp; buf[index++] = ch;&nbsp;<br />}&nbsp;<br /><br />---------------------------------------------------------&nbsp;<br />static char och = 0xff, ch;&nbsp;<br />ch = Serial.read();&nbsp;<br />if(och == \'h\' &amp;&amp; ch == \'i\') {&nbsp;<br /><br />}&nbsp;<br />och = ch;&nbsp;<br />----------------------------------------------------------&nbsp;<br />void setup() {&nbsp;<br />&nbsp; Serial.begin(9600);&nbsp;<br />&nbsp; //===================================================================&nbsp;<br />&nbsp; char cTemp;&nbsp;<br />&nbsp; String sCommand = \"\";&nbsp;<br />&nbsp;&nbsp;<br />&nbsp; Serial.print(\"Input the SSID(wait for 10sec) : \");&nbsp;<br />&nbsp; delay(10000);&nbsp;<br />&nbsp; while(Serial.available()) {&nbsp;<br />&nbsp; &nbsp; cTemp = Serial.read();&nbsp;<br />&nbsp; &nbsp; sCommand.concat(cTemp);&nbsp; &nbsp;&nbsp;<br />&nbsp; }&nbsp;<br />&nbsp; Serial.println(sCommand);&nbsp;<br />&nbsp; Serial.println(\"Reboot System plz...\");&nbsp;<br />&nbsp; //===================================================================&nbsp;&nbsp;<br />}</span><a href=\"http://geoworld.cafe24.com/gnu3/?doc=bbs/gnuboard.php&amp;bo_table=Computer&amp;page=7&amp;wr_id=31120\" style=\"text-decoration-line: none; color: #3a4e40;\" target=\"_blank\"></a><a href=\"http://geoworld.cafe24.com/gnu3/?doc=bbs/gnuboard.php&amp;bo_table=Computer&amp;page=7&amp;wr_id=31120\" style=\"text-decoration-line: none; color: #3a4e40;\" target=\"_blank\"></a></td>\r\n         </tr>\r\n      <tr></tr>\r\n      </tbody>\r\n   </table>','https://blog.danggun.net/1769','',0,0,1,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 14:47:36',0,'2019-04-26 14:47:36','210.101.103.92','','','','','','','','','','','',''),(264,-264,'',264,0,0,'','','html1','[Arduino] Serial.read() 응용하기','<p><span style=\"color: #404040; font-family: 굴림;\">컴퓨터에서 입력한 텍스트가 아두이노에서 수신되면 이 값을 파싱하여 숫자로 변환하는 방법을 살펴보자. 문자는 ASCII코드를 사용하므로 컴퓨터가 전송한 문자에 대한 숫자의 변환은 ASCII 코드를 다루는 방법을 이용하면 된다. ASCII의 \'0\' 에서 \'9\'까지의 숫자에 대한 문자는 코드가 48에서 57까지이다. 그러므로 숫자에 대한 문자를 숫자로 변환하는 것은 다음과 같이 간단하다.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">char ch = Serial.read();&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; int num = (ch - \'0\'); // ASCII 값은 숫자 값으로 변환&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">만약 ch의 문자가 \'1\'이면 ASCII 코드로 49 이다. 그리고 \'0\'은 48이므로 위의 공식에 따르면 49 - 48과 같은 것이다. 그러므로 결국은 숫자 1로 변환되는 것이다.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">그럼 1개 이상의 숫자 즉 234와 같은 숫자는 어떻게 처리하면 되는지 살펴보자. 시리얼 모니터를 통해 전송하는 숫자에 대한 문자열은 사람이 읽기 쉬운 10진수를 사용하므로 Serial.read() 함수를 통해 읽은 한 문자에 대해 10을 곱하면 된다. 즉 다음과 같은 코드로 처리하면 된다.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">int blinkRate = 1000; // LED가 깜박이는 속도&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">int value = 0;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">void loop()&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">{&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; if( Serial.available())&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; {&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; &nbsp; &nbsp; char ch = Serial.read();&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; &nbsp; &nbsp; if( isDigit(ch) )// 0 에서 9까지의 문자인지 확인&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; &nbsp; &nbsp; {&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; value = (value * 10) + (ch - \'0\'); // 값을 계산, 이전의 값에 10을 곱한 후 새로 받은 값을 더한다.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; &nbsp; &nbsp; }&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; &nbsp; &nbsp; else if (ch == 10) // 만약 수신된 문자가 개행 문자이면&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; &nbsp; &nbsp; {&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; blinkRate = value; // 깜박이는 속도 값으로 설정한다.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Serial.println(blinkRate);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; value = 0; // 다음의 숫자들은 새로운 속도 값으로 계산되도록 0으로 설정&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; &nbsp; &nbsp; }&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; }&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">}</span></p>','','',0,0,1,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 14:47:56',0,'2019-04-26 14:47:56','210.101.103.92','','','','','','','','','','','',''),(265,-265,'',265,0,0,'','','html1','[Arduino] Serial.read() 응용예제 소스스케치(eeprom 활용)','<p style=\"box-sizing: inherit; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;\">아두이노로 데이터를 보내면 \'Serial.read()\'로 데이터를 읽습니다.</p>\r\n<p style=\"box-sizing: inherit; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;\">그런데 문자열을 \'Serial.read()\'로 읽으면 한번에 한글자만 읽어집니다.</p>\r\n<div class=\"SubTitle Red\" style=\"box-sizing: inherit; width: 949px; margin: 10px 0px 5px; padding: 10px 0px; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff;\">\r\n   <div style=\"box-sizing: inherit; border-style: solid; border-width: 0px 0px 1px 4px; padding: 10px; margin: 0px 15px 0px 5px; border-color: #ff0000;\">\r\n      <h5 style=\"box-sizing: inherit; font-family: inherit; line-height: 1.1; color: inherit; margin: 0px; font-size: 18px;\">1. 문자열 보내기 테스트용</h5>\r\n      </div>\r\n   </div>\r\n<p style=\"box-sizing: inherit; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;\">일단 LED 3개를 달아봅시다,</p>\r\n<p style=\"box-sizing: inherit; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;\">아웃풋 핀은 3,5,6를 사용합니다.</p>\r\n<p style=\"box-sizing: inherit; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;\">(이왕이면 빨간색, 녹색, 파란색으로 세팅합시다.)</p>\r\n<p style=\"box-sizing: inherit; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;\">&nbsp;</p>\r\n<div class=\"SubTitle Yellow\" style=\"box-sizing: inherit; width: 949px; margin: 10px 0px 5px; padding: 10px 0px; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff;\">\r\n   <div style=\"box-sizing: inherit; border-style: solid; border-width: 0px 0px 1px 4px; padding: 10px; margin: 0px 15px 0px 5px; border-color: #ffff00;\">\r\n      <h5 style=\"box-sizing: inherit; font-family: inherit; line-height: 1.1; color: inherit; margin: 0px; font-size: 18px;\">1-1. 보드 구성</h5>\r\n      </div>\r\n   </div>\r\n<p style=\"box-sizing: inherit; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;\">그냥 LED 3개가 달려있습니다.</p>\r\n<p style=\"box-sizing: inherit; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;\">&nbsp;</p>\r\n<p style=\"box-sizing: inherit; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;\"><span class=\"imageblock\" style=\"box-sizing: inherit; display: inline-block; width: 316px; height: auto; max-width: 100%;\"><img srcset=\"https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory&amp;fname=http%3A%2F%2Fcfile26.uf.tistory.com%2Fimage%2F21244B3D519643A8293202\" src=\"https://t1.daumcdn.net/cfile/tistory/21244B3D519643A829\" width=\"316\" filename=\"RGB_001.png\" filemime=\"image/jpeg\" style=\"box-sizing: inherit; border: 0px; vertical-align: middle; max-width: 100%; display: inline-block; height: auto; padding: 0px; line-height: 1.42857; box-shadow: rgb(221, 221, 221) 0px 0px 3pt 2pt; transition: all 0.2s ease-in-out 0s;\" /></span></p>\r\n<p style=\"box-sizing: inherit; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;\">&nbsp;</p>\r\n<p style=\"box-sizing: inherit; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;\">&nbsp;</p>\r\n<div class=\"SubTitle Yellow\" style=\"box-sizing: inherit; width: 949px; margin: 10px 0px 5px; padding: 10px 0px; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff;\">\r\n   <div style=\"box-sizing: inherit; border-style: solid; border-width: 0px 0px 1px 4px; padding: 10px; margin: 0px 15px 0px 5px; border-color: #ffff00;\">\r\n      <h5 style=\"box-sizing: inherit; font-family: inherit; line-height: 1.1; color: inherit; margin: 0px; font-size: 18px;\">1-2.&nbsp;펌웨어 작성</h5>\r\n      </div>\r\n   </div>\r\n<p style=\"box-sizing: inherit; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;\">LED를 데이터를 통해 끄고 켜고를 할것이기 때문에 \'switch\'문을 사용해야 합니다.</p>\r\n<p style=\"box-sizing: inherit; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;\">&nbsp;</p>\r\n<p style=\"box-sizing: inherit; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;\">&nbsp;</p>\r\n<div style=\"box-sizing: inherit; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff;\">\r\n   <pre class=\"brush:cpp\" style=\"box-sizing: inherit; overflow: auto; font-family: Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-size: 14.4px; padding: 9.5px; margin-top: 0px; margin-bottom: 1rem; line-height: 1.42857; word-break: break-all; overflow-wrap: break-word; background-color: #f5f5f5; border: 1px solid rgb(204, 204, 204); border-radius: 4px;\">#define LED_R 6\r\n#define LED_G 5\r\n#define LED_B 3\r\nString sCommand = \"\";\r\nvoid setup()  \r\n{                \r\n   Serial.begin(9600);\r\n   pinMode(LED_R, OUTPUT);\r\n   pinMode(LED_G, OUTPUT);\r\n   pinMode(LED_B, OUTPUT);\r\n}\r\nvoid loop()                    \r\n{\r\n   if(Serial.available())\r\n   {\r\n     char cTemp = Serial.read();\r\n     //char cRGB = sData;\r\n     int nON = 255;\r\n     switch(cTemp)\r\n     {\r\n       case \'R\':\r\n         digitalWrite(LED_R,HIGH);\r\n         break;\r\n       case \'r\':\r\n         digitalWrite(LED_R,LOW);\r\n         break;\r\n       case \'G\':\r\n         digitalWrite(LED_G,HIGH);\r\n         break;\r\n       case \'g\':\r\n         digitalWrite(LED_G,LOW);\r\n         break;\r\n       case \'B\':\r\n         digitalWrite(LED_B,HIGH);\r\n         break;\r\n       case \'b\':\r\n         digitalWrite(LED_B,LOW);\r\n         break;\r\n     }\r\n     Serial.println(cTemp);\r\n   }\r\n   delay(100);\r\n}\r\n</pre>\r\n   </div>\r\n<p style=\"box-sizing: inherit; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;\">&nbsp;</p>\r\n<p style=\"box-sizing: inherit; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;\">&nbsp;</p>\r\n<p style=\"box-sizing: inherit; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;\">코드를 보시면 아시겠지만</p>\r\n<p style=\"box-sizing: inherit; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;\">R : 빨간색 켜기</p>\r\n<p style=\"box-sizing: inherit; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;\">r : 빨간색 끄기</p>\r\n<p style=\"box-sizing: inherit; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;\">G : 녹색 켜기</p>\r\n<p style=\"box-sizing: inherit; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;\">g : 녹색 끄기</p>\r\n<p style=\"box-sizing: inherit; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;\">B : 파란색 켜기</p>\r\n<p style=\"box-sizing: inherit; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;\">b : 파란색 끄기</p>\r\n<p style=\"box-sizing: inherit; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;\">입니다.</p>\r\n<p style=\"box-sizing: inherit; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;\">&nbsp;</p>\r\n<div class=\"SubTitle Red\" style=\"box-sizing: inherit; width: 949px; margin: 10px 0px 5px; padding: 10px 0px; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff;\">\r\n   <div style=\"box-sizing: inherit; border-style: solid; border-width: 0px 0px 1px 4px; padding: 10px; margin: 0px 15px 0px 5px; border-color: #ff0000;\">\r\n      <h5 style=\"box-sizing: inherit; font-family: inherit; line-height: 1.1; color: inherit; margin: 0px; font-size: 18px;\">2. 문자열 입력해 보기</h5>\r\n      </div>\r\n   </div>\r\n<p style=\"box-sizing: inherit; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;\">이제 아두이노 프로그램에서 \'시리얼 모니터\'를 열어 RGB를 입력해 봅시다.</p>\r\n<p style=\"box-sizing: inherit; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;\">&nbsp;</p>\r\n<p style=\"box-sizing: inherit; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff; float: none; clear: none; padding-top: 0px !important; padding-bottom: 0px !important;\"><span class=\"imageblock\" style=\"box-sizing: inherit; display: inline-block; width: 546px; height: auto; max-width: 100%;\"><img srcset=\"https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory&amp;fname=http%3A%2F%2Fcfile26.uf.tistory.com%2Fimage%2F015F6A3F519643D11AFC06\" src=\"https://t1.daumcdn.net/cfile/tistory/015F6A3F519643D11A\" width=\"546\" filename=\"RGB_002.png\" filemime=\"image/jpeg\" style=\"box-sizing: inherit; border: 0px; vertical-align: middle; max-width: 100%; display: inline-block; height: auto; padding: 0px; line-height: 1.42857; box-shadow: rgb(221, 221, 221) 0px 0px 3pt 2pt; transition: all 0.2s ease-in-out 0s;\" /></span></p>\r\n<p style=\"box-sizing: inherit; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;\">&nbsp;</p>\r\n<p style=\"box-sizing: inherit; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;\">&nbsp;</p>\r\n<p style=\"box-sizing: inherit; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;\">RGB라고 입력 했는데 R,G,B로 입력되고 있습니다.</p>\r\n<p style=\"box-sizing: inherit; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;\">불도 한번에 다들어왔습니다.</p>\r\n<p style=\"box-sizing: inherit; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;\">&nbsp;</p>\r\n<p style=\"box-sizing: inherit; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;\">이것은 \'Serial.read()\'가 버퍼를 읽을때는&nbsp;무조건 한바이트씩 읽기 때문입니다.</p>\r\n<p style=\"box-sizing: inherit; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;\">그리고 읽은 바이트는 제거 됩니다.</p>\r\n<p style=\"box-sizing: inherit; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;\">(참고 :&nbsp;<a class=\"tx-link\" href=\"http://arduino.cc/en/Serial/Read\" target=\"_blank\" style=\"box-sizing: inherit; background-color: transparent; color: #000000; text-decoration-line: none; touch-action: manipulation; position: relative;\">arduino Reference - Serial.read()</a>)</p>\r\n<p style=\"box-sizing: inherit; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;\">읽은 바이트를 제거하지 않으려면 \'Serial.peek()\'를 사용해야 합니다.</p>\r\n<p style=\"box-sizing: inherit; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;\">(참고 :&nbsp;<a class=\"tx-link\" href=\"http://arduino.cc/en/Serial/Peek\" target=\"_blank\" style=\"box-sizing: inherit; background-color: transparent; color: #000000; text-decoration-line: none; touch-action: manipulation; position: relative;\">arduino Reference - Serial.Peek()</a>)</p>\r\n<p style=\"box-sizing: inherit; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;\">&nbsp;</p>\r\n<p style=\"box-sizing: inherit; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;\">그러니 \'loop()\'가 돌면서 나머지 버퍼를 읽기 때문에 3개가 불이 다 들어 오는 것입니다.</p>\r\n<p style=\"box-sizing: inherit; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;\">&nbsp;</p>\r\n<div class=\"SubTitle Red\" style=\"box-sizing: inherit; width: 949px; margin: 10px 0px 5px; padding: 10px 0px; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff;\">\r\n   <div style=\"box-sizing: inherit; border-style: solid; border-width: 0px 0px 1px 4px; padding: 10px; margin: 0px 15px 0px 5px; border-color: #ff0000;\">\r\n      <h5 style=\"box-sizing: inherit; font-family: inherit; line-height: 1.1; color: inherit; margin: 0px; font-size: 18px;\">3. 해결 방법</h5>\r\n      </div>\r\n   </div>\r\n<p style=\"box-sizing: inherit; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;\">레퍼런스를 보니 \'Serial.read()\'를 반복문으로 돌리지 않으면 답이 없을듯 해서 만들려다가 그래도 뭔가 있지 않을까 해서 검색 했는데....</p>\r\n<p style=\"box-sizing: inherit; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;\">반복문 돌려야 한답니다 ㅎㅎㅎ;;</p>\r\n<p style=\"box-sizing: inherit; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;\">(참고 :&nbsp;stackoverflow -&nbsp;<a class=\"tx-link\" href=\"http://stackoverflow.com/questions/5697047/convert-serial-read-into-a-useable-string-using-arduino\" target=\"_blank\" style=\"box-sizing: inherit; background-color: transparent; color: #000000; text-decoration-line: none; touch-action: manipulation; position: relative;\">Convert serial.read() into a useable string using Arduino?</a>&nbsp;)</p>\r\n<p style=\"box-sizing: inherit; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;\">&nbsp;</p>\r\n<p style=\"box-sizing: inherit; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;\">원리는 간단합니다.</p>\r\n<p style=\"box-sizing: inherit; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;\">\'Serial.read()\'가 한바이트씩 읽는 다고 하니 반복문으로 버퍼의 모든 값을 다읽을때 까지 돌리고 그값을 \'String\'에 저장하면 아두이노 보드로 문자열을 보낼 수 있습니다.</p>\r\n<p style=\"box-sizing: inherit; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;\">&nbsp;</p>\r\n<div class=\"SubTitle Yellow\" style=\"box-sizing: inherit; width: 949px; margin: 10px 0px 5px; padding: 10px 0px; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff;\">\r\n   <div style=\"box-sizing: inherit; border-style: solid; border-width: 0px 0px 1px 4px; padding: 10px; margin: 0px 15px 0px 5px; border-color: #ffff00;\">\r\n      <h5 style=\"box-sizing: inherit; font-family: inherit; line-height: 1.1; color: inherit; margin: 0px; font-size: 18px;\">3-1. 펌웨어 수정</h5>\r\n      </div>\r\n   </div>\r\n<p style=\"box-sizing: inherit; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;\">일단 문자열로 컨트롤 할만한 데이터로 바꿔야 하니까 RGB를 웹에서 처럼 0~255까지 값을 이용하여 밝기를 조절해 봅시다.</p>\r\n<p style=\"box-sizing: inherit; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;\">입력데이터는 \'255255255\' 이런 형태로 RGB값을 3자리씩 총 9자리를 받아 밝기를 조절하는 것입니다.</p>\r\n<p style=\"box-sizing: inherit; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;\">&nbsp;</p>\r\n<p style=\"box-sizing: inherit; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;\">&nbsp;</p>\r\n<div style=\"box-sizing: inherit; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff;\">\r\n   <pre class=\"brush:c\" style=\"box-sizing: inherit; overflow: auto; font-family: Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-size: 14.4px; padding: 9.5px; margin-top: 0px; margin-bottom: 1rem; line-height: 1.42857; word-break: break-all; overflow-wrap: break-word; background-color: #f5f5f5; border: 1px solid rgb(204, 204, 204); border-radius: 4px;\">#define LED_R 6\r\n#define LED_G 5\r\n#define LED_B 3\r\n//한바이트 데이터를 임시 저장\r\nchar cTemp;\r\n//완성된 명령어\r\nString sCommand = \"\";\r\nString sTemp = \"\";\r\nvoid setup()  \r\n{                \r\n   pinMode(LED_R, OUTPUT);\r\n   pinMode(LED_G, OUTPUT);\r\n   pinMode(LED_B, OUTPUT);\r\n}\r\nvoid loop()                    \r\n{\r\n   sCommand = \"\";\r\n   while(Serial.available())\r\n   {\r\n     cTemp = Serial.read();\r\n     sCommand.concat(cTemp);\r\n   }\r\n   //완성된 데이터가 있는지 확인 한다.\r\n   if(sCommand != \"\" )\r\n   {\r\n     //완성된 데이터가 있다.\r\n     char cTempData[4];\r\n     sCommand.substring(0, 3).toCharArray(cTempData, 4);\r\n     int nR = atoi(cTempData);\r\n     sCommand.substring(3, 6).toCharArray(cTempData, 4);\r\n     int nG = atoi(cTempData);\r\n     sCommand.substring(6, 9).toCharArray(cTempData, 4);\r\n     int nB = atoi(cTempData);\r\n     digitalWrite(LED_R, nR);\r\n     digitalWrite(LED_G, nG);\r\n     digitalWrite(LED_B, nB);\r\n     Serial.println(sCommand + \":\" + nR + \",\" + nG + \",\" + nB ); \r\n   }\r\n   delay(100);\r\n}\r\n</pre>\r\n   </div>\r\n<p style=\"box-sizing: inherit; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;\">&nbsp;</p>\r\n<p style=\"box-sizing: inherit; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;\">&nbsp;</p>\r\n<p style=\"box-sizing: inherit; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;\">이제 시리얼 모니터를 열어 \'120250100\'같이 값을 입력해 봅시다.</p>\r\n<p style=\"box-sizing: inherit; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;\">&nbsp;</p>\r\n<p style=\"box-sizing: inherit; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff; float: none; clear: none; padding-top: 0px !important; padding-bottom: 0px !important;\"><span class=\"imageblock\" style=\"box-sizing: inherit; display: inline-block; width: 730px; height: auto; max-width: 100%;\"><img srcset=\"https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory&amp;fname=http%3A%2F%2Fcfile8.uf.tistory.com%2Fimage%2F2147734651964FF609FFAE\" src=\"https://t1.daumcdn.net/cfile/tistory/2147734651964FF609\" width=\"730\" filename=\"strToint.png\" filemime=\"image/jpeg\" style=\"box-sizing: inherit; border: 0px; vertical-align: middle; max-width: 100%; display: inline-block; height: auto; padding: 0px; line-height: 1.42857; box-shadow: rgb(221, 221, 221) 0px 0px 3pt 2pt; transition: all 0.2s ease-in-out 0s; cursor: pointer;\" /></span></p>\r\n<p style=\"box-sizing: inherit; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;\">&nbsp;</p>\r\n<p style=\"box-sizing: inherit; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;\">&nbsp;</p>\r\n<p style=\"box-sizing: inherit; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;\">아래 코드를 통해 버퍼에 있는 값을 한번에 읽어 올 수 있습니다.</p>\r\n<div style=\"box-sizing: inherit; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff;\">\r\n   <pre class=\"brush:c\" style=\"box-sizing: inherit; overflow: auto; font-family: Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-size: 14.4px; padding: 9.5px; margin-top: 0px; margin-bottom: 1rem; line-height: 1.42857; word-break: break-all; overflow-wrap: break-word; background-color: #f5f5f5; border: 1px solid rgb(204, 204, 204); border-radius: 4px;\">   while(Serial.available())\r\n   {\r\n     cTemp = Serial.read();\r\n     sCommand.concat(cTemp);\r\n   }\r\n</pre>\r\n   </div>\r\n<p style=\"box-sizing: inherit; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;\">&nbsp;</p>\r\n<p style=\"box-sizing: inherit; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;\">&nbsp;</p>\r\n<p style=\"box-sizing: inherit; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;\">이렇게 읽어온 값은 원하는 대로 사용하시면 됩니다.</p>\r\n<p style=\"box-sizing: inherit; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;\">샘플 코드에서는 3자리씩 잘라서 숫자로 바꾸고 있습니다.</p>\r\n<p style=\"box-sizing: inherit; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;\">(참고 :&nbsp;<a class=\"tx-link\" href=\"http://blog.danggun.net/1771\" target=\"_blank\" style=\"box-sizing: inherit; background-color: transparent; color: #000000; text-decoration-line: none; touch-action: manipulation; position: relative;\">[Arduino] String를 int로 변환 하기</a>)</p>\r\n<p style=\"box-sizing: inherit; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;\">&nbsp;&nbsp;</p>\r\n<div class=\"SubTitle Blue\" style=\"box-sizing: inherit; width: 949px; margin: 10px 0px 5px; padding: 10px 0px; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff;\">\r\n   <div style=\"box-sizing: inherit; border-style: solid; border-width: 0px 0px 1px 4px; padding: 10px; margin: 0px 15px 0px 5px; border-color: #0000ff;\">\r\n      <h5 style=\"box-sizing: inherit; font-family: inherit; line-height: 1.1; color: inherit; margin: 0px; font-size: 18px;\">마무리</h5>\r\n      </div>\r\n   </div>\r\n<p style=\"box-sizing: inherit; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;\">생각보다 버퍼값은 믿을만 하지 않습니다.</p>\r\n<p style=\"box-sizing: inherit; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;\">이것은 반대로 컴퓨터로 데이터를 보낼때도 같죠.</p>\r\n<p style=\"box-sizing: inherit; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;\">&nbsp;</p>\r\n<p style=\"box-sizing: inherit; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;\">값이 정확하게 한줄이 다 들어올지는 모른다는 뜻입니다.</p>\r\n<p style=\"box-sizing: inherit; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;\">명렁어를 만들때는 보통 글자수를 설정하여 그만큼 읽어 들이거나 시작문자와 끝문자를 만들어 판단합니다.</p>\r\n<p style=\"box-sizing: inherit; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;\">그런데 이렇게 한줄이 정확한지 알기 힘들때는 시작문자와 끝문자를 데이터의 처음과 끝에 붙여 보내는 것이 좋습니다.</p>\r\n<p style=\"box-sizing: inherit; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;\">&nbsp;</p>\r\n<p style=\"box-sizing: inherit; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;\">============================================================================</p>\r\n<table width=\"100%\" border=\"0\" align=\"center\" cellpadding=\"4\" cellspacing=\"0\" style=\"font-family: 굴림;\">\r\n   <tbody>\r\n      <tr>\r\n         <td colspan=\"2\" style=\"color: #222222;\">\r\n            <table width=\"100%\" cellpadding=\"5\">\r\n               <tbody>\r\n                  <tr>\r\n                     <td class=\"lh\" height=\"100\" style=\"color: #222222; line-height: 18px; word-break: break-all;\"><span class=\"content\" style=\"color: #404040;\">#include &lt;EEPROM.h&gt;&nbsp;<br /><br />void setup() {&nbsp;<br />&nbsp; Serial.begin(9600);&nbsp;<br />}&nbsp;<br /><br />char input, inputData[4];&nbsp;<br />String sCommand;&nbsp;<br />int value;&nbsp;<br /><br />void loop() {&nbsp;<br />&nbsp; sCommand = \"\";&nbsp;<br />&nbsp; while(Serial.available()) {&nbsp;<br />&nbsp; &nbsp; input = Serial.read();&nbsp;<br />&nbsp; &nbsp; sCommand.concat(input);&nbsp;<br />&nbsp; }&nbsp;<br />&nbsp;&nbsp;<br />&nbsp; if(sCommand != \"\") {&nbsp; &nbsp; //완성된 데이터가 있는지 확인&nbsp;<br />&nbsp; &nbsp; sCommand.substring(0, 3).toCharArray(inputData, 4);&nbsp;<br />&nbsp; &nbsp; value = atoi(inputData);&nbsp; &nbsp;&nbsp;<br />&nbsp; &nbsp; writeEEPROM(value);&nbsp;<br />&nbsp; &nbsp; //readEEPROM(value);&nbsp;<br />&nbsp; }&nbsp;<br />&nbsp;&nbsp;<br />&nbsp; delay(500);&nbsp;<br />}&nbsp;<br /><br />void writeEEPROM(int a) {&nbsp;<br />&nbsp; EEPROM.write(0, a);&nbsp;<br />&nbsp; readEEPROM(0);&nbsp;<br />}&nbsp;<br /><br />void readEEPROM(int a) {&nbsp;<br />&nbsp; int val = EEPROM.read(a);&nbsp;<br />&nbsp; Serial.print(\"Address[\");&nbsp;<br />&nbsp; Serial.print(a);&nbsp;<br />&nbsp; Serial.print(\"] : \");&nbsp;<br />&nbsp; Serial.print(val);&nbsp;<br />&nbsp; Serial.print(\"\\n\");&nbsp;<br />}</span><a href=\"http://geoworld.cafe24.com/gnu3/?doc=bbs/gnuboard.php&amp;bo_table=Computer&amp;page=7&amp;wr_id=31122\" style=\"text-decoration-line: none; color: #3a4e40;\" target=\"_blank\"></a><a href=\"http://geoworld.cafe24.com/gnu3/?doc=bbs/gnuboard.php&amp;bo_table=Computer&amp;page=7&amp;wr_id=31122\" style=\"text-decoration-line: none; color: #3a4e40;\" target=\"_blank\"></a></td>\r\n                     </tr>\r\n                  <tr>\r\n                     <td style=\"color: #222222;\"></td>\r\n                     </tr>\r\n                  </tbody>\r\n               </table>\r\n            </td>\r\n         </tr>\r\n      </tbody>\r\n   </table>\r\n<p style=\"box-sizing: inherit; color: #373a3c; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 16px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;\"><br style=\"color: #222222; font-family: 굴림; font-size: 12px;\" /></p>\r\n<table width=\"100%\" align=\"center\" cellpadding=\"10\" cellspacing=\"0\" border=\"0\" bgcolor=\"#E6EFFF\" style=\"font-family: 굴림;\">\r\n   <tbody>\r\n      <tr>\r\n         <td align=\"center\" style=\"color: #222222;\">\r\n            <table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" bgcolor=\"#FFFFFF\" border=\"0\">\r\n               <tbody>\r\n                  <tr>\r\n                     <td height=\"35\" style=\"color: #222222;\">&nbsp;&nbsp;이름 :&nbsp;<b>geoworld</b>&nbsp;&nbsp;</td>\r\n                     </tr>\r\n                  </tbody>\r\n               </table>\r\n            </td>\r\n         </tr>\r\n      </tbody>\r\n   </table>','','',0,0,1,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 14:48:26',0,'2019-04-26 14:48:26','210.101.103.92','','','','','','','','','','','',''),(267,-267,'',267,0,0,'','','html1','[ETC] MAX1676EUB 승압 레귤레이터','<p><span style=\"color: #404040; font-family: 굴림;\">MAX1676EUB&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">DC/DC Converter, 승압 레귤레이터, Step-UP(Boost), 일반건전지 하나로(1.5V) 3.3V, 5V를 출력하는 레귤레이터, MP3및 휴대용 소형장비에 많이 디자인되어 있습니다. MSOP-10 (10-μMAX)</span></p>','','',0,0,2,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 14:50:05',0,'2019-04-26 14:50:05','210.101.103.92','','','','','','','','','','','',''),(268,-268,'',268,0,0,'','','html1','[Arduino] 자작 아두이노 내부 클럭 이용하기','<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">아두이노 우노에서 MCU로 사용하는 ATmega328엔 내부 클럭이 있다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">그래도 안정성, 정확성 및 고속 처리를 위해 대부분 외부에 크리스탈 오실레이터를 달고 있다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">하지만 많은 간단한 응용에서는 내부 클럭으로도 충분할 것이다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">&nbsp;</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">구글링을 해보면 내부 클럭을 이용하는 많은 정보들을 찾을 수도 있다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">그 시작점은 역시 아두이노 홈페이지에 있다. (&nbsp;<a href=\"http://arduino.cc/en/Tutorial/ArduinoToBreadboard\" target=\"_blank\" class=\"con_link\" style=\"text-decoration-line: none; overflow-wrap: break-word; line-height: 1.5;\">http://arduino.cc/en/Tutorial/ArduinoToBreadboard</a><span style=\"line-height: 1.5;\">&nbsp;)</span></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><span style=\"line-height: 1.5;\">또한 네이버 카페 (아두이노 스토리,&nbsp;</span><a href=\"http://cafe.naver.com/arduinostory\" target=\"_blank\" class=\"con_link\" style=\"text-decoration-line: none; overflow-wrap: break-word; line-height: 1.5;\">http://cafe.naver.com/arduinostory</a>&nbsp;) 등에서도 고급 정보를 구할 수 있다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">(아두이노 강좌 중, 클라이버님의 \"DIY Arduino\")</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><span style=\"line-height: 1.5;\">그런데 언제나 그렇듯이 그대로 따라해도 안되는 경우가 허다하다.</span></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><span style=\"line-height: 1.5;\">&nbsp;</span></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><span style=\"line-height: 1.5;\">물론 안되는 분명한 이유가 있을 것이다.</span></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><span style=\"line-height: 1.5;\">하지만&nbsp;</span><span style=\"line-height: 1.5;\">잘 모르니까 팔다리가 고생한다.</span></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">&nbsp;</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">이번에도&nbsp;<span style=\"color: #000000;\"><b><u>백번 넘게 시도</u></b></span>를 한 끝에 겨우 성공했으나,</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">아직 해결 안된 부분도 있다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">(그 와중에 MCU 하나는 운명하셨다. ㅠ.ㅠ)</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">&nbsp;</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">내가 생고생을 한 주원인은 2가지인데,</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">첫번째는 원래 외부 클럭으로 설정되어 있던 MCU를 내부클럭으로 바꾸려면,</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><span style=\"line-height: 1.5;\">부트로더 심을 때 외부 클럭을 달아 놓고 작업해야 한다는 것이고,</span></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">두번째 원인은 부트로더 파일(.hex)을 제대로 읽지 못한 때문이었다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">&nbsp;</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">하여간 나중에 기억에서 지워져서 또 다시 처음부터 삽질할까봐 포스팅하여 남긴다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">&nbsp;</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">아래 사진은 부트로더를 올리기 위해 아두이노 우노와 연결한 모습.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">이미 외부 클럭으로 설정되어 있던 MCU 라서 부트로딩 작업에도 XTAL이 꽂아 두었다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">&nbsp;</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">음. 이렇게 만능 기판형 자작 아두이노를 만들어 놓으니 여러가지로 편하고 쓸모가 많다.^^</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">(&nbsp;<a href=\"http://blog.naver.com/twophase/110174680548\" target=\"_blank\" class=\"con_link\" style=\"text-decoration-line: none; overflow-wrap: break-word;\">http://blog.naver.com/twophase/110174680548</a>&nbsp;)</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">&nbsp;</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><img src=\"https://postfiles.pstatic.net/20130830_184/twophase_1377873475450sE94m_JPEG/20130830_1.jpg?type=w2\" width=\"640\" height=\"480\" id=\"20130830_184/twophase_1377873475450sE94m_JPEG/20130830_1.jpg\" alt=\"\" class=\"_photoImage\" data-lazy-src=\"\" style=\"border: none; cursor: pointer;\" />&nbsp;</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">&nbsp;</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">&nbsp;</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">1. 폴더와 Board 정의 파일 (boards.txt) 만들기</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">&nbsp;</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">일단 Arduino 환경에 임의의 이름으로 하위 폴더를 생성한다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">나는 internal_clock이라는 이름으로 폴더를 만들었다.&nbsp;</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">즉,&nbsp;<span style=\"line-height: 1.5;\">C:\\Program Files\\Arduino\\hardware\\internal_clock 가 된다.</span></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><span style=\"line-height: 1.5;\">&nbsp;</span></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><span style=\"line-height: 1.5;\">이곳에 boards.txt 라는 파일을 만들고 아래와 같이 내용으로 한다. (파일은 유첨함)</span></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">윗 부분은<span style=\"line-height: 1.5;\">&nbsp;ATmega328 이고, 아랫 부분은 ATmega8 에 해당한다.</span></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><span style=\"line-height: 1.5;\">&nbsp;</span></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">참고로 현재 나는 아두이노 1.05 버젼을 사용하고 있다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">&nbsp;</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><span style=\"line-height: 1.5; color: #0075c8;\">######################################################</span></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><span style=\"line-height: 1.5; color: #0075c8;\">&nbsp;</span></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><span style=\"line-height: 1.5; color: #0075c8;\">internal328_8.name=ATmega328 w/ 8 MHz internal clock (Optiboot)</span></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><span style=\"line-height: 1.5; color: #0075c8;\">internal328_8.upload.protocol=arduino</span></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><span style=\"color: #0075c8;\">internal328_8.upload.maximum_size=32256</span></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><span style=\"color: #0075c8;\">internal328_8.upload.speed=57600</span></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><span style=\"line-height: 1.5; color: #0075c8;\">internal328_8.bootloader.low_fuses=0xe2</span></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><span style=\"color: #0075c8;\">internal328_8.bootloader.high_fuses=0xde</span></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><span style=\"color: #0075c8;\">internal328_8.bootloader.extended_fuses=0x05</span></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><span style=\"color: #0075c8;\">internal328_8.bootloader.path=arduino:optiboot</span></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><span style=\"color: #0075c8;\">internal328_8.bootloader.file=optiboot_atmega328.hex</span></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><span style=\"color: #0075c8;\">internal328_8.bootloader.unlock_bits=0x3F</span></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><span style=\"color: #0075c8;\">internal328_8.bootloader.lock_bits=0x0F</span></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><span style=\"line-height: 1.5; color: #0075c8;\">internal328_8.build.mcu=atmega328p</span></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><span style=\"color: #0075c8;\">internal328_8.build.f_cpu=8000000L</span></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><span style=\"color: #0075c8;\">internal328_8.build.core=arduino:arduino</span></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><span style=\"color: #0075c8;\">internal328_8.build.variant=arduino:standard</span></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">&nbsp;</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><span style=\"line-height: 1.5; color: #0075c8;\">######################################################</span></p>\r\n<div style=\"line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></div>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><span style=\"color: #0075c8;\">internal8_8.name=ATmega8 w/ 8 MHz internal clock (Optiboot)</span></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><span style=\"line-height: 1.5; color: #0075c8;\">internal8_8.upload.protocol=arduino</span></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><span style=\"color: #0075c8;\">internal8_8.upload.maximum_size=7168</span></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><span style=\"color: #0075c8;\">internal8_8.upload.speed=9600</span></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><span style=\"line-height: 1.5; color: #0075c8;\">internal8_8.bootloader.low_fuses=0xe4</span></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><span style=\"color: #0075c8;\">internal8_8.bootloader.high_fuses=0xc2</span></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><span style=\"color: #0075c8;\">internal8_8.bootloader.path=optiboot</span></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><span style=\"color: #0075c8;\">internal8_8.bootloader.file=optiboot_atmega8.hex</span></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><span style=\"color: #0075c8;\">internal8_8.bootloader.unlock_bits=0x3F</span></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><span style=\"color: #0075c8;\">internal8_8.bootloader.lock_bits=0x0F</span></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><span style=\"line-height: 1.5; color: #0075c8;\">internal8_8.build.mcu=atmega8</span></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><span style=\"color: #0075c8;\">internal8_8.build.f_cpu=8000000L</span></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><span style=\"color: #0075c8;\">internal8_8.build.core=arduino:arduino</span></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><span style=\"color: #0075c8;\">internal8_8.build.variant=arduino:standard</span></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">&nbsp;</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">2. 하위 폴더 optiboot (<span style=\"line-height: 1.5;\">C:\\Program Files\\Arduino\\hardware\\internal_clock\\bootloaders\\optiboot)</span><span style=\"line-height: 1.5;\">를 추가로 만들고,</span></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><span style=\"line-height: 1.5;\">&nbsp; &nbsp;그곳에 필요한 hex 파일 2개 (</span>optiboot_atmega328.hex,&nbsp;optiboot_atmega8.hex)<span style=\"line-height: 1.5;\">를 복사해서 넣는다.&nbsp;</span></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><span style=\"line-height: 1.5;\">&nbsp; &nbsp;이 파일들은&nbsp;</span>C:\\Program Files\\Arduino\\hardware\\arduino\\bootloaders\\optiboot&nbsp;<span style=\"line-height: 1.5;\">에 있는 것을 복사하는 것이다.</span></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><span style=\"line-height: 1.5;\">&nbsp;</span></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><span style=\"line-height: 1.5;\">&nbsp; &nbsp;물론 이렇게 하지 않아도 간단하게 될 방법이 있을 것이다.</span></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><span style=\"line-height: 1.5;\">&nbsp; &nbsp;하지만 많은 노가다 끝에 이 방법으로 겨우 성공을 했으므로 더 우수하</span><span style=\"line-height: 1.5;\">고 간단한 방법은 나중에 찾아 보겠다.</span></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><span style=\"line-height: 1.5;\">&nbsp;</span></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><span style=\"line-height: 1.5;\">3. 이제 아두이노 IDE를 실행하면 보드 선택 메뉴에서 다음 2개가 추가되어 있게된다.</span></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><span style=\"color: #0075c8;\">&nbsp; &nbsp;ATmega328 w/ 8 MHz internal clock (Optiboot)</span></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><span style=\"color: #0075c8;\">&nbsp; &nbsp;ATmega8 w/ 8 MHz internal clock (Optiboot)</span></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">&nbsp;</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">&nbsp; &nbsp;이제 해당 보드(MCU)를 선택한 후 부트로더를 구으면 된다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">&nbsp;</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">&nbsp; &nbsp;단, 원래 MCU가 외부 클럭으로 설정되어 있던 것이었다면,</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">&nbsp; &nbsp;부트로더를 새로 올리는 동안은 외부 클럭을 달아 놓아야 된다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">&nbsp;</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">이렇게 해서 가지고 있는 ATmega328과 ATmega8의 내부클럭을 이용하도록 만들었다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">&nbsp;</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">그런데 ATmega328은 아무 문제없이 프로그램의 업로딩이 되는데,</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">ATmega8은 USB to TTL 어댑터로는 업로딩이 되지 않는다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">자꾸 sync 에러가 난다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">그래서 아두이노 우노를 프래그래머로 이용해서 업로딩 했더니 잘된다.</p>','https://blog.naver.com/twophase/110175180142','',0,0,3,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 14:50:59',2,'2019-04-26 14:50:59','210.101.103.92','','','','','','','','','','','',''),(266,-266,'',266,0,0,'','','html1','[Arduino] 배터리 승압회로 관련','<p><span style=\"color: #404040; font-family: 굴림;\">모터가 구동하기 위한 전원으로는 1.5V 알카라인 건전지 2개 직렬로 구성된 전원이나 1.2V 에너루프 전지 3개 직렬로 구성된 전원 또는 리튬배터리면 충분합니다. 다만, 1.5V 알카라인 건전지 2개로 구성된 전원의 경우에는 사용시간이 길지 않으니 참고할 필요가 있습니다. 더불어 리튬배터리를 연결할 때에는 배터리의 방전율과 연관이 있으므로 방전율이 700mAh 이상의 용량과 1C 에 해당하는 방전율 또는 1400mAh 의 0.5C 방전율의 배터리를 선택하면 되겠습니다.</span></p>','https://cafe.naver.com/arduinostory/19066','',0,0,3,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 14:49:48',1,'2019-04-26 14:49:48','210.101.103.92','','','','','','','','','','','',''),(269,-269,'',269,0,0,'','','html1','[Arduino] NCP1402 5V 스탭업 승압모듈','<p><span style=\"color: #404040; font-family: 굴림;\">NCP1402는 5V DC-DC 컨버터로, 본 제품은 1-4V의 전압입력을 받아 안정적인 5V 출력(200mA)을 보내주입니다.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">본 제품은 3.3V보드에서 5V를 센서에 전원을 공급해야할 경우나, AA배터리로 5V를 만들어야 할 경우 유용합니다.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">입력, 출력, 그라운드 핀은 패드로 나와 있어 브레드보드에서 사용이 용이합니다.</span></p>','http://vctec.co.kr/front/php/product.php?product_no=1268&main_cate_no=&display_group=','',0,0,3,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 14:51:30',2,'2019-04-26 14:51:30','210.101.103.92','','','','','','','','','','','',''),(270,-270,'',270,0,0,'','','html1','[ETC] 윈도우7 COM포트 초기화 방법','<div class=\"post_title_area\" style=\"margin: 0px; padding: 40px 0px 30px; border: 0px; vertical-align: baseline; font-family: &quot;맑은 고딕&quot;, &quot;malgun gothic&quot;, 돋움, dotum, AppleGothic, sans-serif;\">\r\n   <h2 class=\"post_title\" style=\"margin: 0px; padding: 0px; font-size: 25px; border: 0px; vertical-align: baseline; line-height: 35px; letter-spacing: -1px;\">윈도우즈 7 시리얼 포트 정리</h2>\r\n   <p class=\"post_link\" style=\"padding: 4px 0px 0px 1px; border: 0px; vertical-align: baseline; line-height: 20px;\"><a href=\"http://sseeman.egloos.com/11066951\" style=\"margin: 0px; padding: 0px; font-size: 10px; border: 0px; vertical-align: baseline; color: #4eb8e8; text-decoration-line: none; font-family: Tahoma, sans-serif;\" target=\"_blank\">http://sseeman.egloos.com/11066951</a></p>\r\n   </div>\r\n<div class=\"post_content\" itemprop=\"articleBody\" style=\"margin: 0px 0px 45px; padding: 0px 0px 2px; border: 0px; vertical-align: baseline; position: relative; font-family: &quot;맑은 고딕&quot;, &quot;malgun gothic&quot;, 돋움, dotum, AppleGothic, sans-serif;\">\r\n   <div class=\"post\" style=\"margin: 0px; padding: 0px; font-size: 13px; border: 0px; vertical-align: baseline; color: #1f1f1f; line-height: 23px;\">\r\n      <table border=\"0\" width=\"640\" bgcolor=\"#bde6b3\" align=\"center\" cellpadding=\"20\" style=\"margin: 0px; padding: 0px; font-size: 13px; border-width: 0px; border-style: initial; border-color: initial; vertical-align: baseline;\">\r\n         <tbody style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;\">\r\n            <tr style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;\">\r\n               <td style=\"margin: 0px; padding: 0px; border-width: 0px; border-style: initial; border-color: initial; vertical-align: baseline;\">\r\n                  <p class=\"0\" style=\"padding: 0px; border: 0px; vertical-align: baseline;\"><span style=\"margin: 0px; padding: 0px; font-size: 12pt; border: 0px; vertical-align: baseline; font-weight: bold; color: #0c0c0c;\">시리얼 포트와 관련하여</span></p>\r\n                  <p class=\"0\" style=\"padding: 0px; border: 0px; vertical-align: baseline;\">&nbsp;</p>\r\n                  <p class=\"0\" style=\"padding: 0px; border: 0px; vertical-align: baseline;\"><span style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; color: #0c0c0c;\">며칠 전 까지 잘 사용 했던 아트멜 프로그램머가 갑자기 연결이 되지 않는다</span><span lang=\"EN-US\" style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; font-family: &quot;Arial Unicode MS&quot;; letter-spacing: 0pt; color: #0c0c0c;\">.&nbsp;</span><span style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; color: #0c0c0c;\">수없이 다시 시도를 해도</span><span lang=\"EN-US\" style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; font-family: &quot;Arial Unicode MS&quot;; letter-spacing: 0pt; color: #0c0c0c;\">, USB</span><span style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; color: #0c0c0c;\">케이블을 제일 짧은 것으로 해도 안 된다</span><span lang=\"EN-US\" style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; font-family: &quot;Arial Unicode MS&quot;; letter-spacing: 0pt; color: #0c0c0c;\">,&nbsp;</span><span style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; color: #0c0c0c;\">모든&nbsp;</span><span lang=\"EN-US\" style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; font-family: &quot;Arial Unicode MS&quot;; letter-spacing: 0pt; color: #0c0c0c;\">USB</span><span style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; color: #0c0c0c;\">와&nbsp;</span><span lang=\"EN-US\" style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; font-family: &quot;Arial Unicode MS&quot;; letter-spacing: 0pt; color: #0c0c0c;\">RS232&nbsp;</span><span style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; color: #0c0c0c;\">연결을 다 빼고 달랑 하나만 꼽아도 역시 안 된다</span><span lang=\"EN-US\" style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; font-family: &quot;Arial Unicode MS&quot;; letter-spacing: 0pt; color: #0c0c0c;\">.&nbsp;</span><span style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; color: #0c0c0c;\">드라이버를 삭제하고 다시 설치해도</span><span lang=\"EN-US\" style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; font-family: &quot;Arial Unicode MS&quot;; letter-spacing: 0pt; color: #0c0c0c;\">,&nbsp;</span><span style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; color: #0c0c0c;\">장지관리자에 목록을 지워도 역시 연결은 되지 않았다</span><span lang=\"EN-US\" style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; font-family: &quot;Arial Unicode MS&quot;; letter-spacing: 0pt; color: #0c0c0c;\">.</span></p>\r\n                  <p class=\"0\" style=\"padding: 0px; border: 0px; vertical-align: baseline;\"><span style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; color: #0c0c0c;\">어찌 하다보면 또 하나의 시리얼포트 사용 개수가 증가 된다</span><span lang=\"EN-US\" style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; font-family: &quot;Arial Unicode MS&quot;; letter-spacing: 0pt; color: #0c0c0c;\">.&nbsp;</span><span style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; color: #0c0c0c;\">모는 직렬포트에 연결을 해제 했는데도 그 숫자는 변하지 않는다</span><span lang=\"EN-US\" style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; font-family: &quot;Arial Unicode MS&quot;; letter-spacing: 0pt; color: #0c0c0c;\">.&nbsp;</span><span style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; color: #0c0c0c;\">그래서 한번 설치가 될 때 마다 포트 수가 늘어나는 것을 알았다</span><span lang=\"EN-US\" style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; font-family: &quot;Arial Unicode MS&quot;; letter-spacing: 0pt; color: #0c0c0c;\">.&nbsp;</span><span style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; color: #0c0c0c;\">혼자 있으면서 이럴 때는 인터넷에서 정보를 찾는 수밖에 없다</span><span lang=\"EN-US\" style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; font-family: &quot;Arial Unicode MS&quot;; letter-spacing: 0pt; color: #0c0c0c;\">.</span></p>\r\n                  <p class=\"0\" style=\"padding: 0px; border: 0px; vertical-align: baseline;\"><span style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; color: #0c0c0c;\">시리얼 포트가 한번 사용 됐던 포트 번호는 그대로 기록이 되어 유지를 하는 것 같아 초기화 또는 클리어 하는 방법을 찾아보니 직접명령 창에&nbsp;</span><span lang=\"EN-US\" style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; font-family: &quot;Arial Unicode MS&quot;; letter-spacing: 0pt; color: #0c0c0c;\">regedit&nbsp;</span><span style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; color: #0c0c0c;\">명령을 사용하여 모두 지우는 방법을 추천하는 글이 있어 그 방법을 &nbsp;한 번 시도 해 보기로 했다</span><span lang=\"EN-US\" style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; font-family: &quot;Arial Unicode MS&quot;; letter-spacing: 0pt; color: #0c0c0c;\">.</span></p>\r\n                  <p class=\"0\" style=\"padding: 0px; border: 0px; vertical-align: baseline;\"><span style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; color: #0c0c0c;\">우리 같은 노인네가 함부로 컴을 만지다가 혹 컴퓨터가 큰 문제를 일으킬까 염려되어 확실 하지 않으면 좀처럼 손대기를 꺼려한다</span><span lang=\"EN-US\" style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; font-family: &quot;Arial Unicode MS&quot;; letter-spacing: 0pt; color: #0c0c0c;\">.&nbsp;</span><span style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; color: #0c0c0c;\">하지만 지금은 방법이 없어 용감하게&nbsp;</span><span lang=\"EN-US\" style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; font-family: &quot;Arial Unicode MS&quot;; letter-spacing: 0pt; color: #0c0c0c;\">regedit&nbsp;</span><span style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; color: #0c0c0c;\">명령을 이용하여 한 번 시도해보기로 했다</span><span lang=\"EN-US\" style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; font-family: &quot;Arial Unicode MS&quot;; letter-spacing: 0pt; color: #0c0c0c;\">.</span></p>\r\n                  <p class=\"0\" style=\"padding: 0px; border: 0px; vertical-align: baseline;\"><span lang=\"EN-US\" style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; font-family: &quot;Arial Unicode MS&quot;; letter-spacing: 0pt; font-weight: bold; color: #0000ff;\">HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\COM Name Arbiter</span><span style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; font-weight: bold; color: #0c0c0c;\">에&nbsp;</span><span style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; color: #0c0c0c;\">까지 들어간다</span><span lang=\"EN-US\" style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; font-family: &quot;Arial Unicode MS&quot;; letter-spacing: 0pt; color: #0c0c0c;\">.&nbsp;</span></p>\r\n                  <p class=\"0\" style=\"padding: 0px; border: 0px; vertical-align: baseline;\">&nbsp;</p>\r\n                  <div style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; text-align: center;\"><a href=\"http://pds21.egloos.com/pds/201311/09/60/a0117560_527d9337bf7af.png\" style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; color: #3180da;\" target=\"_blank\"><img class=\"post_image\" border=\"0\" data-original=\"http://thumbnail.egloos.net/600x0/http://pds21.egloos.com/pds/201311/09/60/a0117560_527d9337bf7af.png\" data-thumbsrc=\"http://thumbnail.egloos.net/600x0/http://pds21.egloos.com/pds/201311/09/60/a0117560_527d9337bf7af.png\" width=\"600\" data-src=\"http://pds21.egloos.com/pds/201311/09/60/a0117560_527d9337bf7af.png\" data-width=\"761\" src=\"http://thumbnail.egloos.net/600x0/http://pds21.egloos.com/pds/201311/09/60/a0117560_527d9337bf7af.png\" style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: top; max-width: 100%; display: inline;\" /></a></div>\r\n                  <p style=\"padding: 0px; border: 0px; vertical-align: baseline;\">&nbsp;</p>\r\n                  <p class=\"0\" style=\"padding: 0px; border: 0px; vertical-align: baseline;\">&nbsp;</p>\r\n                  <div style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; text-align: center;\"><a href=\"http://pds25.egloos.com/pds/201311/09/60/a0117560_527d935341ccf.png\" style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; color: #3180da;\" target=\"_blank\"><img class=\"post_image\" border=\"0\" data-original=\"http://thumbnail.egloos.net/600x0/http://pds25.egloos.com/pds/201311/09/60/a0117560_527d935341ccf.png\" data-thumbsrc=\"http://thumbnail.egloos.net/600x0/http://pds25.egloos.com/pds/201311/09/60/a0117560_527d935341ccf.png\" width=\"600\" data-src=\"http://pds25.egloos.com/pds/201311/09/60/a0117560_527d935341ccf.png\" data-width=\"750\" src=\"http://thumbnail.egloos.net/600x0/http://pds25.egloos.com/pds/201311/09/60/a0117560_527d935341ccf.png\" style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: top; max-width: 100%; display: inline;\" /></a></div>\r\n                  <p style=\"padding: 0px; border: 0px; vertical-align: baseline;\">&nbsp;</p>\r\n                  <p class=\"0\" style=\"padding: 0px; border: 0px; vertical-align: baseline;\"><span style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; color: #0c0c0c;\">여기서&nbsp;</span><span lang=\"EN-US\" style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; font-family: &quot;Arial Unicode MS&quot;; letter-spacing: 0pt; font-weight: bold; color: #0000ff;\">ComDB</span><span style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; color: #0c0c0c;\">를 더블 클리 하면&nbsp;</span><span lang=\"EN-US\" style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; font-family: &quot;Arial Unicode MS&quot;; letter-spacing: 0pt; color: #0c0c0c;\">hex&nbsp;</span><span style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; color: #0c0c0c;\">값으로 된 숫자를&nbsp;</span><span lang=\"EN-US\" style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; font-family: &quot;Arial Unicode MS&quot;; letter-spacing: 0pt; color: #0c0c0c;\">0</span><span style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; color: #0c0c0c;\">으로 모두 바꾸어준다</span><span lang=\"EN-US\" style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; font-family: &quot;Arial Unicode MS&quot;; letter-spacing: 0pt; color: #0c0c0c;\">.</span></p>\r\n                  <p class=\"0\" style=\"padding: 0px; border: 0px; vertical-align: baseline;\"><span style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; color: #0c0c0c;\">첫째 주소 줄에&nbsp;</span><span lang=\"EN-US\" style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; font-family: &quot;Arial Unicode MS&quot;; letter-spacing: 0pt; color: #0000ff;\">0000</span><span lang=\"EN-US\" style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; font-family: &quot;Arial Unicode MS&quot;; color: #0c0c0c;\">&nbsp;</span><span lang=\"EN-US\" style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; font-family: &quot;Arial Unicode MS&quot;; letter-spacing: 0pt; color: #fa0000;\">04 00 00 00 00 00 00 00</span><span lang=\"EN-US\" style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; font-family: &quot;Arial Unicode MS&quot;; color: #0c0c0c;\">&nbsp;</span><span style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; color: #0c0c0c;\">같이 기록이 됐다면&nbsp;</span><span lang=\"EN-US\" style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; font-family: &quot;Arial Unicode MS&quot;; letter-spacing: 0pt; color: #0000ff;\">1, 2, 4, 8</span><span style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; color: #0c0c0c;\">과 같이 되어 포트&nbsp;</span><span lang=\"EN-US\" style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; font-family: &quot;Arial Unicode MS&quot;; letter-spacing: 0pt; color: #0c0c0c;\">0, 1, 2&nbsp;</span><span style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; color: #0c0c0c;\">중에&nbsp;</span><span lang=\"EN-US\" style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; font-family: &quot;Arial Unicode MS&quot;; letter-spacing: 0pt; color: #0c0c0c;\">2</span><span style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; color: #0c0c0c;\">에 하나의 장치가&nbsp;</span><span lang=\"EN-US\" style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; font-family: &quot;Arial Unicode MS&quot;; letter-spacing: 0pt; color: #0c0c0c;\">MSB&gt;0000 0100&lt;LSB&nbsp;</span><span style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; color: #0c0c0c;\">와 같이 사용됨을 표시 한다</span><span lang=\"EN-US\" style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; font-family: &quot;Arial Unicode MS&quot;; letter-spacing: 0pt; color: #0c0c0c;\">.&nbsp;</span><span style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; color: #0c0c0c;\">여기에 포트&nbsp;</span><span lang=\"EN-US\" style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; font-family: &quot;Arial Unicode MS&quot;; letter-spacing: 0pt; color: #0c0c0c;\">3</span><span style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; color: #0c0c0c;\">이 추가로 사용 된다면 이진수&nbsp;</span><span lang=\"EN-US\" style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; font-family: &quot;Arial Unicode MS&quot;; letter-spacing: 0pt; color: #0c0c0c;\">MSB&gt;0000 1000&lt;LSB&nbsp;</span><span style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; color: #0c0c0c;\">되어 둘을 합하면&nbsp;</span><span lang=\"EN-US\" style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; font-family: &quot;Arial Unicode MS&quot;; letter-spacing: 0pt; color: #0c0c0c;\">MSB&gt;0000 1100&lt;LSB&nbsp;</span><span style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; color: #0c0c0c;\">과 같이 될 것이다</span><span lang=\"EN-US\" style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; font-family: &quot;Arial Unicode MS&quot;; letter-spacing: 0pt; color: #0c0c0c;\">.&nbsp;</span><span style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; color: #0c0c0c;\">여기 추가로 포트&nbsp;</span><span lang=\"EN-US\" style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; font-family: &quot;Arial Unicode MS&quot;; letter-spacing: 0pt; color: #0c0c0c;\">7</span><span style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; color: #0c0c0c;\">이 사용 된다면&nbsp;</span><span lang=\"EN-US\" style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; font-family: &quot;Arial Unicode MS&quot;; letter-spacing: 0pt; color: #0c0c0c;\">MSB&gt;1000 0000&lt;LSB</span><span style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; color: #0c0c0c;\">이 되고 다 합하면&nbsp;</span><span lang=\"EN-US\" style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; font-family: &quot;Arial Unicode MS&quot;; letter-spacing: 0pt; color: #0c0c0c;\">MSB&gt;1000 1100&lt;LSB</span><span style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; color: #0c0c0c;\">과 같이&nbsp;</span><span lang=\"EN-US\" style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; font-family: &quot;Arial Unicode MS&quot;; letter-spacing: 0pt; color: #0000ff;\">8C</span><span lang=\"EN-US\" style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; font-family: &quot;Arial Unicode MS&quot;; color: #0c0c0c;\">&nbsp;</span><span style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; color: #0c0c0c;\">와같이 보일 것이다</span><span lang=\"EN-US\" style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; font-family: &quot;Arial Unicode MS&quot;; letter-spacing: 0pt; color: #0c0c0c;\">.</span></p>\r\n                  <p class=\"0\" style=\"padding: 0px; border: 0px; vertical-align: baseline;\"><span style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; color: #0c0c0c;\">모두&nbsp;</span><span lang=\"EN-US\" style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; font-family: &quot;Arial Unicode MS&quot;; letter-spacing: 0pt; color: #0c0c0c;\">0</span><span style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; color: #0c0c0c;\">으로 바꾼 후에 재</span><span lang=\"EN-US\" style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; font-family: &quot;Arial Unicode MS&quot;; letter-spacing: 0pt; color: #0c0c0c;\">-</span><span style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; color: #0c0c0c;\">부팅을 하고 필요한 장치를 연결하면 이때부터 새로운 포트 번호가 할당이 될 것이다</span><span lang=\"EN-US\" style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; font-family: &quot;Arial Unicode MS&quot;; letter-spacing: 0pt; color: #0c0c0c;\">.</span></p>\r\n                  <p class=\"0\" style=\"padding: 0px; border: 0px; vertical-align: baseline;\"><span style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; color: #0c0c0c;\">이렇게 하여 가까스로 내가 아트멜&nbsp;</span><span lang=\"EN-US\" style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; font-family: &quot;Arial Unicode MS&quot;; letter-spacing: 0pt; color: #0c0c0c;\">AVR STUDIO</span><span style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; color: #0c0c0c;\">에&nbsp;</span><span lang=\"EN-US\" style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; font-family: &quot;Arial Unicode MS&quot;; letter-spacing: 0pt; color: #0c0c0c;\">Programmer</span><span style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; color: #0c0c0c;\">을 연결 할 수 있었다</span><span lang=\"EN-US\" style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; font-family: &quot;Arial Unicode MS&quot;; letter-spacing: 0pt; color: #0c0c0c;\">.&nbsp;</span><span style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; color: #0c0c0c;\">하지만 꼭 이것 때문에 해결 된 것인지는 알 수 없다</span><span lang=\"EN-US\" style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; font-family: &quot;Arial Unicode MS&quot;; letter-spacing: 0pt; color: #0c0c0c;\">.&nbsp;</span><span style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; color: #0c0c0c;\">아무튼 필요 없는 포트번호 할당을 다시 하고 싶은 분은 이런 방법으로 하면 될 것이다</span><span lang=\"EN-US\" style=\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; font-family: &quot;Arial Unicode MS&quot;; letter-spacing: 0pt; color: #0c0c0c;\">.</span></p>\r\n                  </td>\r\n               </tr>\r\n            </tbody>\r\n         </table>\r\n      </div>\r\n   <div class=\"post\" style=\"margin: 0px; padding: 0px; font-size: 13px; border: 0px; vertical-align: baseline; color: #1f1f1f; line-height: 23px;\"><span style=\"color: #404040; font-family: 굴림; font-size: 12px;\">1. Regedit 실행&nbsp;</span><br style=\"color: #404040; font-family: 굴림; font-size: 12px;\" /><span style=\"color: #404040; font-family: 굴림; font-size: 12px;\">2. HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\COM Name Arbiter 에서 ComDB 를 0 으로 함&nbsp;</span><br style=\"color: #404040; font-family: 굴림; font-size: 12px;\" /><span style=\"color: #404040; font-family: 굴림; font-size: 12px;\">3. 장치관리자 실행, 보기(V) 에서 숨김장치 표시를 선택&nbsp;</span><br style=\"color: #404040; font-family: 굴림; font-size: 12px;\" /><span style=\"color: #404040; font-family: 굴림; font-size: 12px;\">4. 포트(COM &amp; LPT) 부분에서 필요없는 장치를 모두 지움</span></div>\r\n   </div>','','',0,0,3,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 14:51:55',0,'2019-04-26 14:51:55','210.101.103.92','','','','','','','','','','','',''),(271,-271,'',271,0,0,'','','html1','[Arduino] Low voltage detector','<p><span style=\"color: #404040; font-family: 굴림;\">The next issue, which we discovered whilst driving around scaring the cat, was that the battery on the car could&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">get dangerously low.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">So, a method of detecting low voltage was necessary. Since the car was powered by a Li-Po battery (two cells in&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">series) its valid range was 7.4V to 8.4V. Now 8.4V is too much to plug into an analog port, so we need to get it down&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">to the range 0 to 5V. Thus, a simple voltage divider will do it:&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">Now the voltage on pin A2 will be the battery voltage, halved. So we now need a simple calculation to see if the battery&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">is too low:&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">--------------------------------------------------------------------------------------------------------------&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">const float LOW_BATTERY_VOLTAGE = 7.5;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">const byte BATTERY_CHECK = 2; // A2&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">// where the motors are connected to&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">const byte&nbsp; LEFT_MOTOR = 5;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">const byte&nbsp; RIGHT_MOTOR = 6;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">// warning LED&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">const byte RED_LED = 8;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">void setup ()&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">{&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; // low battery warning LED&nbsp;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; pinMode (RED_LED, OUTPUT);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">}&nbsp; // end of setup&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">void loop ()&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">{&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; int voltage = analogRead (BATTERY_CHECK);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; // 1024 would be 5V on the pin&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; // we have a voltage divider so the read voltage is half the battery&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; float volts = voltage / 1024.0 * 5.0 * 2.0;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; if (volts &lt; LOW_BATTERY_VOLTAGE)&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; {&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; analogWrite (LEFT_MOTOR, 0);&nbsp; // stop motors&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; analogWrite (RIGHT_MOTOR, 0);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; digitalWrite (RED_LED, HIGH);&nbsp; // flash LED as warning&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; delay (50);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; digitalWrite (RED_LED, LOW);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; delay (950);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; return;&nbsp; // don\'t try to use motors now&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; }&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">// rest of loop here&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">}&nbsp; // end of loop&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">--------------------------------------------------------------------------------------------------------------&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">The above code reads in the voltage from the battery voltage divider. Since it returns 1024 for \"full\" voltage,&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">then we divide by 1024, multiply by 5 (since full voltage is 5) and then double it to allow for the voltage divider.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">Then if the resulting voltage is too low (eg. less than 7.5 volts) we turn the motors off, flash the \"warning\" LED, and&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">exit the loop.</span></p>','http://www.gammon.com.au/forum/bbshowpost.php?bbsubject_id=11506&page=1','',0,0,1,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 14:52:28',1,'2019-04-26 14:52:28','210.101.103.92','','','','','','','','','','','',''),(272,-272,'',272,0,0,'','','html1','[Arduino] avrdude.exe를 이용한 hex업로드','<p><span style=\"color: #404040; font-family: 굴림;\">*avrdude.exe와 avrdude.conf, libusb0.dll파일이 한 디렉토리에 위치해야 한다.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">1. avrdude.exe파일 위치&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; arduino-1.0.5\\hardware\\tools\\avr\\bin&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">2. avrdude.conf파일 위치&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; arduino-1.0.5\\hardware\\tools\\avr\\etc&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">3. libusb0.dll파일 위치&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; arduino-1.0.5\\hardware\\tools\\avr\\bin&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">4. arduino hex파일 위치&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; IDE에서 컴파일을 하면 hex파일이 생성됨. 정확한 위치는 IDE&gt;환경설정&gt;~출력보이기&gt;컴파일&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; 을 체크하면 자세한 위치가 나옴.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; ex) c:\\users\\MY_PC\\AppData\\Local\\Temp\\build5141883218744141480.temp\\myboard1.cpp.hex&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">5. 업로드 명령어셋&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; avrdude -p atmega328p -P com3 -c arduino -U flash:w:myboard1.cpp.hex:i&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; (i:는 생략가능, Intel hex format을 의미)</span></p>\r\n<p><span style=\"color: #404040; font-family: 굴림;\">=================================================================================================</span></p>\r\n<p><span style=\"color: #404040; font-family: 굴림;\">*2021.8.31일 추가수정</span></p>\r\n<p><span style=\"color: #404040; font-family: 굴림;\">avrdude_wrtie.bat :&nbsp;</span><font color=\"#404040\" face=\"굴림\">avrdude -Cavrdude.conf -v -patmega2560 -cwiring -PCOM5 -b115200 -D -Uflash:w:My_FootBath_210831_1.ino.hex:i&nbsp;</font></p>\r\n<p><font color=\"#404040\" face=\"굴림\"></font></p>','','',0,0,7,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 14:52:45',0,'2019-04-26 14:52:45','210.101.103.92','','','','','','','','','','','',''),(273,-273,'',273,0,0,'','','html1','[PHP] 접속 브라우져의 도메인 추출하기','<p><span style=\"color: #404040; font-family: 굴림;\">$domain = $_SERVER[\'HTTP_HOST\'];&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">if($domain == null) {&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; $domain = \"NULL Domain Value\";&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">}&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">echo (\"Domain : \");&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">echo (\" $domain \");</span></p>','','',0,0,1,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 14:52:55',0,'2019-04-26 14:52:55','210.101.103.92','','','','','','','','','','','',''),(274,-274,'',274,0,0,'','','html1','[PHP] $_SERVER[] 값','<p><span style=\"color: #404040; font-family: 굴림;\">$_SERVER[\'DOCUMENT_ROOT\'] = 현재 사이트가 위치한 서버상의 위치 =&gt; /webapp/include&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">$_SERVER[\'HTTP_ACCEPT_ENCODING\'] = 인코딩 받식 =&gt; gzip, deflate&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">$_SERVER[\'HTTP_ACCEPT_LANGUAGE\'] = 언어 =&gt; ko&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">$_SERVER[\'HTTP_USER_AGENT\'] = 사이트 접속한 사용자 환경 =&gt; Mozilla/4.0(compatible; MSIE 6.0; Windows NT 5.1; Q312461; .NET CLR 1.0.3705&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">$_SERVER[\'REMOTE_ADDR\'] = 사이트 접속한 사용자 IP =&gt; xxx.xxx.xxx.xxx&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">$_SERVER[\'HTTP_REFERER\'] = 현제 페이지로 오기전의 페이지주소값 =&gt;&nbsp;</span><a href=\"http://www.test.net/index.php?user=???\" target=\"_new\" style=\"text-decoration-line: none; color: #3a4e40; font-family: 굴림;\">http://www.test.net/index.php?user=???</a><span style=\"color: #404040; font-family: 굴림;\">&nbsp;(A태그나 form으로 전송시 값이 넘어옴. onclick으로 전송시 값이 넘어오지 않음)&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">$_SERVER[\'SCRIPT_FILENAME\'] = 실행되고 있는 위치와 파일명 =&gt; webapp/include/index.php&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">$_SERVER[\'SERVER_NAME\'] = 사이트 도메인 =&gt;&nbsp;</span><a href=\"http://www.test.com/\" target=\"_new\" style=\"text-decoration-line: none; color: #3a4e40; font-family: 굴림;\">www.test.com</a><span style=\"color: #404040; font-family: 굴림;\">&nbsp;(버추얼 호스트에 지정한 도메인)&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">$_SERVER[\'HTTP_HOST\'] = 사이트 도메인 =&gt;&nbsp;</span><a href=\"http://www.test.com/\" target=\"_new\" style=\"text-decoration-line: none; color: #3a4e40; font-family: 굴림;\">www.test.com</a><span style=\"color: #404040; font-family: 굴림;\">&nbsp;(접속할 때 사용한 도메인)&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">$_SERVER[\'SERVER_PORT\'] = 사이트가 사용하는 포트 =&gt; 80&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">$_SERVER[\'SERVER_SOFTWARE\'] = 서버의 소프트웨어 환경 =&gt; Apache/1.3.23 (Unix) PHP/4.1.2 mod_fastcgi/2.2.10 mod_throttle/3.1.2 mod_ssl/2.8.6 OpenSSL/0.9.6c&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">$_SERVER[\'GATEWAY_INTERFACE\'] = cGI 정보 =&gt; CGI/1.1&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">$_SERVER[\'SERVER_PROTOCOL\'] = 사용된 서버 프로토콜 =&gt; HTTP/1.1&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">$_SERVER[\'REQUEST_URI\'] = 현재페이지의 주소에서 도메인 제외 =&gt;&nbsp; /index.php?user=???&amp;name=???&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">$_SERVER[\'PHP_SELF\'] = 현재페이지의 주소에서 도메인과 넘겨지는 값 제외 = /default/index.php&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; &nbsp; *파일명만 가져올때 : basename($_SERVER[\'PHP_SELF\']);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">$_SERVER[\'APPL_PHYSICAL_PATH\'] = 현재페이지의 실제 파일 주소 =&gt; D:\\webapp/&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">$_SERVER[\'QUERY_STRING\'] = get방식의 파일명 뒤에 붙어서 넘어오는 값 =&gt; ?user=???&amp;name=??? (반드시get방식으로 넘겨야됨)</span></p>','','',0,0,1,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 14:53:04',0,'2019-04-26 14:53:04','210.101.103.92','','','','','','','','','','','',''),(275,-275,'',275,0,0,'','','html1','[Arduino] 초음파센서 HC-SR04','<p><span style=\"color: #404040; font-family: 굴림;\">#include &lt;NewPing.h&gt;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">#define TRIGGER_PIN&nbsp; 12&nbsp; // Arduino pin tied to trigger pin on the ultrasonic sensor.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">#define ECHO_PIN&nbsp; &nbsp; 11&nbsp; // Arduino pin tied to echo pin on the ultrasonic sensor.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">#define MAX_DISTANCE 200 // Maximum distance we want to ping for (in centimeters). Maximum sensor distance is rated at 400-500cm.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">NewPing sonar(TRIGGER_PIN, ECHO_PIN, MAX_DISTANCE); // NewPing setup of pins and maximum distance.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">void setup() {&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; Serial.begin(115200); // Open serial monitor at 115200 baud to see ping results.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">}&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">void loop() {&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; delay(50);&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // Wait 50ms between pings (about 20 pings/sec). 29ms should be the shortest delay between pings.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; unsigned int uS = sonar.ping(); // Send ping, get ping time in microseconds (uS).&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; Serial.print(\"Ping: \");&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; Serial.print(uS / US_ROUNDTRIP_CM); // Convert ping time to distance and print result (0 = outside set distance range, no ping echo)&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; Serial.println(\"cm\");&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">}</span></p>','https://bitbucket.org/teckel12/arduino-new-ping/wiki/Home','',0,0,1,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 14:53:39',1,'2019-04-26 14:53:39','210.101.103.92','','','','','','','','','','','',''),(276,-276,'',276,0,0,'','','html1','[Arduino] 포트 읽은값은 String타입으로 형변환','<p><span style=\"color: #404040; font-family: 굴림;\">int a = A1;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">int aval;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">String bval;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">void setup() {&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; Serial.begin(9600);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">}&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">void loop() {&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; aval = analogRead(a);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; bval = String(aval);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; Serial.println(bval);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; delay(1000);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">}</span></p>','','',0,0,7,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 14:53:52',0,'2019-04-26 14:53:52','210.101.103.92','','','','','','','','','','','',''),(277,-277,'',277,0,0,'','','html1','[Arduino] 아두이노 도트매트릭스 사용하기','<table width=\"100%\" cellpadding=\"5\" style=\"font-family: 굴림;\">\r\n   <tbody>\r\n      <tr>\r\n         <td class=\"lh\" height=\"100\" style=\"color: #222222; line-height: 18px; word-break: break-all;\"><span class=\"content\" style=\"color: #404040;\">Arduino + 8x8&nbsp;Dot matrix - 2 (문자열 스크롤) 아두이노 + 도트매트릭스</span><a href=\"http://geoworld.cafe24.com/gnu3/?doc=bbs/gnuboard.php&amp;bo_table=Computer&amp;page=6&amp;wr_id=31134\" style=\"text-decoration-line: none; color: #3a4e40;\" target=\"_blank\"></a><a href=\"http://geoworld.cafe24.com/gnu3/?doc=bbs/gnuboard.php&amp;bo_table=Computer&amp;page=6&amp;wr_id=31134\" style=\"text-decoration-line: none; color: #3a4e40;\" target=\"_blank\"></a></td>\r\n         </tr>\r\n      <tr></tr>\r\n      </tbody>\r\n   </table>','http://www.pial.net/8x8-dot-matrix-font-generator-based-on-javascript-and-html/','https://printk.tistory.com/48',0,0,1,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 14:54:22',0,'2019-04-26 14:54:22','210.101.103.92','','','','','','','','','','','',''),(278,-278,'',278,0,0,'','','html1','[Arduino] Wizfi210 라이브러이에서 접속시 시리얼출력 메시지 없애기','<table width=\"100%\" cellpadding=\"5\" style=\"font-family: 굴림;\">\r\n   <tbody>\r\n      <tr>\r\n         <td class=\"lh\" height=\"100\" style=\"color: #222222; line-height: 18px; word-break: break-all;\"><span class=\"content\" style=\"color: #404040;\">library\\WizFi2x0\\WizFi2x0.cpp 에서&nbsp;<br />100 ~ 104번째 라인부분...&nbsp;<br />//	Conn_S_Msg,	// 35&nbsp;<br />//	Disconn_S_Msg,	// 36&nbsp;<br />//	PeerIP_Msg,	// 37&nbsp;<br />//	PeerPort_Msg,	// 38</span></td>\r\n         </tr>\r\n      </tbody>\r\n   </table>','','',0,0,1,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 14:54:38',0,'2019-04-26 14:54:38','210.101.103.92','','','','','','','','','','','',''),(279,-279,'',279,0,0,'','','html1','[Arduino] 아두이노에 진동모터 사용하기','<p><span style=\"color: #404040; font-family: 굴림;\">진동 모터를 사용하실때에는 일반 모터 처럼 전압만 인가를 해주면 동작은 하지만 DC모터와 마찬가지고 안에 코일이 들어있기 때문에 정지 시키면 역기 전압이 발생하여 아두이노 오작동의 원인이 될수 있습니다. (잘못하면 망가질수도 있음) 다이오드를 병렬도 잡아 줘야합니다.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">DC모터 제어하듯이 하면 된다. NPN트렌지터를 이용해서 전류를 증폭시켜주면서 제어신호로 조절을 해준다. 참고로 Base의 1K옴 저항은 트렌지스터 Collector와 Emiter사이의 전류의 크기를 조절해주기 위해서 있는 것으로 1K~5k옴 까지 사용은 가능하다 (간단한 이론 설명하자면 Base부분으로 전류가 흘러들러가면 그 전류의 β(베타) 배만큼 증폭되서 C E사이에 전류가 흐르게 된다.)&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">1n4001 다이오드로 역기전압을 막아준다.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">0.1uF은 모터의 스파크를 흡수하는 용도로 사용된다.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">33옴짜리 전항은 선의 전류 조절용으로 달아 놓은것이고 전압이 올라갈수록 흐르는 전류는 낮아진다.&nbsp;</span></p>','','',0,0,2,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 14:55:22',1,'2019-04-26 14:55:22','210.101.103.92','','','','','','','','','','','',''),(280,-280,'',280,0,0,'','','html1','[Arduino] 시리얼 입력값을 int형으로 읽기(int형변환)','<p><span style=\"color: #404040; font-family: 굴림;\">Serial.parseInt() 는 시리얼 모니터에 입력된 값(숫자)를 int 타입으로 변환.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">즉, String형태의 숫자입력값을 Int로 읽어들임.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">예제) DC모터를 pwm으로 출력 조절하기&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">int motorPin = 3;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">void setup() {&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; pinMode(motorPin, OUTPUT);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; Serial.begin(9600);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; while (! Serial);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; Serial.println(\"Speed 0 to 255\");&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">}&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">void loop() {&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; if (Serial.available())&nbsp; {&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; int speed = Serial.parseInt();&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; if (speed &gt;= 0 &amp;&amp; speed &lt;= 255)&nbsp; {&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; &nbsp; analogWrite(motorPin, speed);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; }&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; }&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">}</span></p>','','',0,0,4,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 14:55:33',0,'2019-04-26 14:55:33','210.101.103.92','','','','','','','','','','','',''),(281,-281,'',281,0,0,'','','html1','[ETC] 윈도우 듀얼모니터 등에서 안보이는 곳에 뜬 창 이동시키기','<p><span style=\"color: #404040; font-family: 굴림;\">일단 원하는 창을 선택한 후 키보드의 Alt와 Space를 함께 누릅니다. 그 상태에서 아무것도 건드리지 말고 \'M\' 키를 눌러주면 이동모드가 됩니다.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">역시 이 상태에서 아무것도 만지지 말고 화살표 방향키를 아누거나 하나만 눌러줍니다. 한번만요.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">이제 다 끝났습니다. 마우스를 움직이면 선택된 창이 이동하는 것을 볼 수 있습니다.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">원하는 위치에 가져다 놓고 마우스를 클릭하면 그 위치로 고정됩니다.</span></p>','','',0,0,1,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 14:55:43',0,'2019-04-26 14:55:43','210.101.103.92','','','','','','','','','','','',''),(282,-282,'',282,0,0,'','','html1','[Arduino] LED 저항계산법','<p><span style=\"color: #404040; font-family: 굴림;\">LED종류가 cathod가 공통 GND일athod는 아두이노 신호핀에 연결한다.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">이때 저항값을 계산하기 위해서는&nbsp; V1&nbsp; = 5V(신호핀 V), LED의 전격전류 Vf는 데이터쉬트를 참조하여&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">예) Vf = 2.2V, 정격전류 I = 20mA 라면, LED가 turn On시 전압강하는&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">5 - 2.2 = 2.8V , R = 2.8V / 0.02 = 140옴</span></p>','','',0,0,5,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 14:55:59',0,'2019-04-26 14:55:59','210.101.103.92','','','','','','','','','','','',''),(283,-283,'',283,0,0,'','','html1','[Arduino] DC모터 pwm제어하기','<h3 xmlns=\"http://www.w3.org/1999/xhtml\" id=\"sites-page-title-header\" align=\"left\" style=\"font-size: 1.8em; margin: 0px; padding-left: 10px; padding-right: 10px; color: #444444; background: rgb(255, 255, 255); font-family: Arial, Verdana, sans-serif;\"><span id=\"sites-page-title\" dir=\"ltr\" tabindex=\"-1\" style=\"outline: none;\">[아두이노 강좌] 13. 아두이노를 사용하여 DC모터 제어하기</span></h3>\r\n<div id=\"sites-canvas-main\" class=\"sites-canvas-main\" style=\"background-color: #ffffff; overflow: hidden; min-height: 150px; padding-bottom: 5px; padding-top: 15px; color: #444444; font-family: Arial, Verdana, sans-serif; font-size: 13.3333px;\">\r\n   <div id=\"sites-canvas-main-content\">\r\n      <table xmlns=\"http://www.w3.org/1999/xhtml\" cellspacing=\"0\" class=\"sites-layout-name-one-column sites-layout-hbox\" style=\"width: 969px; table-layout: fixed; margin: 0px;\">\r\n         <tbody>\r\n            <tr>\r\n               <td class=\"sites-layout-tile sites-tile-name-content-1\" style=\"vertical-align: top; padding: 10px;\">\r\n                  <div dir=\"ltr\">\r\n                     <div style=\"padding: 0px 10px 30px; font-size: 14px; line-height: 16px; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; color: #525252;\">\r\n                        <div style=\"padding-bottom: 20px; width: 694px;\">\r\n                           <p style=\"padding: 0px;\">이번 게시물에서는&nbsp;<a href=\"http://vctec.co.kr/front/php/category.php?cate_no=145\" target=\"_blank\" style=\"color: #0033cc;\">아두이노</a>와 트랜지스터를 이용하여 어떻게 작은 DC모터를 제어하는지 설명하겠습니다.</p>\r\n                           </div>\r\n                        <div style=\"padding-bottom: 20px; margin: 0px; width: 694px;\">\r\n                           <div style=\"text-align: center; margin: 0px auto; max-width: 75%;\"><img alt=\"overview.jpg\" src=\"http://vctec.co.kr//web/wiki/arduino/tutorial/dcmotorcontrol/overview.jpg\" width=\"600\" style=\"border-width: 0px; max-width: 100%; height: auto; vertical-align: middle;\" /></div>\r\n                           </div>\r\n                        <div style=\"padding-bottom: 20px; width: 694px;\">\r\n                           <p style=\"padding: 0px;\"><a href=\"http://vctec.co.kr/front/php/category.php?cate_no=145\" target=\"_blank\" style=\"color: #0033cc;\">아두이노</a>&nbsp;아날로그 출력(PWM)을 모터의 속도를 조절하기 위하여 사용할 것입니다. 모터의 속도는&nbsp;<a href=\"http://vctec.co.kr/front/php/category.php?cate_no=145\" target=\"_blank\" style=\"color: #0033cc;\">아두이노</a>&nbsp;IDE상의 시리얼 모티너 프로그램에서 입력되며 0~255의 값을 가집니다.</p>\r\n                           <p style=\"padding: 0px;\">&nbsp;</p>\r\n                           <p style=\"padding: 0px;\">사용하려는 DC 모터입니다.</p>\r\n                           <p style=\"padding: 0px;\">&nbsp;</p>\r\n                           <p style=\"padding: 0px;\"><span style=\"margin: 0px; width: 296px; max-width: 360px;\"><img alt=\"dc_motor.jpg\" src=\"http://vctec.co.kr//web/wiki/arduino/tutorial/dcmotorcontrol/dc_motor.jpg\" style=\"border-width: 0px; max-width: 100%; height: auto; vertical-align: middle;\" /></span></p>\r\n                           <p style=\"padding: 0px;\">&nbsp;</p>\r\n                           <p style=\"padding: 0px;\">사용하려는 PN2222 트랜지스터입니다.</p>\r\n                           <p style=\"padding: 0px;\">&nbsp;</p>\r\n                           <p style=\"padding: 0px;\"><span style=\"margin: 0px; width: 296px; max-width: 360px;\"><img alt=\"transistor.jpg\" src=\"http://vctec.co.kr//web/wiki/arduino/tutorial/dcmotorcontrol/transistor.jpg\" style=\"border-width: 0px; max-width: 100%; height: auto; vertical-align: middle;\" /></span></p>\r\n                           <p style=\"padding: 0px;\">&nbsp;</p>\r\n                           <p style=\"padding: 0px;\">사용되는 다이오드 1N4001입니다.</p>\r\n                           <p style=\"padding: 0px;\"><img alt=\"\" src=\"http://vctec.co.kr//web/wiki/arduino/tutorial/dcmotorcontrol/diode.jpg\" /></p>\r\n                           <p style=\"padding: 0px;\">&nbsp;</p>\r\n                           <p style=\"padding: 0px;\">저항은 270오옴이 사용되었습니다.</p>\r\n                           </div>\r\n                        </div>\r\n                     <h1 style=\"border-bottom: 1px solid rgb(231, 231, 231); padding-bottom: 0px; margin: 0px 0px 5px; width: 714px; display: inline-block; font-size: 20px; line-height: 40px; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; color: #525252;\"><a name=\"TOC--\" style=\"color: #0033cc; text-decoration-line: underline;\"></a><span style=\"padding-left: 10px; max-width: 65%; float: left;\">브레드보드 레이아웃</span></h1>\r\n                     <div style=\"padding: 0px 10px 30px; font-size: 14px; line-height: 16px; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; color: #525252;\">\r\n                        <div style=\"padding-bottom: 20px; width: 694px;\">\r\n                           <p style=\"padding: 0px 0px 10px;\">브레드보드를 아래와 같이 셋업합니다. 셋업시 두가지를 살펴보아야 하는데, 첫번째로 트랜지스터가 올바르게 연결되어 있는지 확인하여야 합니다. 트랜지스터의 평평한 면이 블레드보드 오르쪽으로 오게 만들어야 합니다.</p>\r\n                           <p style=\"padding: 0px 0px 10px;\">두번째로 다이오드의 줄무늬가 5V전원쪽으로 위치하여야 합니다.</p>\r\n                           </div>\r\n                        <div style=\"width: 694px;\">\r\n                           <div style=\"border-width: 1px; border-style: solid; border-color: #eed3d7; padding: 8px 35px 8px 40px; background-color: #f2dede; margin-bottom: 20px; color: #b94a48; border-radius: 0px;\">사용하는 모터가 250mA이상의 전류를 소비한다면, 이것은 USB포트가 공급할 수 있는 범위가 넘서 설수 있기 때문에 USB포트 대신 전원어댑터를&nbsp;<a href=\"http://vctec.co.kr/front/php/category.php?cate_no=145\" target=\"_blank\" style=\"color: #0033cc;\">아두이노</a>에 연결하여야 합니다.</div>\r\n                           </div>\r\n                        <div style=\"padding-bottom: 20px; margin: 0px; width: 694px;\">\r\n                           <div style=\"text-align: center; margin: 0px auto; max-width: 75%;\"><span style=\"margin: 0px auto; max-width: 75%;\"><img alt=\"breadboard.jpg\" src=\"http://vctec.co.kr//web/wiki/arduino/tutorial/dcmotorcontrol/breadboard.jpg\" width=\"600\" style=\"border-width: 0px; max-width: 100%; height: auto; vertical-align: middle;\" /></span></div>\r\n                           </div>\r\n                        <div style=\"padding-bottom: 20px; width: 694px;\">\r\n                           <p style=\"padding: 0px;\">위의 그림과 같이 브레드보드를 셋업합니다.</p>\r\n                           </div>\r\n                        </div>\r\n                     <h1 style=\"border-bottom: 1px solid rgb(231, 231, 231); padding-bottom: 0px; margin: 0px 0px 5px; width: 714px; display: inline-block; font-size: 20px; line-height: 40px; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; color: #525252;\"><a name=\"TOC--1\" style=\"color: #0033cc; text-decoration-line: underline;\"></a><span style=\"padding-left: 10px; max-width: 65%; float: left;\"><a href=\"http://vctec.co.kr/front/php/category.php?cate_no=145\" target=\"_blank\" style=\"color: #0033cc;\">아두이노</a>&nbsp;코드</span></h1>\r\n                     <div style=\"padding: 0px 10px 30px; font-size: 14px; line-height: 16px; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; color: #525252;\">\r\n                        <div style=\"padding-bottom: 20px; width: 694px;\">\r\n                           <p style=\"padding: 0px;\">아래의 코드를&nbsp;<a href=\"http://vctec.co.kr/front/php/category.php?cate_no=145\" target=\"_blank\" style=\"color: #0033cc;\">아두이노</a>에 업로드 합니다.</p>\r\n                           </div>\r\n                        <div>\r\n                           <ol style=\"list-style-type: none; padding: 0px; margin: 0px; font-size: 13px; line-height: 15px; font-family: Consolas, Monaco, &quot;Lucida Console&quot;, &quot;Liberation Mono&quot;, &quot;DejaVu Sans Mono&quot;, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, monospace; white-space: pre; color: #333333;\">\r\n                              <li style=\"line-height: 18px; padding-left: 0px; color: #bebec5;\"><span style=\"color: #1e347b;\">int</span><span style=\"color: #48484c;\"> motorPin </span><span style=\"color: #93a1a1;\">=</span><span style=\"color: #48484c;\"></span><span style=\"color: #195f91;\">3</span><span style=\"color: #93a1a1;\">;</span></li>\r\n                              <li style=\"line-height: 18px; padding-left: 0px; color: #bebec5;\"></li>\r\n                              <li style=\"line-height: 18px; padding-left: 0px; color: #bebec5;\"><span style=\"color: #1e347b;\">void</span><span style=\"color: #48484c;\"> setup</span><span style=\"color: #93a1a1;\">()</span><span style=\"color: #48484c;\"></span></li>\r\n                              <li style=\"line-height: 18px; padding-left: 0px; color: #bebec5;\"><span style=\"color: #93a1a1;\">{</span><span style=\"color: #48484c;\"></span></li>\r\n                              <li style=\"line-height: 18px; padding-left: 0px; color: #bebec5;\"><span style=\"color: #48484c;\"><span style=\"color: teal;\"><span style=\"color: #48484c;\"></span></span>    pinMode</span><span style=\"color: #93a1a1;\">(</span><span style=\"color: #48484c;\">motorPin</span><span style=\"color: #93a1a1;\">,</span><span style=\"color: #48484c;\"> OUTPUT</span><span style=\"color: #93a1a1;\">);</span></li>\r\n                              <li style=\"line-height: 18px; padding-left: 0px; color: #bebec5;\"><span style=\"color: teal;\"><span style=\"color: #48484c;\"></span>Serial</span><span style=\"color: #93a1a1;\">.</span><span style=\"color: #1e347b;\">begin</span><span style=\"color: #93a1a1;\">(</span><span style=\"color: #195f91;\">9600</span><span style=\"color: #93a1a1;\">);</span></li>\r\n                              <li style=\"line-height: 18px; padding-left: 0px; color: #bebec5;\"><span style=\"color: #1e347b;\"><span style=\"color: teal;\"><span style=\"color: #48484c;\"></span></span>while</span><span style=\"color: #48484c;\"></span><span style=\"color: #93a1a1;\">(!</span><span style=\"color: #48484c;\"></span><span style=\"color: teal;\">Serial</span><span style=\"color: #93a1a1;\">);</span></li>\r\n                              <li style=\"line-height: 18px; padding-left: 0px; color: #bebec5;\"><span style=\"color: teal;\"><span style=\"color: #48484c;\"></span>Serial</span><span style=\"color: #93a1a1;\">.</span><span style=\"color: #48484c;\">println</span><span style=\"color: #93a1a1;\">(</span><span style=\"color: #dd1144;\">\"Speed 0 to 255\"</span><span style=\"color: #93a1a1;\">);</span></li>\r\n                              <li style=\"line-height: 18px; padding-left: 0px; color: #bebec5;\"><span style=\"color: #93a1a1;\">}</span><span style=\"color: #48484c;\"></span></li>\r\n                              <li style=\"line-height: 18px; padding-left: 0px; color: #bebec5;\"></li>\r\n                              <li style=\"line-height: 18px; padding-left: 0px; color: #bebec5;\"></li>\r\n                              <li style=\"line-height: 18px; padding-left: 0px; color: #bebec5;\"><span style=\"color: #1e347b;\">void</span><span style=\"color: #48484c;\"> loop</span><span style=\"color: #93a1a1;\">()</span><span style=\"color: #48484c;\"></span></li>\r\n                              <li style=\"line-height: 18px; padding-left: 0px; color: #bebec5;\"><span style=\"color: #93a1a1;\">{</span><span style=\"color: #48484c;\"></span></li>\r\n                              <li style=\"line-height: 18px; padding-left: 0px; color: #bebec5;\"><span style=\"color: #1e347b;\"><span style=\"color: teal;\"><span style=\"color: #48484c;\"></span></span>if</span><span style=\"color: #48484c;\"></span><span style=\"color: #93a1a1;\">(</span><span style=\"color: teal;\">Serial</span><span style=\"color: #93a1a1;\">.</span><span style=\"color: #48484c;\">available</span><span style=\"color: #93a1a1;\">())</span></li>\r\n                              <li style=\"line-height: 18px; padding-left: 0px; color: #bebec5;\"><span style=\"color: #93a1a1;\"><span style=\"color: teal;\"><span style=\"color: #48484c;\"></span></span>{</span></li>\r\n                              <li style=\"line-height: 18px; padding-left: 0px; color: #bebec5;\"><span style=\"color: #1e347b;\"><span style=\"color: teal;\"><span style=\"color: #48484c;\"><span style=\"color: teal;\"><span style=\"color: #48484c;\"></span></span></span></span>int</span><span style=\"color: #48484c;\"> speed </span><span style=\"color: #93a1a1;\">=</span><span style=\"color: #48484c;\"></span><span style=\"color: teal;\">Serial</span><span style=\"color: #93a1a1;\">.</span><span style=\"color: #48484c;\">parseInt</span><span style=\"color: #93a1a1;\">();</span></li>\r\n                              <li style=\"line-height: 18px; padding-left: 0px; color: #bebec5;\"><span style=\"color: #1e347b;\"><span style=\"color: teal;\"><span style=\"color: #48484c;\"><span style=\"color: teal;\"><span style=\"color: #48484c;\"></span></span></span></span>if</span><span style=\"color: #48484c;\"></span><span style=\"color: #93a1a1;\">(</span><span style=\"color: #48484c;\">speed </span><span style=\"color: #93a1a1;\">&gt;=</span><span style=\"color: #48484c;\"></span><span style=\"color: #195f91;\">0</span><span style=\"color: #48484c;\"></span><span style=\"color: #93a1a1;\">&amp;&amp;</span><span style=\"color: #48484c;\"> speed </span><span style=\"color: #93a1a1;\">&lt;=</span><span style=\"color: #48484c;\"></span><span style=\"color: #195f91;\">255</span><span style=\"color: #93a1a1;\">)</span></li>\r\n                              <li style=\"line-height: 18px; padding-left: 0px; color: #bebec5;\"><span style=\"color: #93a1a1;\"><span style=\"color: teal;\"><span style=\"color: #48484c;\"><span style=\"color: teal;\"><span style=\"color: #48484c;\"></span></span></span></span>{</span></li>\r\n                              <li style=\"line-height: 18px; padding-left: 0px; color: #bebec5;\"><span style=\"color: #48484c;\"><span style=\"color: teal;\"><span style=\"color: #48484c;\"><span style=\"color: teal;\"><span style=\"color: #48484c;\"><span style=\"color: teal;\"><span style=\"color: #48484c;\"></span></span></span></span></span></span>analogWrite</span><span style=\"color: #93a1a1;\">(</span><span style=\"color: #48484c;\">motorPin</span><span style=\"color: #93a1a1;\">,</span><span style=\"color: #48484c;\"> speed</span><span style=\"color: #93a1a1;\">);</span></li>\r\n                              <li style=\"line-height: 18px; padding-left: 0px; color: #bebec5;\"><span style=\"color: #93a1a1;\"><span style=\"color: teal;\"><span style=\"color: #48484c;\"><span style=\"color: teal;\"><span style=\"color: #48484c;\"></span></span></span></span>}</span></li>\r\n                              <li style=\"line-height: 18px; padding-left: 0px; color: #bebec5;\"><span style=\"color: #93a1a1;\"><span style=\"color: teal;\"><span style=\"color: #48484c;\"></span></span>}</span></li>\r\n                              <li style=\"line-height: 18px; padding-left: 0px; color: #bebec5;\"><span style=\"color: #93a1a1;\">}</span><span style=\"color: #48484c;\"></span></li>\r\n                              <li style=\"line-height: 18px; padding-left: 0px; color: #bebec5;\"></li>\r\n                              </ol>\r\n                           </div>\r\n                        <div style=\"padding-bottom: 20px; width: 694px;\">\r\n                           <p style=\"padding: 0px 0px 10px;\">트랜지스터는 스위치처럼 동작하여 모터로 가는 전력을 제어합니다.&nbsp;<a href=\"http://vctec.co.kr/front/php/category.php?cate_no=145\" target=\"_blank\" style=\"color: #0033cc;\">아두이노</a>&nbsp;핀3번이 트랜지스터를 on/off하는데 사용되어 motorPin이라고 스케치에서 명명되었습니다.</p>\r\n                           <p style=\"padding: 0px 0px 10px;\">스케치가 시작하면 시리얼 모니터에 제어하고 싶은 모터의 속도를 입력하라는 메세지가 뜨게 됩니다. 입력할 수 있는 값은 0에서 255까지 입니다.</p>\r\n                           </div>\r\n                        <div style=\"padding-bottom: 20px; margin: 0px; width: 694px;\">\r\n                           <div style=\"text-align: center; margin: 0px auto; max-width: 75%;\"><img alt=\"serial_monitor.jpg\" src=\"http://vctec.co.kr//web/wiki/arduino/tutorial/dcmotorcontrol/serial_monitor.jpg\" style=\"border-width: 0px; max-width: 100%; height: auto; vertical-align: middle;\" /></div>\r\n                           </div>\r\n                        <div style=\"padding-bottom: 20px; width: 694px;\">\r\n                           <p style=\"padding: 0px 0px 10px;\">loop함수에서는 Serial.parseInt함수가 시리얼 모니터에 입력된 숫자를 스트링형태로 읽어 int 타입으로 변환합니다. 시리얼 모니터창에는 아무 숫자나 입력하여도 loop함수내의 if문에서 0~255사이의 값만 analogwrite합니다.</p>\r\n                           </div>\r\n                        </div>\r\n                     <h1 style=\"border-bottom: 1px solid rgb(231, 231, 231); padding-bottom: 0px; margin: 0px 0px 5px; width: 714px; display: inline-block; font-size: 20px; line-height: 40px; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; color: #525252;\"><a name=\"TOC--2\" style=\"color: #0033cc; text-decoration-line: underline;\"></a><span style=\"padding-left: 10px; max-width: 65%; float: left;\">트랜지스터</span></h1>\r\n                     <div style=\"padding: 0px 10px 30px; font-size: 14px; line-height: 16px; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; color: #525252;\">\r\n                        <div style=\"padding-bottom: 20px; width: 694px;\">\r\n                           <p style=\"padding: 0px 0px 10px;\">DC모터는 보통&nbsp;<a href=\"http://vctec.co.kr/front/php/category.php?cate_no=145\" target=\"_blank\" style=\"color: #0033cc;\">아두이노</a>&nbsp;디지털 출력 핀보다 더 많은 전력을 사용하기 때문에 직접적으로 제어를 합니다. 만약 모터를&nbsp;<a href=\"http://vctec.co.kr/front/php/category.php?cate_no=145\" target=\"_blank\" style=\"color: #0033cc;\">아두이노</a>&nbsp;핀에 직접 연결한다면&nbsp;<a href=\"http://vctec.co.kr/front/php/category.php?cate_no=145\" target=\"_blank\" style=\"color: #0033cc;\">아두이노</a>&nbsp;보드가 손상 받을 확률이 농후 합니다.</p>\r\n                           <p style=\"padding: 0px 0px 10px;\">PN2222와 같은 트랜지스터는&nbsp;<a href=\"http://vctec.co.kr/front/php/category.php?cate_no=145\" target=\"_blank\" style=\"color: #0033cc;\">아두이노</a>의 디지털 핀에서 나오는 작은 전류를 사용하여 동작이 될 수 있기 때문에 , 스위치로 사용하여 모터와 같이 부하가 많이 걸리는 부품을 제어할 수 있습니다.</p>\r\n                           </div>\r\n                        <div style=\"padding-bottom: 20px; margin: 0px; width: 694px;\">\r\n                           <div style=\"text-align: center; margin: 0px auto; max-width: 75%;\"><img alt=\"transistor.png\" src=\"http://vctec.co.kr//web/wiki/arduino/tutorial/dcmotorcontrol/transistor.png\" width=\"600\" style=\"border-width: 0px; max-width: 100%; height: auto; vertical-align: middle;\" /></div>\r\n                           </div>\r\n                        <div style=\"padding-bottom: 20px; width: 694px;\">\r\n                           <p style=\"padding: 0px 0px 10px;\">트랜지스터는 3개의 다리가 있습니다. 작은 양의 전류를 베이스로 흘려보내면 전기는 콜렉터에서 에미터로 흐르게 됩니다. 베이스에 흘려 보낼 작은 전류는&nbsp;<a href=\"http://vctec.co.kr/front/php/category.php?cate_no=145\" target=\"_blank\" style=\"color: #0033cc;\">아두이노</a>&nbsp;디지털 출력으로 가능합니다.</p>\r\n                           </div>\r\n                        <div style=\"padding-bottom: 20px; margin: 0px; width: 694px;\">\r\n                           <div style=\"text-align: center; margin: 0px auto; max-width: 75%;\"><img alt=\"schematic.jpg\" src=\"http://vctec.co.kr//web/wiki/arduino/tutorial/dcmotorcontrol/schematic.jpg\" width=\"600\" style=\"border-width: 0px; max-width: 100%; height: auto; vertical-align: middle;\" /></div>\r\n                           </div>\r\n                        <div style=\"padding-bottom: 20px; width: 694px;\">\r\n                           <p style=\"padding: 0px 0px 10px;\">위의 회로도를 보면&nbsp;<a href=\"http://vctec.co.kr/front/php/category.php?cate_no=145\" target=\"_blank\" style=\"color: #0033cc;\">아두이노</a>의 D3핀이 저항을 통하여 트랜지스터의 베이스로 연결되어 있습니다. 저항은 트랜지스터에 과도한 전류가 들어가 트랜지스터가 망가지는 것을 방지하여 주는 역활을 합니다.</p>\r\n                           <p style=\"padding: 10px 0px;\">모터쪽에는 다이오드가 연결되어 있습니다. 다이오는는 전기가 한방향으로만 흐르도록 만들어주는 부품입니다. 모터를 끌때, 음극 전압 스파이크가 생기고 이것은&nbsp;<a href=\"http://vctec.co.kr/front/php/category.php?cate_no=145\" target=\"_blank\" style=\"color: #0033cc;\">아두이노</a>나 트랜지스터를 망가트릴 수 있습니다. 다이오드는 모터로부터 꺼꾸로 흐르는 전류로부터 트랜지스터와 모터를 보호합니다.&nbsp;</p>\r\n                           </div>\r\n                        </div>\r\n                     </div>\r\n                  </td>\r\n               </tr>\r\n            </tbody>\r\n         </table>\r\n      </div>\r\n   </div>','http://wiki.vctec.co.kr/opensource/arduino/dcmotorcontrol','',0,0,2,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 14:56:25',0,'2019-04-26 14:56:25','210.101.103.92','','','','','','','','','','','',''),(284,-284,'',284,0,0,'','','html1','[Arduino] 문자열 입력과 문자열 자르기(split)','<p><span style=\"color: #404040; font-family: 굴림;\">* 문자열 입력 :&nbsp;</span><a href=\"http://blog.danggun.net/1769\" target=\"_new\" style=\"text-decoration-line: none; color: #3a4e40; font-family: 굴림;\">http://blog.danggun.net/1769</a><span style=\"color: #404040; font-family: 굴림;\">&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">* 문자열 자르기(split) :&nbsp;</span><a href=\"http://blog.danggun.net/2064\" target=\"_new\" style=\"text-decoration-line: none; color: #3a4e40; font-family: 굴림;\">http://blog.danggun.net/2064</a><span style=\"color: #404040; font-family: 굴림;\">&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">일단 문자열로 컨트롤 할만한 데이터로 바꿔야 하니까 RGB를 웹에서 처럼 0~255까지 값을 이용하여 밝기를 조절해 봅시다.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">입력데이터는 \'255255255\' 이런 형태로 RGB값을 3자리씩 총 9자리를 받아 밝기를 조절하는 것입니다.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">#define LED_R 6&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">#define LED_G 5&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">#define LED_B 3&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">//한바이트 데이터를 임시 저장&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">char cTemp;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">//완성된 명령어&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">String sCommand = \"\";&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">String sTemp = \"\";&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">void setup()&nbsp; {&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; pinMode(LED_R, OUTPUT);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; pinMode(LED_G, OUTPUT);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; pinMode(LED_B, OUTPUT);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">}&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">void loop()&nbsp; {&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; sCommand = \"\";&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; while(Serial.available())&nbsp; {&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; cTemp = Serial.read();&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; sCommand.concat(cTemp);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; }&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; //완성된 데이터가 있는지 확인 한다.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; if(sCommand != \"\" )&nbsp; {&nbsp; &nbsp; //완성된 데이터가 있다.&nbsp; &nbsp;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; char cTempData[4];&nbsp; &nbsp;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; sCommand.substring(0, 3).toCharArray(cTempData, 4);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; int nR = atoi(cTempData);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; sCommand.substring(3, 6).toCharArray(cTempData, 4);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; int nG = atoi(cTempData);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; sCommand.substring(6, 9).toCharArray(cTempData, 4);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; int nB = atoi(cTempData);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; digitalWrite(LED_R, nR);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; digitalWrite(LED_G, nG);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; digitalWrite(LED_B, nB);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; Serial.println(sCommand + \":\" + nR + \",\" + nG + \",\" + nB );&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; }&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; delay(100);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">}&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">----------------------------------------------------------------------&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">스플릿을 구현하는 방법은 간단합니다.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">한 문자씩 검사를 한다음 구분용 문자가 나오면 잘라내고 그 이후부터 다시 검사를 합니다.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">이 과정을 반복하여 구분자를 잘라 냅니다.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">문제는 언어마다 이 과정이 약간씩 다를 수 있다는 점입니다.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">아두이노에서는 \'indexOf\'로 구분자의 위치를 찾은 다음 \'substring\'으로 문자열을 잘라내고 그 과정을 반복 합니다.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp;void Split(String sData, char cSeparator) {	</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">int nCount = 0;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">int nGetIndex = 0 ;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">//임시저장&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">String sTemp = \"\";&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">//원본 복사&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">String sCopy = sData;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">while(true)	{&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">//구분자 찾기&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">nGetIndex = sCopy.indexOf(cSeparator);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">//리턴된 인덱스가 있나?&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">if(-1 != nGetIndex) {&nbsp; //있다.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">//데이터 넣고&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">sTemp = sCopy.substring(0, nGetIndex);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">Serial.println( sTemp );&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">//뺀 데이터 만큼 잘라낸다.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">sCopy = sCopy.substring(nGetIndex + 1);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">} else {&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">//없으면 마무리 한다.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">Serial.println( sCopy );&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">break;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">}&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">//다음 문자로~&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">++nCount;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">}&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">}&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">사용은, Split(\"[원본]\", \"[구분자]\"); 입니다.</span></p>','https://blog.danggun.net/1769','https://blog.danggun.net/2064',0,0,1,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 14:56:56',0,'2019-04-26 14:56:56','210.101.103.92','','','','','','','','','','','',''),(285,-285,'',285,0,0,'','','html1','[Arduino] 배터리 충전보드 설명 그림','<p style=\"list-style: none; padding: 0px; font-family: 굴림, gulim, tahoma, sans-serif; line-height: 19px; background-color: #ffffff; overflow-wrap: normal; color: #474747; word-break: normal;\"><b><span style=\"line-height: 1.6; background-color: transparent; font-size: 11pt;\">1.&nbsp;</span><span style=\"line-height: 1.6; background-color: transparent; font-size: 11pt;\">휴대폰 배터리 재활용이 쉽지 않죠?</span></b><br /></p>\r\n<p style=\"list-style: none; padding: 0px; font-family: 굴림, gulim, tahoma, sans-serif; line-height: 19px; background-color: #ffffff; overflow-wrap: normal; color: #474747; word-break: normal;\"><span style=\"line-height: 1.6; background-color: transparent; font-size: 9pt;\"><br /></span></p>\r\n<p style=\"list-style: none; padding: 0px; font-family: 굴림, gulim, tahoma, sans-serif; line-height: 19px; background-color: #ffffff; overflow-wrap: normal; color: #474747; word-break: normal;\"><span style=\"line-height: 1.6; background-color: transparent; font-size: 11pt;\">리튬이온 또는 리튬폴리머 전지 1셀로 구성된 휴대폰 배터리는&nbsp;</span><span style=\"line-height: 1.6; background-color: transparent; font-size: 11pt;\">여러모로 쓸모가 많습니다.&nbsp;</span></p>\r\n<p style=\"list-style: none; padding: 0px; font-family: 굴림, gulim, tahoma, sans-serif; line-height: 19px; background-color: #ffffff; overflow-wrap: normal; color: #474747; word-break: normal;\"><span style=\"line-height: 1.6; background-color: transparent; font-size: 11pt;\">하지만, 막상 사용하려면 &nbsp;마땅한 충전장치를 구하기 어려워서 사용하기 힘든 경우가 많습니다.</span></p>\r\n<p style=\"list-style: none; padding: 0px; font-family: 굴림, gulim, tahoma, sans-serif; line-height: 19px; background-color: #ffffff; overflow-wrap: normal; color: #474747; word-break: normal;\"><br /></p>\r\n<p style=\"list-style: none; padding: 0px; font-family: 굴림, gulim, tahoma, sans-serif; line-height: 19px; background-color: #ffffff; overflow-wrap: normal; color: #474747; word-break: normal;\"><span style=\"line-height: 1.6; background-color: transparent; font-size: 11pt;\">물론, 주위에 사용하지 않는 휴대폰용 충전지와 충전트레이를 쉽게 찾을수 있지만</span></p>\r\n<p style=\"list-style: none; padding: 0px; font-family: 굴림, gulim, tahoma, sans-serif; line-height: 19px; background-color: #ffffff; overflow-wrap: normal; color: #474747; word-break: normal;\"><span style=\"line-height: 1.6; background-color: transparent; font-size: 11pt;\">크기, 연결단자등이 배터리와 맞지 않는 경우가 대부분이고,</span></p>\r\n<p style=\"list-style: none; padding: 0px; font-family: 굴림, gulim, tahoma, sans-serif; line-height: 19px; background-color: #ffffff; overflow-wrap: normal; color: #474747; word-break: normal;\"><span style=\"line-height: 1.6; background-color: transparent; font-size: 11pt;\">납땜해서 배터리와 연결하는 것도 여간 번거로운게 아닙니다. &nbsp;</span></p>\r\n<p style=\"list-style: none; padding: 0px; font-family: 굴림, gulim, tahoma, sans-serif; line-height: 19px; background-color: #ffffff; overflow-wrap: normal; color: #474747; word-break: normal;\"><span style=\"line-height: 1.6; background-color: transparent; font-size: 9pt;\"><br /></span></p>\r\n<p style=\"list-style: none; padding: 0px; font-family: 굴림, gulim, tahoma, sans-serif; line-height: 19px; background-color: #ffffff; overflow-wrap: normal; color: #474747; word-break: normal;\"><span style=\"line-height: 1.6; background-color: transparent; font-size: 9pt;\"><span style=\"font-size: 11pt;\">1$정도의 저렴한 가격으로 구입할 수 있는 TP4056</span><span style=\"font-size: 11pt;\">&nbsp;충전모듈을 이용하면&nbsp;</span></span></p>\r\n<p style=\"list-style: none; padding: 0px; font-family: 굴림, gulim, tahoma, sans-serif; line-height: 19px; background-color: #ffffff; overflow-wrap: normal; color: #474747; word-break: normal;\"><span style=\"line-height: 1.6; background-color: transparent; font-size: 11pt;\">이런 문제점을 쉽게 해결할 수 있습니다.</span></p>\r\n<p style=\"list-style: none; padding: 0px; font-family: 굴림, gulim, tahoma, sans-serif; line-height: 19px; background-color: #ffffff; overflow-wrap: normal; color: #474747; word-break: normal;\"><span style=\"line-height: 1.6; background-color: transparent; font-size: 9pt;\"><br /></span></p>\r\n<p style=\"list-style: none; padding: 0px; font-family: 굴림, gulim, tahoma, sans-serif; line-height: 19px; background-color: #ffffff; overflow-wrap: normal; color: #474747; word-break: normal;\"><span style=\"line-height: 1.6; background-color: transparent; font-size: 11pt;\"><b>2. TP4056충전모듈</b></span></p>\r\n<p style=\"list-style: none; padding: 0px; font-family: 굴림, gulim, tahoma, sans-serif; line-height: 19px; background-color: #ffffff; overflow-wrap: normal; color: #474747; word-break: normal;\"><span style=\"line-height: 1.6; background-color: transparent; font-size: 9pt;\"><br /></span></p>\r\n<p style=\"list-style: none; padding: 0px; font-family: 굴림, gulim, tahoma, sans-serif; line-height: 19px; background-color: #ffffff; overflow-wrap: normal; color: #474747; word-break: normal;\"><span style=\"line-height: 1.6; background-color: transparent; font-size: 9pt;\"><span style=\"font-size: 11pt;\">이 충전모듈에 사용가능한&nbsp;</span><span style=\"font-size: 11pt;\">전원전압의 범위는 4.5V ~ 5.5V 입니다.&nbsp;</span></span></p>\r\n<p style=\"list-style: none; padding: 0px; font-family: 굴림, gulim, tahoma, sans-serif; line-height: 19px; background-color: #ffffff; overflow-wrap: normal; color: #474747; word-break: normal;\"><span style=\"line-height: 1.6; background-color: transparent; font-size: 11pt;\">USB케이블을 이용하여 PC와 연결하여 사용하면 5V가 공급되므로 편리합니다.</span></p>\r\n<p style=\"list-style: none; padding: 0px; font-family: 굴림, gulim, tahoma, sans-serif; line-height: 19px; background-color: #ffffff; overflow-wrap: normal; color: #474747; word-break: normal;\"><span style=\"line-height: 1.6; background-color: transparent; font-size: 11pt;\">외부 전원을 사용할 경우는 전원전압이 이 범위를 넘지 않도록 주의해야 합니다.&nbsp;</span></p>\r\n<p style=\"list-style: none; padding: 0px; font-family: 굴림, gulim, tahoma, sans-serif; line-height: 19px; background-color: #ffffff; overflow-wrap: normal; color: #474747; word-break: normal;\"><span style=\"line-height: 1.6; background-color: transparent; font-size: 9pt;\"><br /></span></p>\r\n<p style=\"list-style: none; padding: 0px; font-family: 굴림, gulim, tahoma, sans-serif; line-height: 19px; background-color: #ffffff; overflow-wrap: normal; color: #474747; word-break: normal;\"><span style=\"font-size: 11pt;\">이 충전모듈은 최대 충전전류가 1A로 설정되어 있습니다.&nbsp;</span></p>\r\n<p style=\"list-style: none; padding: 0px; font-family: 굴림, gulim, tahoma, sans-serif; line-height: 19px; background-color: #ffffff; overflow-wrap: normal; color: #474747; word-break: normal;\"><span style=\"font-size: 11pt;\">1,2K 짜리 칩저항을&nbsp;다른 것으로&nbsp;</span><span style=\"font-size: 11pt;\">교체하면 최대 충전전류를 조절할 수 있습니다.</span></p>\r\n<p style=\"list-style: none; padding: 0px; font-family: 굴림, gulim, tahoma, sans-serif; text-align: center; line-height: 19px; background-color: #ffffff; overflow-wrap: normal; color: #474747; word-break: normal;\"><img src=\"https://cafeptthumb-phinf.pstatic.net/20140820_106/inkni_1408478056906q7txj_JPEG/tp4056_md.jpg?type=w740\" id=\"userImg1083970\" name=\"cafeuserimg\" style=\"border: none; width: 640px; height: 464px;\" /><br /></p>\r\n<p style=\"list-style: none; padding: 0px; font-family: 굴림, gulim, tahoma, sans-serif; line-height: 19px; background-color: #ffffff; overflow-wrap: normal; color: #474747; word-break: normal;\"><span style=\"font-size: 11pt;\"><b>3. 충전실험 결과</b></span></p>\r\n<p style=\"list-style: none; padding: 0px; font-family: 굴림, gulim, tahoma, sans-serif; line-height: 19px; background-color: #ffffff; overflow-wrap: normal; color: #474747; word-break: normal;\"><br /></p>\r\n<p style=\"list-style: none; padding: 0px; font-family: 굴림, gulim, tahoma, sans-serif; line-height: 19px; background-color: #ffffff; overflow-wrap: normal; color: #474747; word-break: normal;\"><span style=\"font-size: 11pt;\">오래동안 방치한 휴대폰용 충전배터리의 전압을 측정했더니&nbsp;</span></p>\r\n<p style=\"list-style: none; padding: 0px; font-family: 굴림, gulim, tahoma, sans-serif; line-height: 19px; background-color: #ffffff; overflow-wrap: normal; color: #474747; word-break: normal;\"><span style=\"line-height: 1.6; background-color: transparent; font-size: 9pt;\"><span style=\"font-size: 11pt;\">전지 내부에 있는 보호 회로가 작동하여 0V가 측정됩니다.&nbsp;</span><span style=\"font-size: 11pt;\">&nbsp;</span></span></p>\r\n<p style=\"list-style: none; padding: 0px; font-family: 굴림, gulim, tahoma, sans-serif; line-height: 19px; background-color: #ffffff; overflow-wrap: normal; color: #474747; word-break: normal;\"><img src=\"https://cafeptthumb-phinf.pstatic.net/20140820_167/inkni_1408534579468LJqkF_JPEG/litIMG_9452.jpg?type=w740\" id=\"userImg878652\" name=\"cafeuserimg\" style=\"border: none; width: 600px; height: 487px;\" /><br /></p>\r\n<p style=\"list-style: none; padding: 0px; font-family: 굴림, gulim, tahoma, sans-serif; text-align: center; line-height: 19px; background-color: #ffffff; overflow-wrap: normal; color: #474747; word-break: normal;\">&nbsp;</p>\r\n<p style=\"list-style: none; padding: 0px; font-family: 굴림, gulim, tahoma, sans-serif; line-height: 19px; background-color: #ffffff; overflow-wrap: normal; color: #474747; word-break: normal;\">&nbsp;</p>\r\n<p style=\"list-style: none; padding: 0px; font-family: 굴림, gulim, tahoma, sans-serif; line-height: 19px; background-color: #ffffff; overflow-wrap: normal; color: #474747; word-break: normal;\"><span style=\"font-size: 11pt;\"><br /></span></p>\r\n<p style=\"list-style: none; padding: 0px; font-family: 굴림, gulim, tahoma, sans-serif; line-height: 19px; background-color: #ffffff; overflow-wrap: normal; color: #474747; word-break: normal;\"><span style=\"font-size: 11pt;\">이 배터리에는 정확한 규격 표시가 되어 있지 않지만&nbsp;</span></p>\r\n<p style=\"list-style: none; padding: 0px; font-family: 굴림, gulim, tahoma, sans-serif; line-height: 19px; background-color: #ffffff; overflow-wrap: normal; color: #474747; word-break: normal;\"><span style=\"font-size: 11pt;\">슬림형 배터리므로 공칭전압 3.7V &nbsp;전류용량은 800mAh 정도될 것으로 추측됩니다.</span></p>\r\n<p style=\"list-style: none; padding: 0px; font-family: 굴림, gulim, tahoma, sans-serif; line-height: 19px; background-color: #ffffff; overflow-wrap: normal; color: #474747; word-break: normal;\"><span style=\"font-size: 11pt;\">아마, 표준형 배터리는 1Ah 전후일 겁니다.&nbsp;</span></p>\r\n<p style=\"list-style: none; padding: 0px; font-family: 굴림, gulim, tahoma, sans-serif; line-height: 19px; background-color: #ffffff; overflow-wrap: normal; color: #474747; word-break: normal;\"><span style=\"font-size: 11pt;\"><br /></span></p>\r\n<p style=\"list-style: none; padding: 0px; font-family: 굴림, gulim, tahoma, sans-serif; line-height: 19px; background-color: #ffffff; overflow-wrap: normal; color: #474747; word-break: normal;\"><span style=\"font-size: 15px;\">충전시,&nbsp;</span><span style=\"font-size: 11pt;\">최대 충전전류는 전지용량의 1/2 정도가 적당합니다.&nbsp;</span></p>\r\n<p style=\"list-style: none; padding: 0px; font-family: 굴림, gulim, tahoma, sans-serif; line-height: 19px; background-color: #ffffff; overflow-wrap: normal; color: #474747; word-break: normal;\"><span style=\"font-size: 11pt;\">충전전류가 너무 크면 배터리 수명이 짧아질 우려가 있고,</span></p>\r\n<p style=\"list-style: none; padding: 0px; font-family: 굴림, gulim, tahoma, sans-serif; line-height: 19px; background-color: #ffffff; overflow-wrap: normal; color: #474747; word-break: normal;\"><span style=\"font-size: 11pt;\">너무 작으면 충전시간이 길어지게 됩니다.&nbsp;</span></p>\r\n<p style=\"list-style: none; padding: 0px; font-family: 굴림, gulim, tahoma, sans-serif; line-height: 19px; background-color: #ffffff; overflow-wrap: normal; color: #474747; word-break: normal;\"><span style=\"font-size: 11pt;\"><br /></span></p>\r\n<p style=\"list-style: none; padding: 0px; font-family: 굴림, gulim, tahoma, sans-serif; line-height: 19px; background-color: #ffffff; overflow-wrap: normal; color: #474747; word-break: normal;\"><span style=\"font-size: 11pt;\">따라서, 이 배터리는 최대 충전전류가 300 ~ 400mA가 적당하겠죠.</span></p>\r\n<p style=\"list-style: none; padding: 0px; font-family: 굴림, gulim, tahoma, sans-serif; line-height: 19px; background-color: #ffffff; overflow-wrap: normal; color: #474747; word-break: normal;\"><span style=\"font-size: 11pt;\">TP4056&nbsp;모듈의 최대 충전전류는 1A로 설정되어 있기 때문에&nbsp;</span></p>\r\n<p style=\"list-style: none; padding: 0px; font-family: 굴림, gulim, tahoma, sans-serif; line-height: 19px; background-color: #ffffff; overflow-wrap: normal; color: #474747; word-break: normal;\"><span style=\"font-size: 11pt;\">이 최대 충전전류를 조절하지 않으면 배터리의</span><span style=\"line-height: 1.6; background-color: transparent; font-size: 11pt;\">&nbsp;수명이 단축될 수 있겠지요.</span></p>\r\n<p style=\"list-style: none; padding: 0px; font-family: 굴림, gulim, tahoma, sans-serif; line-height: 19px; background-color: #ffffff; overflow-wrap: normal; color: #474747; word-break: normal;\"><br /></p>\r\n<p style=\"list-style: none; padding: 0px; font-family: 굴림, gulim, tahoma, sans-serif; line-height: 19px; background-color: #ffffff; overflow-wrap: normal; color: #474747; word-break: normal;\"><span style=\"line-height: 1.6; background-color: transparent; font-size: 11pt;\">최대충전전류를 조절하려면 칩저항을 제거하고, 알맞은 저항을 새로 납땜하면 됩니다.&nbsp;</span></p>\r\n<p style=\"list-style: none; padding: 0px; font-family: 굴림, gulim, tahoma, sans-serif; line-height: 19px; background-color: #ffffff; overflow-wrap: normal; color: #474747; word-break: normal;\"><span style=\"line-height: 1.6; background-color: transparent; font-size: 11pt;\">만충전하면 충전완료 표시등이 켜집니다.&nbsp;</span><span style=\"line-height: 23px; font-size: 15px;\">TP4056모듈의 충전완료전압은 4.2V 입니다.</span></p>\r\n<p style=\"list-style: none; padding: 0px; font-family: 굴림, gulim, tahoma, sans-serif; line-height: 19px; background-color: #ffffff; overflow-wrap: normal; color: #474747; word-break: normal;\"><span style=\"line-height: 23px; font-size: 15px;\"><br /></span></p>\r\n<p style=\"list-style: none; padding: 0px; font-family: 굴림, gulim, tahoma, sans-serif; line-height: 19px; background-color: #ffffff; overflow-wrap: normal; color: #474747; word-break: normal;\"><span style=\"line-height: 23px; font-size: 15px;\">완전 방전된 전지를 충전하는데 약 4시간정도 걸리고, 완전충전 전압은 약 4.16V가 측정되는군요.</span></p>\r\n<p>\r\n   <p>&nbsp;</p>\r\n   </p>\r\n<div class=\"autosourcing-stub\" style=\"font-family: inherit; font-size: inherit; list-style: none; margin: 0px; padding: 0px; position: absolute; opacity: 0;\">\r\n   <p style=\"list-style: none; margin: 20px 0px 30px; padding: 0px; font-size: 12px; font-family: dotum;\"><strong style=\"padding: 0px 7px 0px 0px;\">[출처]</strong><span>&nbsp;</span><a href=\"https://cafe.naver.com/arduinostory/30312\" target=\"_blank\" style=\"text-decoration: none;\">휴대폰 배터리 재활용하기 (아두이노 스토리)</a><span>&nbsp;</span><span style=\"padding: 0px 7px 0px 5px;\">|</span><strong style=\"padding: 0px 7px 0px 0px;\">작성자</strong><span>&nbsp;</span><a href=\"https://cafe.naver.com/arduinostory.cafe?iframe_url=/CafeMemberNetworkView.nhn%3Fm=view%26memberid=inkni\" target=\"_blank\" style=\"text-decoration: none;\">inkni</a></p>\r\n   </div>','https://cafe.naver.com/arduinostory/30312','',0,0,2,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 14:57:21',0,'2019-04-26 14:57:21','210.101.103.92','','','','','','','','','','','',''),(286,-286,'',286,0,0,'','','html1','[Android] XML 총정리','<p><span style=\"color: #404040; font-family: 굴림;\">1. View객체별 정리&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">-ListView&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">-Relative&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">...&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">2. 정렬 정리&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">-gravity&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">-layout_gravity&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">-layout_centerVertical&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">...</span></p>','','',0,0,1,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 14:57:41',0,'2019-04-26 14:57:41','210.101.103.92','','','','','','','','','','','',''),(287,-287,'',287,0,0,'','','html1','[ETC] Tact Switch Power On/Off Latch','<div class=\"readHeader\" style=\"color: #555555; font-family: Tahoma; background-color: #ffffff;\">\r\n   <div class=\"titleAndUser\" style=\"overflow: hidden; border-bottom: 1px solid rgb(224, 225, 219);\">\r\n      <div class=\"title\" style=\"float: left; margin: 10px 0px 5px;\">\r\n         <h1 style=\"margin: 0px 0px 0px 3px; font-size: 1.5em;\"><a href=\"http://forum.falinux.com/zbxe/index.php?document_srl=783056\" style=\"color: #000000; text-decoration-line: none;\" target=\"_blank\">Tact Switch Power On/Off Latch</a></h1>\r\n         </div>\r\n      <div class=\"userInfo\" style=\"float: right; white-space: nowrap; margin-top: 11px;\">\r\n         <div class=\"author\" style=\"color: #3074a5;\"><span class=\"member_92\">장형기</span></div>\r\n         </div>\r\n      </div>\r\n   <div class=\"dateAndCount\" style=\"clear: both; white-space: nowrap; color: #444444; margin: 5px 0px 0px; font-size: 0.9em; font-family: tahoma; line-height: 17px; padding-bottom: 10px;\">\r\n      <div class=\"uri\" title=\"게시글 주소\" style=\"float: left;\"><a href=\"http://forum.falinux.com/zbxe/index.php?document_srl=783056\" style=\"color: #bbbbbb; text-decoration-line: none; margin-left: 4px;\" target=\"_blank\">http://forum.falinux.com/zbxe/index.php?document_srl=783056</a></div>\r\n      <div class=\"date\" title=\"등록일\" style=\"float: right; background: url(&quot;../images/common/calendar.gif&quot;) left top no-repeat; padding-left: 18px; margin-left: 10px;\"><strong>2013.10.24</strong>&nbsp;22:25:14 (*.52.177.249)</div>\r\n      <div class=\"readedCount\" title=\"조회 수\" style=\"float: right; margin-left: 10px; background: url(&quot;../images/common/read.gif&quot;) left top no-repeat; padding-left: 18px; color: #4a3fd7;\">28258</div>\r\n      <div class=\"replyAndTrackback\" style=\"float: right;\">&nbsp;</div>\r\n      </div>\r\n   </div>\r\n<div class=\"readBody\" style=\"color: #555555; margin-top: 20px; font-family: Tahoma; background-color: #ffffff;\">\r\n   <div class=\"contentBody\">\r\n      <div class=\"document_783056_92 xe_content\" style=\"color: #000000; line-height: 1.5;\">\r\n         <p class=\"MsoNormal\"><span lang=\"EN-US\">Tact Switch</span>를 이용한<span lang=\"EN-US\">&nbsp;Power On/Off 를 Latch&nbsp;</span>하는 회로입니다.</p>\r\n         <p class=\"MsoNormal\">이 회로도는 EEVBLOG(<a href=\"http://www.eevblog.com/\" style=\"color: #4070aa; text-decoration-line: none; line-height: 1.5;\" target=\"_blank\">http://www.eevblog.com/</a>)<span style=\"line-height: 1.5;\">에 올라와 있는 회로도를 가지고 실험한 것입니다.</span></p>\r\n         <p class=\"MsoNormal\"><br /></p>\r\n         <p class=\"MsoNormal\"><br /></p>\r\n         <p class=\"MsoNormal\"><br /></p>\r\n         <p class=\"MsoNormal\"><img src=\"http://forum.falinux.com/zbxe/files/attach/images/406792/056/783/5e3cece945ce220147721129058fd930.jpg\" alt=\"회로1.jpg\" width=\"370\" rel=\"xe_gallery\" style=\"border-width: 0px; max-width: 100%; height: auto; cursor: pointer;\" />&nbsp;<br /></p>\r\n         <p class=\"MsoNormal\"><br /></p>\r\n         <p class=\"MsoNormal\"><br /></p>\r\n         <p class=\"MsoNormal\"><span lang=\"EN-US\">위 회로도는 SW1 Tact Switch(ON)&nbsp;</span>를 누르면<span lang=\"EN-US\">&nbsp;Q1</span>이<span lang=\"EN-US\">&nbsp;Turn On&nbsp;</span>되어 전원이 공급되면 Q2가 Turn On 되어 전원 공급을 유지합니다.</p>\r\n         <p class=\"MsoNormal\"><span lang=\"EN-US\">SW2 Tact Switch(OFF)&nbsp;</span>를 누르면<span lang=\"EN-US\">&nbsp;Q2가</span><span lang=\"EN-US\">&nbsp;Turn Off&nbsp;</span>되고, &nbsp;Q1이&nbsp;<span style=\"line-height: 1.5;\">Turn Off 되어&nbsp;</span><span style=\"line-height: 1.5;\">전원 공급을 차단합니다.</span></p>\r\n         <p class=\"MsoNormal\"><span lang=\"EN-US\"><br /></span></p>\r\n         <p class=\"MsoNormal\"><br /></p>\r\n         <p class=\"MsoNormal\"><br /></p>\r\n         <p class=\"MsoNormal\"><img src=\"http://forum.falinux.com/zbxe/files/attach/images/406792/056/783/539b0ad48b1b652842a542908ba881c2.jpg\" alt=\"회로2.jpg\" width=\"481\" rel=\"xe_gallery\" style=\"border-width: 0px; max-width: 100%; height: auto;\" />&nbsp;<br /></p>\r\n         <p class=\"MsoNormal\"><span lang=\"EN-US\">&nbsp;</span></p>\r\n         <p class=\"MsoNormal\"><span lang=\"EN-US\">위 회로도는&nbsp;<span lang=\"EN-US\" style=\"line-height: 1.5;\">MOSFET</span><span style=\"line-height: 1.5;\">를 사용할 경우</span><span lang=\"EN-US\" style=\"line-height: 1.5;\">&nbsp;SW4 Tact Switch(ON)&nbsp;</span><span style=\"line-height: 1.5;\">를 누르면</span><span lang=\"EN-US\" style=\"line-height: 1.5;\">&nbsp;Q7&nbsp;</span><span style=\"line-height: 1.5;\">이</span><span lang=\"EN-US\" style=\"line-height: 1.5;\">&nbsp;Turn On&nbsp;</span><span style=\"line-height: 1.5;\">되고</span><span lang=\"EN-US\" style=\"line-height: 1.5;\">, Q5 가</span><span lang=\"EN-US\" style=\"line-height: 1.5;\">&nbsp;Turn On&nbsp;</span><span style=\"line-height: 1.5;\">되어 전원이 공급됩니다.</span></span></p>\r\n         <p class=\"MsoNormal\"><span lang=\"EN-US\"><span lang=\"EN-US\" style=\"line-height: 1.5;\">SW5 Tact Switch(OFF)&nbsp;</span><span style=\"line-height: 1.5;\">를 누르면</span><span lang=\"EN-US\" style=\"line-height: 1.5;\">&nbsp;Q7&nbsp;</span><span style=\"line-height: 1.5;\">이</span><span lang=\"EN-US\" style=\"line-height: 1.5;\">&nbsp;Turn Off&nbsp;</span><span style=\"line-height: 1.5;\">되고</span><span lang=\"EN-US\" style=\"line-height: 1.5;\">, Q5 가</span><span lang=\"EN-US\" style=\"line-height: 1.5;\">&nbsp;Turn Off&nbsp;</span><span style=\"line-height: 1.5;\">되어 전원 공급이 차단됩니다.</span></span></p>\r\n         <p class=\"MsoNormal\"><span lang=\"EN-US\">&nbsp;</span></p>\r\n         <p class=\"MsoNormal\"><span lang=\"EN-US\"><br /></span></p>\r\n         <p class=\"MsoNormal\"><span lang=\"EN-US\"><br /></span></p>\r\n         <p class=\"MsoNormal\"><span lang=\"EN-US\"><img src=\"http://forum.falinux.com/zbxe/files/attach/images/406792/056/783/ca22a0b55cfe3674e63d04a3e64c279d.jpg\" alt=\"회로3.jpg\" width=\"521\" rel=\"xe_gallery\" style=\"border-width: 0px; max-width: 100%; height: auto;\" />&nbsp;<br /></span></p>\r\n         <p class=\"MsoNormal\"><span style=\"line-height: 1.5;\">&nbsp;</span></p>\r\n         <p class=\"MsoNormal\"><span lang=\"EN-US\">위 회로도는&nbsp;<span lang=\"EN-US\" style=\"line-height: 1.5;\">MOSFET</span><span style=\"line-height: 1.5;\">를 사용한 다른 방법으로 하나의 스위치로</span><span lang=\"EN-US\" style=\"line-height: 1.5;\">&nbsp;ON/OFF</span><span style=\"line-height: 1.5;\">를 할 경우에는 위의 회로도를 사용합니다.</span></span></p>\r\n         <p class=\"MsoNormal\"><span lang=\"EN-US\"><span style=\"line-height: 1.5;\">이 회로도는</span><span lang=\"EN-US\" style=\"line-height: 1.5;\">&nbsp;C1</span><span style=\"line-height: 1.5;\">의 콘덴서값 또는 R4 의 저항값에 따라서 스위치의 채터링 방지 및</span><span lang=\"EN-US\" style=\"line-height: 1.5;\">&nbsp;ON/OFF</span><span style=\"line-height: 1.5;\">의 딜레이 시간을 설정할 수 있습니다.</span></span></p>\r\n         <p class=\"MsoNormal\"><span lang=\"EN-US\"><br /></span></p>\r\n         <p class=\"MsoNormal\"><span lang=\"EN-US\"><br /></span></p>\r\n         <p class=\"MsoNormal\"><span lang=\"EN-US\">실험 결과 만족할 만한 수준의 성능은 나오지 않습니다. 가끔 오동작을 하는 경우도 발생하는 것 같습니다.</span></p>\r\n         <p class=\"MsoNormal\"><span style=\"line-height: 1.5;\">좀더 수정 보안이 필요할 것 같습니다.</span></p>\r\n         </div>\r\n      </div>\r\n   </div>','http://forum.falinux.com/zbxe/index.php?document_srl=783056&mid=hardware','',0,0,1,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 14:58:07',0,'2019-04-26 14:58:07','210.101.103.92','','','','','','','','','','','',''),(288,-288,'',288,0,0,'','','html1','[Arduino] Worklog: Arduino-Controlled Pantry LED Lighting','<p><span style=\"color: #404040; font-family: 굴림;\">Worklog: Arduino-Controlled Pantry LED Lighting&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">BY WILL SMITH ON MAY 2, 2013 AT 9 A.M.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">Will\'s dark pantry has forced him to build a simple, Arduino-controlled LED strip lighting setup--to save his sanity.</span></p>','https://www.tested.com/tech/455208-worklog-arduino-controlled-pantry-led-lighting/','http://bildr.org/2012/03/rfp30n06le-arduino/',1,1,2,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 14:58:46',1,'2019-04-26 14:58:46','210.101.103.92','','','','','','','','','','','','');
