{"id":2220,"date":"2008-08-23T02:56:29","date_gmt":"2008-08-23T02:56:29","guid":{"rendered":"http:\/\/192.168.0.71:9090\/?p=1781"},"modified":"2008-08-23T02:56:29","modified_gmt":"2008-08-23T02:56:29","slug":"atmega8535-%ec%8b%9c%eb%a6%ac%ec%96%bc%ed%86%b5%ec%8b%a0-uart","status":"publish","type":"post","link":"https:\/\/talsu.net\/?p=2220","title":{"rendered":"ATmega8535 &#8211; \uc2dc\ub9ac\uc5bc\ud1b5\uc2e0 (UART)"},"content":{"rendered":"<p style=\"text-align: center\"><span style=\"font-size:14pt\"><strong>Code Vison AVR C<br \/>\n<\/strong><\/span><\/p>\n<p style=\"text-align: center\"><span style=\"font-size:14pt\"><strong>ATmega 8535<br \/>\n<\/strong><\/span><\/p>\n<p style=\"text-align: center\">\n\u00a0<\/p>\n<p style=\"text-align: center\"><span style=\"color:#00b050; font-size:14pt\"><strong>RS232 \uc2dc\ub9ac\uc5bc \ud1b5\uc2e0<br \/>\n<\/strong><\/span><\/p>\n<p>\n\u00a0<\/p>\n<p style=\"text-align: justify\"><span style=\"color:#0070c0; font-size:14pt\"><strong>\ucee8\ub125\ud130\uc640 \uc2e0\ud638\uc120<br \/>\n<\/strong><\/span><\/p>\n<p>RS232 \ud1b5\uc2e0\uc744 \uc704\ud55c \ucee8\ub125\ud130\ub294 9\ud540\uacfc 25\ud540 \ucee8\ub125\ud130\uac00 \uc788\uc73c\ub098, \ucd5c\uadfc\uc5d0\ub294 9\ud540 \ucee8\ub125\ud130\ub97c \ub9ce\uc774 \uc0ac\uc6a9\ud55c\ub2e4. \uc2e4\uc81c \ub370\uc774\ud130\uac00 \uc1a1 \uc218\uc2e0 \ub418\ub294 \ud540\uc740 TXD(3) \uc640 RXD(2) \uc774\uace0 \uae30\ub2a5\uc740 \ub2e4\uc74c\uacfc \uac19\ub2e4.\n<\/p>\n<p style=\"text-align: center\"><img src=\"http:\/\/temp.talsu.net\/wp-content\/uploads\/2008\/08\/jk1.jpg\" alt=\"\"\/>\n\t<\/p>\n<p style=\"text-align: center\">9\ud540 \ucee8\ub125\ud130\uc758 \ubaa8\uc2b5\n<\/p>\n<p style=\"text-align: center\">\n\u00a0<\/p>\n<p>TXD &#8211; Transmit Data\n<\/p>\n<p>  \ube44\ub3d9\uae30\uc2dd \uc9c1\ub82c \ud1b5\uc2e0 \uc7a5\uce58\uac00 \uc678\ubd80 \uc7a5\uce58\ub85c \ub370\uc774\ud130\ub97c \ubcf4\ub0bc \ub54c, \uc9c1\ub82c \ud1b5\uc2e0 \ub370\uc774\ud130\uac00 \ub098\uc624\ub294 \uc2e0\ud638\uc120\n<\/p>\n<p>RXD &#8211; Receive Data\n<\/p>\n<p>  \uc678\ubd80 \uc7a5\uce58\uc5d0\uc11c \ub4e4\uc5b4\uc624\ub294 \uc9c1\ub82c \ud1b5\uc2e0 \ub370\uc774\ud130\ub97c \uc785\ub825\ubc1b\ub294 \uc2e0\ud638\uc120\n<\/p>\n<p><span style=\"text-decoration:underline\">\ucf00\uc774\ube14\uc744 \ub9cc\ub4e4 \ub54c\uc5d0\ub294 \ubc18\ub300\ucabd \ucee4\ub125\ud130\uc5d0 \uc5f0\uacb0\ud558\uae30 \uc804\uc5d0 \ud55c\ubc88 \uad50\ucc28 \uc2dc\ucf1c\uc57c \ud55c\ub2e4.<\/span> (Rx -&gt;Tx , Tx-&gt;Rx)\n<\/p>\n<p style=\"text-align: center\"><img src=\"http:\/\/temp.talsu.net\/wp-content\/uploads\/2008\/08\/jk2.png\" alt=\"\"\/>\n\t<\/p>\n<p style=\"text-align: center\">ATmega8535\uc5d0\uc11c\uc758 RXD, TXD<strong><br \/>\n\t\t<\/strong><\/p>\n<p style=\"text-align: justify\"><span style=\"color:#0070c0; font-size:14pt\"><strong>MAX232<br \/>\n<\/strong><\/span><\/p>\n<p style=\"text-align: justify\">\n\u00a0<\/p>\n<p>  MAXIM\uc0ac\uc5d0\uc11c \uc0dd\uc0b0\ub418\ub294 RS-232\ud1b5\uc2e0\uc744 \uac00\ub2a5\ud1a0\ub85d \ud574\uc8fc\ub294 \uc1a1\uc218\uc2e0 IC\uc774\ub2e4.  \uc1a1\uc218\uc2e0 \ub4dc\ub77c\uc774\ube0c\ub97c \uac01\uac01 2\uac1c\uc529 \uac00\uc9c0\uace0 \uc788\ub2e4.\n<\/p>\n<p> AVR\uacfc \ucef4\ud4e8\ud130\uac00 \uc778\uc2dd\ud558\ub294 0\uacfc 1\uc758 \uac12\uc774 \ub2e4\ub974\uae30 \ub54c\ubb38\uc5d0..<\/p>\n<div style=\"text-align: center\">\n<table style=\"border-collapse:collapse\" border=\"0\">\n<colgroup>\n<col style=\"width:75px\"\/>\n<col style=\"width:75px\"\/>\n<col style=\"width:75px\"\/><\/colgroup>\n<tbody valign=\"top\">\n<tr style=\"height: 21px; background: #c0504d\">\n<td style=\"padding-left: 7px; padding-right: 7px; border-top:  solid white 1.0pt; border-left:  solid white 1.0pt; border-bottom:  solid white 3.0pt; border-right:  solid white 1.0pt\">\u00a0<\/td>\n<td style=\"padding-left: 7px; padding-right: 7px; border-top:  solid white 1.0pt; border-left:  none; border-bottom:  solid white 3.0pt; border-right:  solid white 1.0pt\">\n<p style=\"text-align: center\"><span style=\"color:white; font-size:10pt\"><strong>\ub9c8\uc774\ucef4<\/strong><\/span><\/p>\n<\/td>\n<td style=\"padding-left: 7px; padding-right: 7px; border-top:  solid white 1.0pt; border-left:  none; border-bottom:  solid white 3.0pt; border-right:  solid white 1.0pt\">\n<p style=\"text-align: center\"><span style=\"color:white; font-size:10pt\"><strong>\ucef4\ud4e8\ud130<\/strong><\/span><\/p>\n<\/td>\n<\/tr>\n<tr style=\"height: 21px\">\n<td style=\"background: #c0504d; padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  solid white 1.0pt; border-bottom:  solid white 0.75pt; border-right:  solid white 3.0pt\">\n<p style=\"text-align: center\"><span style=\"color:white; font-size:10pt\"><strong>0<\/strong><\/span><\/p>\n<\/td>\n<td style=\"background: #dfa7a6; padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid white 1.0pt; border-right:  solid white 1.0pt\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\">0V<\/span><\/p>\n<\/td>\n<td style=\"background: #dfa7a6; padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid white 1.0pt; border-right:  solid white 1.0pt\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\">-10V<\/span><\/p>\n<\/td>\n<\/tr>\n<tr style=\"height: 21px\">\n<td style=\"background: #c0504d; padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  solid white 1.0pt; border-bottom:  solid white 1.0pt; border-right:  solid white 3.0pt\">\n<p style=\"text-align: center\"><span style=\"color:white; font-size:10pt\"><strong>1<\/strong><\/span><\/p>\n<\/td>\n<td style=\"background: #efd3d2; padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid white 1.0pt; border-right:  solid white 0.75pt\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\">5V<\/span><\/p>\n<\/td>\n<td style=\"background: #efd3d2; padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid white 1.0pt; border-right:  solid white 1.0pt\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\">10V<\/span><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>\uc774 \ucc28\uc774\ub97c \ud574\uacb0\ud574\uc8fc\ub294 \uac83\uc774\ub2e4.\n<\/p>\n<p>\n\u00a0<\/p>\n<p><img src=\"http:\/\/temp.talsu.net\/wp-content\/uploads\/2008\/08\/hk5.png\" alt=\"\"\/>\n\t\t<\/p>\n<p style=\"text-align: center\">TTL IC\uc758 \uc804\uc6d0\ub2e8\uc790\uc640 \ub2e4\ub974\uac8c 15\ubc88 \ud540\uc774 GND, 16\ubc88\uc774 VCC\uc774\ubbc0\ub85c \uc8fc\uc758\ud558\uc790\n<\/p>\n<p>\n\u00a0<\/p>\n<p>\n\u00a0<\/p>\n<p>IC \ub0b4\ubd80\uc5d0\ub294 VOLTAGE DOUBLER\uc640 VOLTAGE INVERTER\uac00 \uc788\ub2e4.\n<\/p>\n<p>DOUBLER\ub294 5V\ub97c 10V\ub85c \uc99d\ud3ed INVERTER\ub294 \uc99d\ud3ed\ub41c \uc2e0\ud638\ub97c \ubc18\uc804\n<\/p>\n<p>\ub0b4\ubd80\uc5d0 5V\ub97c \ucda9\uc804\ud588\ub2e4 10V\ub85c \ubcf4\ub0b4\uae30 \uc704\ud55c \ucf58\ub374\uc11c\uac00 \uc788\ub2e4.\n<\/p>\n<p>\n\u00a0<\/p>\n<p><span style=\"text-decoration:underline\">MAX232\ub294 \uc804\uc555\uc744 \ubc14\uafb8\uc5b4 \uc8fc\ub294 \uc5ed\ud560\ub9cc\uc744 \ud558\uba70 \ud1b5\uc2e0\uc744 \ud558\ub294\uac83\uc740 \uc544\ub2d8\uc5d0 \uc8fc\uc758!<br \/>\n<\/span><\/p>\n<p>\n\u00a0<\/p>\n<p>\n\u00a0<\/p>\n<p>\n\u00a0<\/p>\n<p style=\"text-align: justify\"><span style=\"color:#0070c0; font-size:14pt\"><strong>\ud504\ub808\uc784 \ud615\uc2dd<br \/>\n<\/strong><\/span><\/p>\n<p style=\"text-align: justify\">\n\u00a0<\/p>\n<p><img src=\"http:\/\/temp.talsu.net\/wp-content\/uploads\/2008\/08\/ik3.jpg\" alt=\"\"\/>\n\t\t<\/p>\n<p>\uc9c1\ub82c \ub370\uc774\ud130 \ud504\ub808\uc784\uc740 \ub3d9\uae30\ube44\ud2b8 (\uc2a4\ud0c0\ud2b8, \uc2a4\ud1b1 \ube44\ud2b8) \uc640 \uc5d0\ub7ec \uac80\uc0ac\ub97c \uc704\ud55c \ud328\ub9ac\ud2f0 \ube44\ud2b8(\uc120\ud0dd\uac00\ub2a5)\uc640 \ub370\uc774\ud130 \ube44\ud2b8\ub97c \ud3ec\ud568\ud558\ub294 1\ubb38\uc790\ub97c \uc758\ubbf8\ud55c\ub2e4.\n<\/p>\n<p>\n\u00a0<\/p>\n<p>\ucef4\ud4e8\ud130 \ucabd\uc5d0\uc11c\ub294 \ub2e4\uc74c\uacfc \uac19\uc774 \uc124\uc815\ud55c\ub2e4.\n<\/p>\n<p>\n\u00a0<\/p>\n<p style=\"text-align: center\"><img src=\"http:\/\/temp.talsu.net\/wp-content\/uploads\/2008\/08\/hk6.png\" alt=\"\"\/>\n\t\t<\/p>\n<p style=\"text-align: center\">\n\u00a0<\/p>\n<p>\ubcf4\ub808\uc774\ud2b8 9600 \ub370\uc774\ud130 \ube44\ud2b8\ub294 8\ube44\ud2b8 \ud328\ub9ac\ud2f0 \ube44\ud2b8 \uc0ac\uc6a9 \uc548 \ud568 STOP\ube44\ud2b8\ub294 1\ub85c \uc124\uc815\ud55c \ubaa8\uc2b5\n<\/p>\n<p>\n\u00a0<\/p>\n<p style=\"text-align: justify\"><span style=\"color:#0070c0; font-size:14pt\"><strong>\uc2dc\ub9ac\uc5bc \ud1b5\uc2e0\uc744 \uc704\ud55c \ub808\uc9c0\uc2a4\ud130<br \/>\n<\/strong><\/span><\/p>\n<p>\n\u00a0<\/p>\n<p>ATmega8535\uc5d0\ub294 \uc2dc\ub9ac\uc5bc \ud1b5\uc2e0\uc6a9 \ucee8\ud2b8\ub864\ub7ec\uac00 \ud3ec\ud568 \ub418\uc5b4 \uc788\ub2e4.\n<\/p>\n<p>CPU \ub0b4\ubd80\uc5d0\uc11c CPU\uc758 \ucf54\uc5b4 \ubd80\ubd84\uacfc \uc2dc\ub9ac\uc5bc \ud1b5\uc2e0\uc6a9 \ucee8\ud2b8\ub864\ub7ec\uac00 \ub370\uc774\ud130\ub97c \uc8fc\uace0 \ubc1b\uace0, \ucee8\ud2b8\ub864\ub7ec\ub294 RxD, TxD\uc758 \ud540\uc744 \ud1b5\ud574 \uc678\ubd80\uc640 \ud1b5\uc2e0\uc744 \ud558\uace0 \uc788\ub2e4.\n<\/p>\n<p>\uc2dc\ub9ac\uc5bc \ud1b5\uc2e0\uc744 \uc704\ud55c \ub808\uc9c0\uc2a4\ud130\uc5d0\ub294 \uc124\uc815\uc6a9 \ub808\uc9c0\uc2a4\ud130\uc640 \ub370\uc774\ud130 \ud1b5\uc2e0\uc6a9 \ub808\uc9c0\uc2a4\ud130\uac00 \uc788\uace0 \uc124\uc815\uc6a9 \ub808\uc9c0\uc2a4\ud130\ub97c \uc774\uc6a9\ud574 \uc124\uc815\uc744 \ud558\uace0 \ud1b5\uc2e0\uc6a9 \ub808\uc9c0\uc2a4\ud130\ub97c \uc774\uc6a9\ud574 \uc2e4\uc81c \ud1b5\uc2e0\uc744 \ud55c\ub2e4\n<\/p>\n<p>\n\u00a0<\/p>\n<p>\n\u00a0<\/p>\n<p><span style=\"color:#4f81bd; font-size:12pt\"><strong><em>UDR<br \/>\n<\/em><\/strong><\/span><\/p>\n<table style=\"border-collapse:collapse\" border=\"0\">\n<colgroup>\n<col style=\"width:64px\"\/>\n<col style=\"width:64px\"\/>\n<col style=\"width:64px\"\/>\n<col style=\"width:64px\"\/>\n<col style=\"width:64px\"\/>\n<col style=\"width:64px\"\/>\n<col style=\"width:64px\"\/>\n<col style=\"width:64px\"\/><\/colgroup>\n<tbody valign=\"top\">\n<tr style=\"height: 23px\">\n<td style=\"padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  none\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\"><strong>7<\/strong><\/span><\/p>\n<\/td>\n<td style=\"padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  none\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\"><strong>6<\/strong><\/span><\/p>\n<\/td>\n<td style=\"padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  none\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\"><strong>5<\/strong><\/span><\/p>\n<\/td>\n<td style=\"padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  none\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\"><strong>4<\/strong><\/span><\/p>\n<\/td>\n<td style=\"padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  none\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\"><strong>3<\/strong><\/span><\/p>\n<\/td>\n<td style=\"padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  none\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\"><strong>2<\/strong><\/span><\/p>\n<\/td>\n<td style=\"padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  none\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\"><strong>1<\/strong><\/span><\/p>\n<\/td>\n<td style=\"padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  none\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\"><strong>0<\/strong><\/span><\/p>\n<\/td>\n<\/tr>\n<tr style=\"height: 24px\">\n<td colspan=\"8\" style=\"padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  solid black 0.5pt; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\"><strong>RXB (Read)<\/strong><\/span><\/p>\n<\/td>\n<\/tr>\n<tr style=\"height: 24px\">\n<td colspan=\"8\" style=\"padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  solid black 0.5pt; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\"><strong>TXB (Write)<\/strong><\/span><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\n\u00a0<\/p>\n<p>UDR\ub808\uc9c0\uc2a4\ud130\ub294 \ub370\uc774\ud130\ub97c \uc785\ub825\ud558\uba74 \uc124\uc815\ud55c \uac12\uc5d0 \ub9de\uac8c \ub370\uc774\ud130\ub97c \uc804\uc1a1\ud558\ub294 \ub808\uc9c0\uc2a4\ud130\uc774\ub2e4.\n<\/p>\n<p>UDR\ub808\uc9c0\uc2a4\ud130\ub97c \uc77d\uc73c\uba74 \uc218\uc2e0 \ub370\uc774\ud130 \ubc84\ud37c \ub808\uc9c0\uc2a4\ud130(RXD)\uc758 \ub0b4\uc6a9\uc744 \ubcfc\uc218 \uc788\ub2e4. \uc989, \uc1a1\uc2e0 \ub370\uc774\ud130\ub97c UDR\ub808\uc9c0\uc2a4\ud130\uc5d0 \uc4f0\uae30\ud558\uba74 \uc1a1\uc2e0\ub370\uc774\ud130 \ubc84\ud37c (TXB)\uc5d0 \uc800\uc7a5\ud558\uace0, \uc218\uc2e0 \ub370\uc774\ud130\ub97c UDR \ub808\uc9c0\uc2a4\ud130\uc5d0 \uc4f0\uae30\ud558\uba74 \uc218\uc2e0 \ub370\uc774\ud130 \ubc84\ud37c(RXB)\uc5d0 \uc218\uc2e0\ub418\uc5b4 \uc788\ub294 \uac12\uc774 \uc77d\ud600\uc9c4\ub2e4.\n<\/p>\n<p>\n\u00a0<\/p>\n<p>\n\u00a0<\/p>\n<p>\n\u00a0<\/p>\n<p style=\"text-align: justify\"><span style=\"color:#4f81bd; font-size:12pt\"><strong><em>UCSR \ub808\uc9c0\uc2a4\ud130<br \/>\n<\/em><\/strong><\/span><\/p>\n<p>UCSR\uc740 A,B,C\uc138 \uac1c\ub85c \uad6c\uc131 \ub418\uc5b4 \uc788\uace0, \uc0c1\ud0dc \uc124\uc815\uacfc \uc81c\uc5b4\uc758 \uae30\ub2a5\uc744 \ud55c\ub2e4.\n<\/p>\n<p>\n\u00a0<\/p>\n<p><span style=\"color:#943634\"><strong><em>UCSRA<br \/>\n<\/em><\/strong><\/span><\/p>\n<table style=\"border-collapse:collapse\" border=\"0\">\n<colgroup>\n<col style=\"width:64px\"\/>\n<col style=\"width:64px\"\/>\n<col style=\"width:64px\"\/>\n<col style=\"width:64px\"\/>\n<col style=\"width:64px\"\/>\n<col style=\"width:64px\"\/>\n<col style=\"width:64px\"\/>\n<col style=\"width:64px\"\/><\/colgroup>\n<tbody valign=\"top\">\n<tr style=\"height: 23px\">\n<td style=\"padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  none\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\"><strong>7<\/strong><\/span><\/p>\n<\/td>\n<td style=\"padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  none\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\"><strong>6<\/strong><\/span><\/p>\n<\/td>\n<td style=\"padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  none\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\"><strong>5<\/strong><\/span><\/p>\n<\/td>\n<td style=\"padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  none\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\"><strong>4<\/strong><\/span><\/p>\n<\/td>\n<td style=\"padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  none\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\"><strong>3<\/strong><\/span><\/p>\n<\/td>\n<td style=\"padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  none\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\"><strong>2<\/strong><\/span><\/p>\n<\/td>\n<td style=\"padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  none\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\"><strong>1<\/strong><\/span><\/p>\n<\/td>\n<td style=\"padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  none\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\"><strong>0<\/strong><\/span><\/p>\n<\/td>\n<\/tr>\n<tr style=\"height: 24px\">\n<td style=\"background: #92cddc; padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  solid black 0.5pt; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\"><strong>RXC<\/strong><\/span><\/p>\n<\/td>\n<td style=\"background: #92cddc; padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\"><strong>TXC<\/strong><\/span><\/p>\n<\/td>\n<td style=\"background: #92cddc; padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\"><strong>UDRE<\/strong><\/span><\/p>\n<\/td>\n<td style=\"background: #92cddc; padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\"><strong>FE<\/strong><\/span><\/p>\n<\/td>\n<td style=\"background: #92cddc; padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\"><strong>DOR<\/strong><\/span><\/p>\n<\/td>\n<td style=\"background: #92cddc; padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\"><strong>PE<\/strong><\/span><\/p>\n<\/td>\n<td style=\"padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\"><strong>U2X<\/strong><\/span><\/p>\n<\/td>\n<td style=\"padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\"><strong>MPCM<\/strong><\/span><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>7. RXC : \uc218\uc2e0 \uc644\ub8cc \ud45c\uc2dc \ube44\ud2b8\n<\/p>\n<p>6. TXC : \uc1a1\uc2e0 \uc644\ub8cc \ud45c\uc2dc \ube44\ud2b8\n<\/p>\n<p>5. UDRE : \uc1a1\uc2e0 \ub370\uc774\ud130 \ub808\uc9c0\uc2a4\ud130 \uc900\ube44 \uc644\ub8cc \ud45c\uc2dc \ube44\ud2b8\n<\/p>\n<p>4. FE : \ud504\ub808\uc784 \uc5d0\ub7ec \ud45c\uc2dc \ube44\ud2b8\n<\/p>\n<p>3. DOR : \ub370\uc774\ud130 \uc624\ubc84\ub7f0 \uc5d0\ub7ec \ud45c\uc2dc \ube44\ud2b8\n<\/p>\n<p>2. PE : \ud328\ub9ac\ud2f0 \uc5d0\ub7ec \ud45c\uc2dc \ube44\ud2b8\n<\/p>\n<p>1. USX : \uc1a1\uc2e0 \uc18d\ub3c4 2\ubc30 \uc124\uc815\n<\/p>\n<p>0. MPCM : \uba40\ud2f0 \ud504\ub85c\uc138\uc11c \ud1b5\uc2e0 \ubaa8\ub4dc\n<\/p>\n<p>\u00a0\u00a0\u00a0\u00a0*1\ubc88\uacfc 0\ubc88\uc744 \uc124\uc815\ud558\uace0 \ub098\uba38\uc9c0\ub294 \uc77d\uae30 \uc804\uc6a9\uc774\ub2e4. (\uc0ac\uc6a9 \ud560 \ub54c 1 \uc544\ub2d0 \ub54c 0)\n<\/p>\n<p>\n\u00a0<\/p>\n<p><span style=\"color:#943634\"><strong><em>UCSRB<br \/>\n<\/em><\/strong><\/span><\/p>\n<table style=\"border-collapse:collapse\" border=\"0\">\n<colgroup>\n<col style=\"width:64px\"\/>\n<col style=\"width:64px\"\/>\n<col style=\"width:64px\"\/>\n<col style=\"width:64px\"\/>\n<col style=\"width:64px\"\/>\n<col style=\"width:64px\"\/>\n<col style=\"width:64px\"\/>\n<col style=\"width:64px\"\/><\/colgroup>\n<tbody valign=\"top\">\n<tr style=\"height: 23px\">\n<td style=\"padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  none\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\"><strong>7<\/strong><\/span><\/p>\n<\/td>\n<td style=\"padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  none\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\"><strong>6<\/strong><\/span><\/p>\n<\/td>\n<td style=\"padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  none\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\"><strong>5<\/strong><\/span><\/p>\n<\/td>\n<td style=\"padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  none\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\"><strong>4<\/strong><\/span><\/p>\n<\/td>\n<td style=\"padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  none\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\"><strong>3<\/strong><\/span><\/p>\n<\/td>\n<td style=\"padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  none\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\"><strong>2<\/strong><\/span><\/p>\n<\/td>\n<td style=\"padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  none\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\"><strong>1<\/strong><\/span><\/p>\n<\/td>\n<td style=\"padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  none\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\"><strong>0<\/strong><\/span><\/p>\n<\/td>\n<\/tr>\n<tr style=\"height: 24px\">\n<td style=\"padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  solid black 0.5pt; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\"><strong>RXCIE<\/strong><\/span><\/p>\n<\/td>\n<td style=\"padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\"><strong>TXCIE<\/strong><\/span><\/p>\n<\/td>\n<td style=\"padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\"><strong>UDRIE<\/strong><\/span><\/p>\n<\/td>\n<td style=\"padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\"><strong>RXEN<\/strong><\/span><\/p>\n<\/td>\n<td style=\"padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\"><strong>TXEN<\/strong><\/span><\/p>\n<\/td>\n<td style=\"padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\"><strong>UCSZ2<\/strong><\/span><\/p>\n<\/td>\n<td style=\"padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\"><strong>RXB8<\/strong><\/span><\/p>\n<\/td>\n<td style=\"padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\"><strong>TXB8<\/strong><\/span><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>7. RXCIE \uc218\uc2e0 \uc644\ub8cc \uc778\ud130\ub7fd\ud2b8 \uc778\uc5d0\uc774\ube14 \ube44\ud2b8\n<\/p>\n<p>6. TXCIE \uc1a1\uc2e0 \uc644\ub8cc \uc778\ud130\ub7fd\ud2b8 \uc778\uc5d0\uc774\ube14 \ube44\ud2b8\n<\/p>\n<p>5. UDRIE \uc1a1\uc2e0 \ub370\uc774\ud130 \ub808\uc9c0\uc2a4\ud130 \uc900\ube44 \uc644\ub8cc \uc778\ud130\ub7fd\ud2b8 \uc778\uc5d0\uc774\ube14 \ube44\ud2b8\n<\/p>\n<p>4. RXEN \uc218\uc2e0\uae30 \uc778\uc5d0\uc774\ube14\n<\/p>\n<p>3. TXEN \uc1a1\uc2e0\uae30 \uc778\uc5d0\uc774\ube14\n<\/p>\n<p>2. UCSZ2 \uc804\uc1a1 \ub370\uc774\ud130 \uae38\uc774 \uc120\ud0dd \ube44\ud2b8\n<\/p>\n<p>1. RXB8 \uc218\uc2e0 \ub370\uc774\ud130 \ube44\ud2b8 8\n<\/p>\n<p>0. TXB8 \uc1a1\uc2e0 \ub370\uc774\ud130 \ube44\ud2b8 8\n<\/p>\n<p>\n\u00a0<\/p>\n<p><span style=\"color:#943634\"><strong><em>UCSRC<br \/>\n<\/em><\/strong><\/span><\/p>\n<table style=\"border-collapse:collapse\" border=\"0\">\n<colgroup>\n<col style=\"width:64px\"\/>\n<col style=\"width:64px\"\/>\n<col style=\"width:64px\"\/>\n<col style=\"width:64px\"\/>\n<col style=\"width:64px\"\/>\n<col style=\"width:64px\"\/>\n<col style=\"width:64px\"\/>\n<col style=\"width:64px\"\/><\/colgroup>\n<tbody valign=\"top\">\n<tr style=\"height: 23px\">\n<td style=\"padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  none\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\"><strong>7<\/strong><\/span><\/p>\n<\/td>\n<td style=\"padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  none\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\"><strong>6<\/strong><\/span><\/p>\n<\/td>\n<td style=\"padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  none\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\"><strong>5<\/strong><\/span><\/p>\n<\/td>\n<td style=\"padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  none\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\"><strong>4<\/strong><\/span><\/p>\n<\/td>\n<td style=\"padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  none\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\"><strong>3<\/strong><\/span><\/p>\n<\/td>\n<td style=\"padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  none\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\"><strong>2<\/strong><\/span><\/p>\n<\/td>\n<td style=\"padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  none\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\"><strong>1<\/strong><\/span><\/p>\n<\/td>\n<td style=\"padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  none\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\"><strong>0<\/strong><\/span><\/p>\n<\/td>\n<\/tr>\n<tr style=\"height: 24px\">\n<td style=\"padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  solid black 0.5pt; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\"><strong>URSEL<\/strong><\/span><\/p>\n<\/td>\n<td style=\"padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\"><strong>UMSEL<\/strong><\/span><\/p>\n<\/td>\n<td style=\"padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\"><strong>UPM1<\/strong><\/span><\/p>\n<\/td>\n<td style=\"padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\"><strong>UPM0<\/strong><\/span><\/p>\n<\/td>\n<td style=\"padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\"><strong>USBS<\/strong><\/span><\/p>\n<\/td>\n<td style=\"padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\"><strong>UCSZ1<\/strong><\/span><\/p>\n<\/td>\n<td style=\"padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\"><strong>UCSZ0<\/strong><\/span><\/p>\n<\/td>\n<td style=\"padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\"><strong>UCPOL<\/strong><\/span><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>7. UREL \ub808\uc9c0\uc2a4\ud130 \uc120\ud0dd \ube44\ud2b8\n<\/p>\n<p>6. UMSEL \uc2dc\ub9ac\uc5bc \ud1b5\uc2e0 \ubaa8\ub4dc \uc124\uc815 \ube44\ud2b8\n<\/p>\n<p>5. UPM1 \ud328\ub9ac\ud2f0 \ubaa8\ub4dc \uc124\uc815 \ube44\ud2b8\n<\/p>\n<p>4. UPM0 \ud328\ub9ac\ud2f0 \ubaa8\ub4dc \uc124\uc815 \ube44\ud2b8\n<\/p>\n<p>3. USBS \uc815\uc9c0 \ube44\ud2b8 \uc120\ud0dd\n<\/p>\n<p>2. UCSZ1 \uc804\uc1a1 \ub370\uc774\ud130 \ube44\ud2b8 \uc218 \uc124\uc815\n<\/p>\n<p>1. UCSZ0 \uc804\uc1a1 \ub370\uc774\ud130 \ube44\ud2b8 \uc218 \uc124\uc815\n<\/p>\n<p>0. UCPOL \ud074\ub7ed \uadf9\uc131 \uc120\ud0dd\n<\/p>\n<p style=\"text-align: justify\">\n\u00a0<\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\">\ubcf4\ub808\uc774\ud2b8 \uc18d\ub3c4 \uc124\uc815 \uad00\ub828 \ub808\uc9c0\uc2a4\ud130<br \/>\n<\/span><\/p>\n<p>\n\u00a0<\/p>\n<p>\ubcf4\ub808\uc774\ud2b8 &#8211; \uc2e0\ud638 \ud558\ub098\uc758 \uc18d\ub3c4\n<\/p>\n<p>\ubcf4\ub808\uc774\ud2b8 \uc18d\ub3c4\ub97c \uc870\uc808 \ud558\ub294 \ub808\uc9c0\uc2a4\ud130\ub294 UBRRH\uc640 UBRRL 2\uac1c\ub85c \uc774\ub8e8\uc5b4\uc838 \uc788\ub2e4. UBRRH\uc758 4\ube44\ud2b8\uc640 UBRRL\uc758 8\ube44\ud2b8\ub97c \ud569\uce5c 12\ube44\ud2b8\ub97c \uc774\uc6a9\ud558\uc5ec \uc18d\ub3c4\ub97c \uc124\uc815\ud55c\ub2e4.\n<\/p>\n<p>\n\u00a0<\/p>\n<p><span style=\"color:#4f81bd; font-size:12pt\"><strong><em>UBBRH<br \/>\n<\/em><\/strong><\/span><\/p>\n<table style=\"border-collapse:collapse\" border=\"0\">\n<colgroup>\n<col style=\"width:64px\"\/>\n<col style=\"width:64px\"\/>\n<col style=\"width:64px\"\/>\n<col style=\"width:64px\"\/>\n<col style=\"width:64px\"\/>\n<col style=\"width:64px\"\/>\n<col style=\"width:64px\"\/>\n<col style=\"width:64px\"\/><\/colgroup>\n<tbody valign=\"top\">\n<tr style=\"height: 23px\">\n<td style=\"padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  none\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\"><strong>7<\/strong><\/span><\/p>\n<\/td>\n<td style=\"padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  none\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\"><strong>6<\/strong><\/span><\/p>\n<\/td>\n<td style=\"padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  none\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\"><strong>5<\/strong><\/span><\/p>\n<\/td>\n<td style=\"padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  none\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\"><strong>4<\/strong><\/span><\/p>\n<\/td>\n<td style=\"padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  none\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\"><strong>3<\/strong><\/span><\/p>\n<\/td>\n<td style=\"padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  none\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\"><strong>2<\/strong><\/span><\/p>\n<\/td>\n<td style=\"padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  none\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\"><strong>1<\/strong><\/span><\/p>\n<\/td>\n<td style=\"padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  none\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\"><strong>0<\/strong><\/span><\/p>\n<\/td>\n<\/tr>\n<tr style=\"height: 24px\">\n<td style=\"padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  solid black 0.5pt; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\"><strong>URSEL<\/strong><\/span><\/p>\n<\/td>\n<td colspan=\"3\" style=\"padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\"><strong>\uc0ac\uc6a9\ud558\uc9c0 \uc54a\uc74c ( 0 )<\/strong><\/span><\/p>\n<\/td>\n<td colspan=\"4\" style=\"padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\"><strong>UBRR\uc758 \uac12 (11 ~8 \ube44\ud2b8)<\/strong><\/span><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\n\u00a0<\/p>\n<p><span style=\"color:#4f81bd; font-size:12pt\"><strong><em>UBBRL<br \/>\n<\/em><\/strong><\/span><\/p>\n<table style=\"border-collapse:collapse\" border=\"0\">\n<colgroup>\n<col style=\"width:64px\"\/>\n<col style=\"width:64px\"\/>\n<col style=\"width:64px\"\/>\n<col style=\"width:64px\"\/>\n<col style=\"width:64px\"\/>\n<col style=\"width:64px\"\/>\n<col style=\"width:64px\"\/>\n<col style=\"width:64px\"\/><\/colgroup>\n<tbody valign=\"top\">\n<tr style=\"height: 23px\">\n<td style=\"padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  none\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\"><strong>7<\/strong><\/span><\/p>\n<\/td>\n<td style=\"padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  none\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\"><strong>6<\/strong><\/span><\/p>\n<\/td>\n<td style=\"padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  none\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\"><strong>5<\/strong><\/span><\/p>\n<\/td>\n<td style=\"padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  none\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\"><strong>4<\/strong><\/span><\/p>\n<\/td>\n<td style=\"padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  none\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\"><strong>3<\/strong><\/span><\/p>\n<\/td>\n<td style=\"padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  none\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\"><strong>2<\/strong><\/span><\/p>\n<\/td>\n<td style=\"padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  none\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\"><strong>1<\/strong><\/span><\/p>\n<\/td>\n<td style=\"padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  none\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\"><strong>0<\/strong><\/span><\/p>\n<\/td>\n<\/tr>\n<tr style=\"height: 24px\">\n<td colspan=\"8\" style=\"padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  solid black 0.5pt; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt\">\n<p style=\"text-align: center\"><span style=\"font-size:10pt\"><strong>UBRR\uc758 \uac12 (7 ~0 \ube44\ud2b8)<\/strong><\/span><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\n\u00a0<\/p>\n<p>UBRRH\ub294 UCSRC\ub808\uc9c0\uc2a4\ud130\uc640 \uac19\uc740 \ubc88\uc9c0\ub97c \uc0ac\uc6a9 \ud558\uace0 \uc788\ub2e4. \uadf8\ub807\uae30 \ub54c\ubb38\uc5d0 UCSRC\ub85c \uc0ac\uc6a9 \ud560 \uac83\uc778\uc9c0 UBRRH\ub85c \uc0ac\uc6a9 \ud560 \uac83\uc778\uc9c0 \uc120\ud0dd\uc744 \ud574\uc57c \ud558\ub294\ub370, \uc774 \uae30\ub2a5\uc744 \ud558\ub294 \uac83\uc774 7\ubc88 URSEL\ube44\ud2b8\uc774\ub2e4.\n<\/p>\n<p>  URSEL\uc774 0\uc77c \ub54c UBRRH\uc758 \uae30\ub2a5\uc744 \uac16\uace0 1\uc77c \ub54c UCSRC\uc758 \uae30\ub2a5\uc744 \uac16\ub294\ub2e4.\n<\/p>\n<p>\n\u00a0<\/p>\n<p>UBRR\uc758 \uac12\uc740 \ubcf4\ub808\uc774\ud2b8\uc640 \uc2dc\uc2a4\ud15c \ud074\ub7ed\uc744 \uc774\uc6a9\ud558\uc5ec \uacc4\uc0b0 \ud55c\ub2e4.\n<\/p>\n<\/p>\n<p>\uc608\ub97c \ub4e4\uc5b4 \uc2dc\uc2a4\ud15c \ud074\ub7ed\uc774 16Mhz \uc774\uace0 \ubcf4\ub808\uc774\ud2b8\ub97c 9600 bps\ub85c \uc7a1\uc558\uc744 \ub54c\n<\/p>\n<p>\n\u00a0<\/p>\n<\/p>\n<p>UBRR\uc758 \uac12\uc740 103.1666&#8230;. \uc774 \ub41c\ub2e4.\n<\/p>\n<p>\uc5ec\uae30\uc11c \uc18c\uc218\uc810 \uc774\ud558\ub97c \ubc84\ub9ac\uace0 103\uc744 2\uc9c4\uc218\ub85c \ubcc0\ud658\ud558\uba74 1100111\uc774 \ub41c\ub2e4.\n<\/p>\n<p>\uacb0\uad6d UBRRH\uc758 4 \ube44\ud2b8\uc5d0\ub294 \ubaa8\ub450 0\uc774 \ub4e4\uc5b4\uac00\uace0 UBRRL\uc5d0\ub294 01100111\uc774 \ub4e4\uc5b4\uac00\ubbc0\ub85c, \ub2e4\uc74c\uacfc \uac19\uc774 \uc785\ub825 \ud55c\ub2e4.\n<\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><strong><em>\u00a0\u00a0\u00a0\u00a0UBRRH=0;<br \/>\n<\/em><\/strong><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><strong><em>\u00a0\u00a0\u00a0\u00a0UBRRH=103;\u00a0\u00a0\u00a0\u00a0<\/em><span style=\"color:#339933\"><span style=\"font-family:Calibri\">\/\/<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ubb3c\ub860<\/span><span style=\"font-family:Calibri\"> 0b01100111<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\uc73c\ub85c\ub3c4<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\uc785\ub825<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\uac00\ub2a5\ud558\ub2e4<\/span><span style=\"font-family:Calibri\">.<\/span><\/span><em><br \/>\n\t\t\t\t\t<\/em><\/strong><\/span><\/p>\n<p>\n\u00a0<\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\">\ub370\uc774\ud130 \uc804\uc1a1 \ub808\uc9c0\uc2a4\ud130<br \/>\n<\/span><\/p>\n<p style=\"text-align: justify\">\n\u00a0<\/p>\n<p style=\"text-align: justify\"><span style=\"color:#0070c0; font-size:14pt\"><strong>\uc9c1\ub82c \ud1b5\uc2e0\uc5d0 \uc0ac\uc6a9\ud558\ub294 \uc785\ucd9c\ub825 \ud568\uc218<br \/>\n<\/strong><\/span><\/p>\n<p style=\"text-align: justify\">\n\u00a0<\/p>\n<p style=\"text-align: justify\"><span style=\"color:red; font-size:10pt\">void puts(char *str)<br \/>\n<\/span><\/p>\n<p style=\"text-align: justify\">\n\u00a0<\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\">  \uc678\ubd80\ub85c SRAM\uc758 \ubb38\uc790\uc5f4\uc744 \ucd9c\ub825 \ud558\ub294 \uae30\ub2a5\uc744 \uac00\uc9c4\ub2e4. \ubb38\uc790\uc5f4\uc758 \ub05d \ubd80\ubd84\uc5d0\ub294 null(0x0A)\ub97c \ucd94\uac00\ud558\uc5ec \ucd9c\ub825\ud55c\ub2e4. null \ubb38\uc790\ub294 \ud130\ubbf8\ub110 \ud654\uba74\uc5d0\uc11c \uc904\ubc14\uafb8\uae30\ub97c \ud55c\ub2e4.<br \/>\n<\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\">\ud558\uc9c0\ub9cc \uc904\uc758 \ub9e8 \uc55e\uc774 \uc544\ub2cc \ucd5c\uc885 \ucd9c\ub825\uc9c0\uc810\uc758 \ubc14\ub85c \ub2e4\uc74c \uc904\ub85c \ucd9c\ub825 \ub41c\ub2e4.<br \/>\n<\/span><\/p>\n<p style=\"text-align: justify\">\n\u00a0<\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\">Ex)\u00a0\u00a0\u00a0\u00a0Hello NClab!<br \/>\n<\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0    Hello NClab!<br \/>\n<\/span><\/p>\n<p style=\"text-align: justify\">\n\u00a0<\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\">\ud130\ubbf8\ub110\uc758 \uc81c\uc77c \uccab\uc904\ub85c \uc904\ubc14\uafc8\uc744 \ud558\uae30 \uc704\ud574\uc11c\ub294 \uc81c\uc5b4 \ubb38\uc790\uc778 &#8220;r&#8221;=&gt;&#8221;0x0D+0x0A&#8221;\ub97c \ub05d \ubd80\ubd84\uc5d0 \ucca8\uac00\ud558\uac70\ub098 \ub2e4\uc74c \ubb38\uc7a5\uc5d0 &#8220;0x0D&#8221;\ub97c \ucd9c\ub825 \ud558\uc5ec \ucee4\uc11c\ub97c \ub9e8\uc55e\uc73c\ub85c \uc774\ub3d9 \uc2dc\ud0a8\ub2e4.<br \/>\n<\/span><\/p>\n<p style=\"text-align: justify\">\n\u00a0<\/p>\n<p style=\"text-align: justify\"><span style=\"color:red; font-size:10pt\">void putsf(char flash *str)<br \/>\n<\/span><\/p>\n<p style=\"text-align: justify\">\n\u00a0<\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\">  \uc678\ubd80\ub85c Flash\uc758 \ubb38\uc790\uc5f4\uc744 \ucd9c\ub825 \ud558\ub294 \uae30\ub2a5\uc744 \uac00\uc9c4\ub2e4.<br \/>\n<\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\">\uc904\ubc14\uafc8 \ud615\uc2dd\uc740 puts\uc640 \ub3d9\uc77c<br \/>\n<\/span><\/p>\n<p style=\"text-align: justify\">\n\u00a0<\/p>\n<p style=\"text-align: justify\"><span style=\"color:red; font-size:10pt\">void printf(char flash *fmtstr [,arg1,arg2,&#8230;.])<br \/>\n<\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\">  fmtstr \ubb38\uc790\uc5f4\uc5d0 \uc788\ub294 \ubb38\uc790\uc5f4\uc744 \ucd9c\ub825 \ud558\ub294 \uae30\ub2a5\uc744 \uac00\uc9c4\ub2e4. \ud2b9\ud788, fmtstr\uc740 \uc0c1\uc218\uc774\uba70 Flash \uba54\ubaa8\ub9ac\uc5d0 \uc704\uce58\ud574 \uc788\uc5b4\uc57c \ud55c\ub2e4.<br \/>\n<\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\">Ex) int_val = 112;<br \/>\n<\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\">\u00a0\u00a0\u00a0\u00a0printf(&#8220;Interger value =%5i&#8221;, int_val);<br \/>\n<\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\">\u00a0\u00a0\u00a0\u00a0\/\/ %5i \ub294 5\uce78\uc5d0 \uc815\uc218\ub97c \ucd9c\ub825 \ud558\ub77c\ub294 \ub73b<br \/>\n<\/span><\/p>\n<p style=\"text-align: justify\">\n\u00a0<\/p>\n<p style=\"text-align: justify\">\n\u00a0<\/p>\n<p style=\"text-align: justify\"><span style=\"color:#0070c0; font-size:14pt\"><strong>\uc9c1\ub82c \ud1b5\uc2e0 \ud504\ub85c\uadf8\ub7a8<br \/>\n<\/strong><\/span><\/p>\n<p style=\"text-align: justify\">\n\u00a0<\/p>\n<p style=\"text-align: justify\"><span style=\"color:red; font-size:10pt\"><strong>\ucd9c\ub825 \ud568\uc218\ub4e4\uc744 \uc0ac\uc6a9\ud574\ubcf4\uc790<br \/>\n<\/strong><\/span><\/p>\n<p style=\"text-align: justify\">\n\u00a0<\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>#include &lt;mega8535.h&gt;<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>#include &lt;stdio.h&gt;<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\">\n\u00a0<\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>void rs232_putchar(void)\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/em><span style=\"color:#339933\"><strong><span style=\"font-family:Calibri\">\/\/<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ud55c\uae00\uc790\uc529<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ucd9c\ub825\ud558\ub294<\/span><span style=\"font-family:Calibri\"> putchar()<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\uc744<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\uc0ac\uc6a9\ud55c<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ud568\uc218<\/span><\/strong><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t<\/span><\/span><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>{<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>        putchar(&#8216;I&#8217;);<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>        putchar(&#8216; &#8216;);<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>        putchar(&#8216;L&#8217;);<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>        putchar(&#8216;O&#8217;);<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>        putchar(&#8216;V&#8217;);<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>        putchar(&#8216;E&#8217;);<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>        putchar(&#8216; &#8216;);<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>        putchar(&#8216;N&#8217;);<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>        putchar(&#8216;C&#8217;);<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>        putchar(0x0A);\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/em><span style=\"color:#339933\"><strong><span style=\"font-family:Calibri\">\/\/<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\uc904\ubc14\uafc8<\/span><\/strong><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t<\/span><\/span><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>        putchar(0x0D);\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/em><span style=\"color:#339933\"><strong><span style=\"font-family:Calibri\">\/\/<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ucee4\uc11c<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\uc81c\uc77c<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\uc55e\uc73c\ub85c<\/span><\/strong><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t<\/span><\/span><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>}<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\">\n\u00a0<\/p>\n<p style=\"text-align: justify\">\n\u00a0<\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>void main(void)<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>{<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>char data[] = &#8220;I LOVE NC 2&#8221;;\u00a0\u00a0\u00a0\u00a0<\/em><span style=\"color:#339933\"><strong><span style=\"font-family:Calibri\">\/\/SRAM<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\uc758<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ubb38\uc790\uc5f4\uc744<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ucd9c\ub825<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ud558\uae30<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\uc704\ud55c<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ubb38\uc790\uc5f4<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ubc30\uc5f4<\/span><\/strong><\/span><em><br \/>\n\t\t\t\t<\/em><\/span><\/p>\n<p style=\"text-align: justify\">\n\u00a0<\/p>\n<p style=\"text-align: justify\"><span style=\"color:#339933; font-size:10pt\">\/\/ USART initialization<br \/>\n<\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"color:#339933; font-size:10pt\">\/\/ Communication Parameters: 8 Data, 1 Stop, No Parity<br \/>\n<\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"color:#339933; font-size:10pt\">\/\/ USART Receiver: On<br \/>\n<\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"color:#339933; font-size:10pt\">\/\/ USART Transmitter: On<br \/>\n<\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"color:#339933; font-size:10pt\">\/\/ USART Mode: Asynchronous<br \/>\n<\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"color:#339933; font-size:10pt\">\/\/ USART Baud Rate: 9600<br \/>\n<\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>UCSRA=0x00;<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>UCSRB=0x18;<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>UCSRC=0x86;<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>UBRRH=0x00;<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>UBRRL=0x33;<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\">\n\u00a0<\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>\u00a0\u00a0\u00a0\u00a0rs232_putchar();\u00a0\u00a0\u00a0\u00a0<\/em><span style=\"color:#339933\"><strong><span style=\"font-family:Calibri\">\/\/<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ud55c\uae00\uc790\uc529<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ucd9c\ub825<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ud558\ub294<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ud568\uc218<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ud638\ucd9c<\/span><\/strong><\/span><em><br \/>\n\t\t\t\t<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>\u00a0\u00a0\u00a0\u00a0<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>\u00a0\u00a0\u00a0\u00a0puts(data);\u00a0\u00a0\u00a0\u00a0<\/em><span style=\"color:#339933\"><strong><span style=\"font-family:Calibri\">\/\/SRAM<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\uc758<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ubb38\uc790\uc5f4<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ucd9c\ub825<\/span><\/strong><\/span><em><br \/>\n\t\t\t\t<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>\u00a0\u00a0\u00a0\u00a0putchar(0x0D);\u00a0\u00a0\u00a0\u00a0<\/em><span style=\"color:#339933\"><strong><span style=\"font-family:Calibri\">\/\/<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\uc904\ubc14\uafc8<\/span><\/strong><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t<\/span><\/span><\/span><\/p>\n<p style=\"text-align: justify\">\n\u00a0<\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>\u00a0\u00a0\u00a0\u00a0putsf(&#8220;I LOVE NC 3 r&#8221;);\u00a0\u00a0\u00a0\u00a0<\/em><span style=\"color:#339933\"><strong><span style=\"font-family:Calibri\">\/\/Flash<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\uc758<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ubb38\uc790\uc5f4<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ucd9c\ub825<\/span><span style=\"font-family:Calibri\"> (<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\uc904\ubc14\uafc8<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ubb38\uc790<\/span><span style=\"font-family:Calibri\"> r)<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ud3ec\ud568<\/span><\/strong><\/span><em><br \/>\n\t\t\t\t<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>}<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\">\n\u00a0<\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>\uacb0\uacfc<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\">I LOVE NC<br \/>\n<\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\">I LOVE NC 2<br \/>\n<\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\">I LOVE NC 3<br \/>\n<\/span><\/p>\n<p style=\"text-align: justify\">\n\u00a0<\/p>\n<p style=\"text-align: justify\">\n\u00a0<\/p>\n<p style=\"text-align: justify\"><span style=\"color:red; font-size:10pt\"><strong>\uc785\ub825\uc740 \uc5b4\ub5bb\uac8c \ubc1b\ub294\uc9c0 \uc54c\uc544\ubcf4\uc790<br \/>\n<\/strong><\/span><\/p>\n<p style=\"text-align: justify\">\n\u00a0<\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>#include &lt;mega8535.h&gt;<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>#include &lt;stdio.h&gt;<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\">\n\u00a0<\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>unsigned char rx_data;\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/em><span style=\"color:#339933\"><strong><span style=\"font-family:Calibri\">\/\/<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\uc218\uc2e0\ub41c<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ubb38\uc790\ub97c<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ubc1b\uae30<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\uc704\ud55c<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\uc804\uc5ed<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ubcc0\uc218<\/span><\/strong><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t<\/span><\/span><\/span><\/p>\n<p style=\"text-align: justify\">\n\u00a0<\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>void led_control(void)<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>{<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>        rx_data = getchar();\u00a0\u00a0\u00a0\u00a0<\/em><span style=\"color:#339933\"><strong><span style=\"font-family:Calibri\">\/\/getchar()<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\uc740<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\uc218\uc2e0<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ub370\uc774\ud130\ub97c<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ubc1b\ub294<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ud568\uc218<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\uc774\ub2e4<\/span><span style=\"font-family:Calibri\">(UDR).<\/span><\/strong><\/span><em><br \/>\n\t\t\t\t<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>        putchar(rx_data);\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/em><span style=\"color:#339933\"><strong><span style=\"font-family:Calibri\">\/\/<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ubc1b\uc740<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ubb38\uc790\ub97c<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ucd9c\ub825<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ud568\uc73c\ub85c\uc368<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\uc5d0\ucf54<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ud6a8\uacfc<\/span><\/strong><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t<\/span><\/span><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>                 switch (rx_data) {\u00a0\u00a0\u00a0\u00a0<\/em><span style=\"color:#339933\"><strong><span style=\"font-family:Calibri\">\/\/<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ubc1b\uc740<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ubb38\uc790\uc5d0<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ub530\ub77c<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ud589\ub3d9<\/span><\/strong><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t<\/span><\/span><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>                        case 0x30: PORTA = 0x00;\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/em><span style=\"color:#339933\"><strong><span style=\"font-family:Calibri\">\/\/0X30<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\uc740<\/span><span style=\"font-family:Calibri\"> &#8216;0&#8217;<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\uc5d0<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ud574\ub2f9\ud558\ub294<\/span><span style=\"font-family:Calibri\"> ASCII<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ucf54\ub4dc\uc784<\/span><\/strong><\/span><em><br \/>\n\t\t\t\t<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>                                break;\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/em><span style=\"color:#339933\"><strong><span style=\"font-family:Calibri\">\/\/&#8217;0&#8242;<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\uc77c\ub54c<\/span><span style=\"font-family:Calibri\"> PORTA<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\uc5d0<\/span><span style=\"font-family:Calibri\"> 0<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\uc744<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ucd9c\ub825<\/span><\/strong><\/span><em><br \/>\n\t\t\t\t<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>                        case 0x31: PORTA = 0x01;\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/em><span style=\"color:#339933\"><strong><span style=\"font-family:Calibri\">\/\/0X31<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\uc740<\/span><span style=\"font-family:Calibri\"> &#8216;1&#8217;<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\uc5d0<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ud574\ub2f9\ud558\ub294<\/span><span style=\"font-family:Calibri\"> ASCII<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ucf54\ub4dc\uc784<\/span><\/strong><\/span><em><br \/>\n\t\t\t\t<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>                                break;<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>                        case 0x32: PORTA = 0x02;\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/em><span style=\"color:#339933\"><strong><span style=\"font-family:Calibri\">\/\/0X32<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\uc740<\/span><span style=\"font-family:Calibri\"> &#8216;2&#8217;<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\uc5d0<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ud574\ub2f9\ud558\ub294<\/span><span style=\"font-family:Calibri\"> ASCII<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ucf54\ub4dc\uc784<\/span><\/strong><\/span><em><br \/>\n\t\t\t\t<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>                                break;<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>                        case &#8216;3&#8217;: PORTA = 0x03;\u00a0\u00a0\u00a0\u00a0<\/em><span style=\"color:#339933\"><strong><span style=\"font-family:Calibri\">\/\/<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\uc9c1\uc811<\/span><span style=\"font-family:Calibri\"> &#8216;3&#8217;<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\uc774\ub77c\ub294<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ubb38\uc790\ub97c<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\uc801\uc5b4<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\uc904<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\uc218<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\uc788\uc74c<\/span><\/strong><span style=\"font-family:Calibri\"><strong><br \/>\n\t\t\t\t\t\t<\/strong><br \/>\n\t\t\t\t\t<\/span><\/span><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>                                break;<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>                        case &#8216;4&#8217; :PORTA = 0x04;<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>                                break;<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>                        case &#8216;5&#8217;: PORTA = 0x05;<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>                                break;<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>                        case &#8216;6&#8217;: PORTA = 0b00110011;\u00a0\u00a0\u00a0\u00a0<\/em><span style=\"color:#339933\"><strong><span style=\"font-family:Calibri\">\/\/<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ubb3c\ub860<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ucd9c\ub825\uc740<\/span><span style=\"font-family:Calibri\"> 2<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\uc9c4\uc218\ub85c\ub3c4<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\uc4f8\uc218<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\uc788\ub2e4<\/span><span style=\"font-family:Calibri\">.<\/span><\/strong><\/span><em><br \/>\n\t\t\t\t<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>                                break;<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>                        default:  PORTA = 0x00;<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>                                                       };<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>}<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\">\n\u00a0<\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>void main(void)<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>{<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>PORTA=0x00;<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>DDRA=0xFF;\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/em><span style=\"color:#339933\"><strong><span style=\"font-family:Calibri\">\/\/PORTA<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ub294<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ubaa8\ub450<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ucd9c\ub825<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ubaa8\ub4dc<\/span><\/strong><\/span><em><br \/>\n\t\t\t\t<\/em><\/span><\/p>\n<p style=\"text-align: justify\">\n\u00a0<\/p>\n<p style=\"text-align: justify\"><span style=\"color:#339933; font-size:10pt\">\/\/ USART initialization<br \/>\n<\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"color:#339933; font-size:10pt\">\/\/ Communication Parameters: 8 Data, 1 Stop, No Parity<br \/>\n<\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"color:#339933; font-size:10pt\">\/\/ USART Receiver: On<br \/>\n<\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"color:#339933; font-size:10pt\">\/\/ USART Transmitter: On<br \/>\n<\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"color:#339933; font-size:10pt\">\/\/ USART Mode: Asynchronous<br \/>\n<\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"color:#339933; font-size:10pt\">\/\/ USART Baud Rate: 9600<br \/>\n<\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>UCSRA=0x00;<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>UCSRB=0x18;<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>UCSRC=0x86;<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>UBRRH=0x00;<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>UBRRL=0x33;<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\">\n\u00a0<\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>while (1)\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/em><span style=\"color:#339933\"><strong><span style=\"font-family:Calibri\">\/\/<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ubb34\ud55c\ub8e8\ud504\ub85c<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\uc785\ub825\uc744<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\uac10\uc9c0<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ud55c\ub2e4<\/span><span style=\"font-family:Calibri\">.<\/span><\/strong><\/span><em><br \/>\n\t\t\t\t<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>      {<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>      led_control();\u00a0\u00a0\u00a0\u00a0<\/em><span style=\"color:#339933\"><strong><span style=\"font-family:Calibri\">\/\/<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ud568\uc218<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ud638\ucd9c<\/span><\/strong><\/span><em><br \/>\n\t\t\t\t<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>      };<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>}<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\">\n\u00a0<\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>\uacb0\uacfc<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>0~6\uae4c\uc9c0\uc758 \uc785\ub825\uc5d0 \ub530\ub77c LED\uac00 \ubc18\uc751\ud55c\ub2e4.<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"color:red; font-size:10pt\"><strong>\uc751\uc6a9 \ud504\ub85c\uadf8\ub7a8 : \uc785\ub825\uc744 \ubc1b\uc544 LCD\uc5d0 \ud45c\uc2dc \ud574\ubcf4\uc790<br \/>\n<\/strong><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>#include &lt;mega8535.h&gt;<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>#asm<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>   .equ __lcd_port=0x15<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>#endasm<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>#include &lt;lcd.h&gt;<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>#include &lt;stdio.h&gt;<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\">\n\u00a0<\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>unsigned char getdata;\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/em><span style=\"color:#339933\"><strong><span style=\"font-family:Calibri\">\/\/<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\uc785\ub825\ub41c<\/span><span style=\"font-family:Calibri\"> ASCII<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ucf54\ub4dc\ub97c<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ub2f4\uc744<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ubcc0\uc218<\/span><\/strong><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t<\/span><\/span><\/span><\/p>\n<p style=\"text-align: justify\">\n\u00a0<\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>void char_input (void)\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/em><span style=\"color:#339933\"><strong><span style=\"font-family:Calibri\">\/\/<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\uc785\ub825<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ubc1b\uc740<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ubb38\uc790\uc5d0<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ub530\ub77c<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ud589\ub3cc\ud560<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ud568\uc218<\/span><\/strong><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t<\/span><\/span><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>{<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>\u00a0\u00a0\u00a0\u00a0getdata = getchar();\u00a0\u00a0\u00a0\u00a0<\/em><span style=\"color:#339933\"><strong><span style=\"font-family:Calibri\">\/\/<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\uc785\ub825\ub41c<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ubb38\uc790\ub97c<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ubc1b\uace0<\/span><\/strong><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t<\/span><\/span><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>          switch (getdata){<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>          case 0x0D:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/em><span style=\"color:#339933\"><strong><span style=\"font-family:Calibri\">\/\/Enter<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ud0a4<\/span><\/strong><span style=\"font-family:Calibri\"><strong><br \/>\n\t\t\t\t\t\t<\/strong><br \/>\n\t\t\t\t\t<\/span><\/span><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>          \u00a0\u00a0\u00a0\u00a0lcd_gotoxy(0,1);\u00a0\u00a0\u00a0\u00a0<\/em><span style=\"color:#339933\"><strong><span style=\"font-family:Calibri\">\/\/2<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ud589<\/span><span style=\"font-family:Calibri\"> 1<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\uc5f4\ub85c<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ucee4\uc11c<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\uc62e\uae40<\/span><span style=\"font-family:Calibri\"> (<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\uc904\ubc14\uafc8<\/span><\/strong><span style=\"font-family:Calibri\"><strong>)<\/strong><br \/>\n\t\t\t\t\t<\/span><\/span><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>          \u00a0\u00a0\u00a0\u00a0break;<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>          case 0x1B:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/em><span style=\"color:#339933\"><strong><span style=\"font-family:Calibri\">\/\/Esc<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ud0a4<\/span><\/strong><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t<\/span><\/span><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>          \u00a0\u00a0\u00a0\u00a0_lcd_ready();\u00a0\u00a0\u00a0\u00a0<\/em><span style=\"color:#339933\"><strong><span style=\"font-family:Calibri\">\/\/LCD <\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ub370\uc774\ud130<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\uc218\uc2e0<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\uc900\ube44<\/span><\/strong><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t<\/span><\/span><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>          \u00a0\u00a0\u00a0\u00a0_lcd_write_data(0b00000001);\u00a0\u00a0\u00a0\u00a0<\/em><span style=\"color:#339933\"><strong><span style=\"font-family:Calibri\">\/\/<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ud074\ub9ac\uc5b4<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\uba85\ub839<\/span><\/strong><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t<\/span><\/span><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>           \u00a0\u00a0\u00a0\u00a0break;<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>          case 0x09:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/em><span style=\"color:#339933\"><strong><span style=\"font-family:Calibri\">\/\/TAB<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ud0a4<\/span><\/strong><span style=\"font-family:Calibri\"><strong><br \/>\n\t\t\t\t\t\t<\/strong><br \/>\n\t\t\t\t\t<\/span><\/span><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>          \u00a0\u00a0\u00a0\u00a0_lcd_ready();<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>          \u00a0\u00a0\u00a0\u00a0_lcd_write_data(0b00011000);\u00a0\u00a0\u00a0\u00a0<\/em><span style=\"color:#339933\"><strong><span style=\"font-family:Calibri\">\/\/<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\uc804\uccb4<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ud654\uba74<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\uc67c\ucabd\uc73c\ub85c<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\uc26c\ud504\ud2b8<\/span><\/strong><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t<\/span><\/span><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>          \u00a0\u00a0\u00a0\u00a0break;<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>\u00a0\u00a0\u00a0\u00a0case 0x08: _lcd_ready();\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/em><span style=\"color:#339933\"><strong><span style=\"font-family:Calibri\">\/\/BackSpace<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ud0a4<\/span><\/strong><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t<\/span><\/span><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0_lcd_write_data(0b00010000);\u00a0\u00a0\u00a0\u00a0<\/em><span style=\"color:#339933\"><strong><span style=\"font-family:Calibri\">\/\/<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ucee4\uc11c\ub97c<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\uc67c\ucabd\uc73c\ub85c<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ud55c\uce78<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\uc62e\uae40<\/span><\/strong><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t<\/span><\/span><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0lcd_putchar(0x20);\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/em><span style=\"color:#339933\"><strong><span style=\"font-family:Calibri\">\/\/<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\uacf5\ubc31\ubb38\uc790<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\uc785\ub825<\/span><\/strong><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t<\/span><\/span><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0_lcd_ready();<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0_lcd_write_data(0b00010000);\u00a0\u00a0\u00a0\u00a0<\/em><span style=\"color:#339933\"><strong><span style=\"font-family:Calibri\">\/\/<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ucee4\uc11c\ub97c<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\uc67c\ucabd\uc73c\ub85c<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ud55c\uce78<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\uc62e\uae40<\/span><\/strong><\/span><em><br \/>\n\t\t\t\t<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0break;<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>          default:<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>           \u00a0\u00a0\u00a0\u00a0lcd_putchar(getdata);\u00a0\u00a0\u00a0\u00a0<\/em><span style=\"color:#339933\"><strong><span style=\"font-family:Calibri\">\/\/<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ubc1b\uc740<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ubb38\uc790\ub97c<\/span><span style=\"font-family:Calibri\"> LCD<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ub85c<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ucd9c\ub825<\/span><\/strong><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t<\/span><\/span><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>           \u00a0\u00a0\u00a0\u00a0putchar(getdata);\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/em><span style=\"color:#339933\"><strong><span style=\"font-family:Calibri\">\/\/<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ucef4\ud4e8\ud130<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ud654\uba74\uc5d0<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ucd9c\ub825<\/span><span style=\"font-family:Calibri\"> (<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\uc5d0\ucf54<\/span><\/strong><span style=\"font-family:Calibri\"><strong>)<\/strong><br \/>\n\t\t\t\t\t<\/span><\/span><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>           \u00a0\u00a0\u00a0\u00a0PORTA = getdata;\u00a0\u00a0\u00a0\u00a0<\/em><span style=\"color:#339933\"><strong><span style=\"font-family:Calibri\">\/\/LED<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ub85c<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ucd9c\ub825<\/span><span style=\"font-family:Calibri\"> (ASCII code<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ub97c<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ubcfc\uc218<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\uc788\ub2e4<\/span><\/strong><span style=\"font-family:Calibri\"><strong>.)<\/strong><br \/>\n\t\t\t\t\t<\/span><\/span><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>          };<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\">\n\u00a0<\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em> }\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\">\n\u00a0<\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>void main(void)<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>{<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>PORTA=0x00;<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>DDRA=0xFF; \u00a0\u00a0\u00a0\u00a0<\/em><span style=\"color:#339933\"><strong><span style=\"font-family:Calibri\">\/\/LED<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ub85c<\/span><span style=\"font-family:Calibri\"> ASCII code<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ucd9c\ub825\uc744<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\uc704\ud574<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ubaa8\ub450<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ucd9c\ub825\ubaa8\ub4dc\ub85c<\/span><\/strong><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t<\/span><\/span><\/span><\/p>\n<p style=\"text-align: justify\">\n\u00a0<\/p>\n<p style=\"text-align: justify\"><span style=\"color:#339933; font-size:10pt\">\/\/ USART initialization<br \/>\n<\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"color:#339933; font-size:10pt\">\/\/ Communication Parameters: 8 Data, 1 Stop, No Parity<br \/>\n<\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"color:#339933; font-size:10pt\">\/\/ USART Receiver: On<br \/>\n<\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"color:#339933; font-size:10pt\">\/\/ USART Transmitter: On<br \/>\n<\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"color:#339933; font-size:10pt\">\/\/ USART Mode: Asynchronous<br \/>\n<\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"color:#339933; font-size:10pt\">\/\/ USART Baud rate: 9600<br \/>\n<\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>UCSRA=0x00;<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>UCSRB=0x18;<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>UCSRC=0x86;<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>UBRRH=0x00;<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>UBRRL=0x33;<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\">\n\u00a0<\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>lcd_init(16);<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>_lcd_ready();<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>_lcd_write_data(0b00001111);\u00a0\u00a0\u00a0\u00a0<\/em><span style=\"color:#339933\"><strong><span style=\"font-family:Calibri\">\/\/<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ud45c\uc2dc<\/span><span style=\"font-family:Calibri\"> ON\/OFF<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\uc81c\uc5b4<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ud45c\uc2dc<\/span><span style=\"font-family:Calibri\">,<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ucee4\uc11c<\/span><span style=\"font-family:Calibri\">,<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\uc810\uba78<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ubaa8\ub450<\/span><\/strong><span style=\"font-family:Calibri\"><strong> ON<\/strong><br \/>\n\t\t\t\t\t<\/span><\/span><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>  printf(&#8220;Enter : &#8220;);\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/em><span style=\"color:#339933\"><strong><span style=\"font-family:Calibri\">\/\/<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\uc785\ub825\ud558\ub77c\ub294<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\uc548\ub0b4\ubb38<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ud45c\uc2dc<\/span><\/strong><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t<\/span><\/span><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>while (1)\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/em><span style=\"color:#339933\"><strong><span style=\"font-family:Calibri\">\/\/<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ubb34\ud55c\ub8e8\ud504\ub85c<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\uc785\ub825\uc744<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\uac10\uc9c0<\/span><\/strong><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t<\/span><\/span><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>      {<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>      \u00a0\u00a0\u00a0\u00a0char_input();\u00a0\u00a0\u00a0\u00a0<\/em><span style=\"color:#339933\"><strong><span style=\"font-family:Calibri\">\/\/<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ud568\uc218<\/span><span style=\"font-family:Calibri\"><br \/>\n\t\t\t\t\t\t<\/span><span style=\"font-family:\ub9d1\uc740 \uace0\ub515\">\ud638\ucd9c<\/span><\/strong><\/span><em>                               \u00a0\u00a0\u00a0\u00a0<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>      };<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size:10pt\"><em>}<br \/>\n<\/em><\/span><\/p>\n<p style=\"text-align: justify\">\n\u00a0<\/p>\n<p style=\"text-align: justify\"><span style=\"color:#339933; font-size:10pt\"><strong>\/*********************************************<br \/>\n<\/strong><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"color:#339933; font-size:10pt\"><strong>This program was produced by Talsu<br \/>\n<\/strong><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"color:#339933; font-size:10pt\"><strong>RS232\uc2dc\ub9ac\uc5bc \ud1b5\uc2e0\uc744 \uc774\uc6a9\ud558\uc5ec \ud0a4\ubcf4\ub4dc\uc758 \uc785\ub825\uc744 \ubc1b\uc544<br \/>\n<\/strong><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"color:#339933; font-size:10pt\"><strong>LCD\ud654\uba74\uc5d0 \ud45c\uc2dc \ud574\uc8fc\ub294 \ud504\ub85c\uadf8\ub7a8 \uc785\ub2c8\ub2e4.<br \/>\n<\/strong><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"color:#339933; font-size:10pt\"><strong>\ud0a4 \uc785\ub825\uc774 \uc790\uc720 \ub86d\uac8c \ub418\uace0.<br \/>\n<\/strong><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"color:#339933; font-size:10pt\"><strong>Enter\ud0a4 = \uc904\ubc14\uafc8<br \/>\n<\/strong><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"color:#339933; font-size:10pt\"><strong>Backspace = \ud55c\uae00\uc790 \uc9c0\uc6b0\uae30<br \/>\n<\/strong><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"color:#339933; font-size:10pt\"><strong>space = \ub744\uc6b0\uae30<br \/>\n<\/strong><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"color:#339933; font-size:10pt\"><strong>TAB = \ud654\uba74 \uc26c\ud504\ud2b8<br \/>\n<\/strong><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"color:#339933; font-size:10pt\"><strong>*********************************************\/<br \/>\n<\/strong><\/span><\/p>\n<\/p>\n<p><a href=\"http:\/\/192.168.0.71:9090\/wp-content\/uploads\/1\/ik55.pdf\" class=\"aligncenter\"  \/>ik55.pdf<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Code Vison AVR C ATmega 8535 \u00a0 RS232 \uc2dc\ub9ac\uc5bc \ud1b5\uc2e0 \u00a0 \ucee8\ub125\ud130\uc640 \uc2e0\ud638\uc120 RS232 \ud1b5\uc2e0\uc744 \uc704\ud55c \ucee8\ub125\ud130\ub294 9\ud540\uacfc 25\ud540 \ucee8\ub125\ud130\uac00 \uc788\uc73c\ub098, \ucd5c\uadfc\uc5d0\ub294 9\ud540 \ucee8\ub125\ud130\ub97c \ub9ce\uc774 \uc0ac\uc6a9\ud55c\ub2e4. \uc2e4\uc81c \ub370\uc774\ud130\uac00 \uc1a1 \uc218\uc2e0 \ub418\ub294 \ud540\uc740 TXD(3) \uc640 RXD(2) \uc774\uace0 \uae30\ub2a5\uc740 \ub2e4\uc74c\uacfc \uac19\ub2e4. 9\ud540 \ucee8\ub125\ud130\uc758 \ubaa8\uc2b5 \u00a0 TXD &#8211; Transmit Data \ube44\ub3d9\uae30\uc2dd \uc9c1\ub82c \ud1b5\uc2e0 \uc7a5\uce58\uac00 \uc678\ubd80 \uc7a5\uce58\ub85c \ub370\uc774\ud130\ub97c \ubcf4\ub0bc [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":""},"categories":[17],"tags":[57,60,76,269,380],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pXV5a-zO","_links":{"self":[{"href":"https:\/\/talsu.net\/index.php?rest_route=\/wp\/v2\/posts\/2220"}],"collection":[{"href":"https:\/\/talsu.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/talsu.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/talsu.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/talsu.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2220"}],"version-history":[{"count":0,"href":"https:\/\/talsu.net\/index.php?rest_route=\/wp\/v2\/posts\/2220\/revisions"}],"wp:attachment":[{"href":"https:\/\/talsu.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2220"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/talsu.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2220"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/talsu.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2220"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}