<p style="font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;">SP32는 입출력핀의 갯수와 용도도 많을 뿐더러 이를 응용한 모듈의 유형도&nbsp;많아&nbsp;입출력핀을 사용하는 방법이 좀 복잡하다.</p>
<p style="font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;">&nbsp;</p>
<p style="font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;">아래는 ESP32칩을 사용한 기본 모듈인 WROOM32의 핀배열이고 각각의 용도를 표시한 것이다.</p>
<p style="font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;">&nbsp;</p>
<p style="font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; float: none; text-align: center; clear: none; padding-top: 0px !important; padding-bottom: 0px !important;"><span class="imageblock" style="box-sizing: border-box; height: auto; max-width: 100%; display: inline-block; width: 820px;"><img src="https://t1.daumcdn.net/cfile/tistory/9965F6345C9730143E" width="820" filename="esp32pin_1.jpg" filemime="image/jpeg" style="border: 0px; max-width: 100%; height: auto; vertical-align: middle;" /></span></p>
<p style="font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; float: none; text-align: center; clear: none; padding-top: 0px !important; padding-bottom: 0px !important;">&nbsp;</p>
<p style="font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;">그러나 위&nbsp;WROOM 32&nbsp;모듈은 제품 양산용으로서 일반적인 아두이노&nbsp;메이커들이 직접 사용하여 개발하기에는 불편하기 떄문에 여기에&nbsp;USB연결장치, 정전압 레귤레이터, 2.54mm&nbsp;사이즈 핀배열 기능을 추가한&nbsp;ESP32개발용 보드들을&nbsp;사용하게 되는데 이 개발용 보드들도 여러 종류가 있어 혼동스럽다. 다음은 일반적으로 많이 사용하는 36핀 ESP32 개발용 보드의 핀인데, 다른 개발용 보드들은 이와는 다른 핀배열을 가질 수 있으므로 반드시 보드에 표시된 GPIO번호를 정확히 확인하고 회로를 구성해야 한다.</p>
<p style="font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;">&nbsp;</p>
<p style="font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; float: none; text-align: center; clear: none; padding-top: 0px !important; padding-bottom: 0px !important;"><span class="imageblock" style="box-sizing: border-box; height: auto; max-width: 100%; display: inline-block; width: 820px;"><img src="https://t1.daumcdn.net/cfile/tistory/994B61345C97301508" width="820" filename="esp32pin_2.jpg" filemime="image/jpeg" style="border: 0px; max-width: 100%; height: auto; vertical-align: middle;" /></span></p>
<p style="font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;">&nbsp;</p>
<p style="font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;">&nbsp;</p>
<p style="font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;">ESP32 개발용보드에 표시된&nbsp;각각의&nbsp;GPIO핀들의 용도는 다음과 같다.</p>
<p style="font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;">&nbsp;</p>
<p style="font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;"><span style="box-sizing: border-box; font-size: 14pt;"><strong>1.입력전용핀</strong></span></p>
<p style="font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;">&nbsp;</p>
<p style="font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;">GPIO34 에서 GPIO39 까지 6개의 핀은 입력전용으로 출력용도로 사용하면 안된다.</p>
<p style="font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;">&nbsp;</p>
<p style="font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;"><strong><span style="box-sizing: border-box; font-size: 14pt;">2</span><span style="box-sizing: border-box; font-size: 14pt;"><span style="box-sizing: border-box; font-size: 14pt;">.FLASH메모리 전용핀</span></span></strong></p>
<p style="font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;">&nbsp;</p>
<p style="font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;">GPIO6 에서 GPIO11 까지 6개의 핀은 WROOM-32 기본 모듈에서 FLASH메모리용으로 이미 사용하고 있는 핀이다. 개발용 보드에 간혹 이 GPIO6~GPIO11까지의&nbsp;핀이 연결되어 표시된 경우가 있는데 이를 임의로 사용하면 안된다.</p>
<p style="font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;">&nbsp;&nbsp; -GPIO 6 ( SCK/CLK )</p>
<p style="font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;">&nbsp;&nbsp; -</p>
<p style="font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;"><span style="box-sizing: border-box; font-size: 14pt;"><strong>3.터치센서용 핀</strong></span></p>
<p style="font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;">&nbsp;</p>
<p style="font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;">ESP32에는 10개의 터치센서가 내장되어 있다. 즉, 손가락으로 GPIO핀을 터치하면 정전용량를 감지하여 센서로 작동되므로 이 GPIO핀에&nbsp;구리판 등을 연결하여 터치센서로 사용할 수 있다. 또한 이 터치센서 핀들은&nbsp;Deep Sleep모드에서&nbsp;깨어나기 위한&nbsp;Wake up으로 사용될 수 있으므로 예를 들어&nbsp;절전sleep 모드에 있다가 사람이 터치하면 깨어나 작동되는 자동화된 기기를 손쉽게 제작할 수 있게 된다.&nbsp;&nbsp;</p>
<p style="font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;">&nbsp;</p>
<p style="font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; margin-left: 2em; padding-top: 0px !important; padding-bottom: 0px !important;">T0 (GPIO 4)<br />T1 (GPIO 0)<br />T2 (GPIO 2)<br />T3 (GPIO 15)<br />T4 (GPIO 13)<br />T5 (GPIO 12)<br />T6 (GPIO 14)<br />T7 (GPIO 27)<br />T8 (GPIO 33)<br />T9 (GPIO 32)&nbsp;&nbsp;&nbsp;&nbsp;</p>
<p style="font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;">&nbsp;</p>
<p style="font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;"><span style="box-sizing: border-box; font-size: 14pt;"><strong>4.ADC ( Analog to Digital Converter )&nbsp;핀</strong></span></p>
<p style="font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;">&nbsp;</p>
<p style="font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;">ESP8266에서는 10 bit&nbsp;해상도의 ADC가 1개 있었는데&nbsp;ESP32에서는 12bit 해상도&nbsp;ADC가&nbsp;무려 18&nbsp;채널이 지원된다.&nbsp;</p>
<p style="font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;">12bit 해상도이므로 0~4095까지 구분( 10bit일떄에는 0~1023)&nbsp;구분할 수 있다. 즉 0V는 0로 3.3V는 4094로 구분되므로훨씬 정교한 제어가 가능해 진다.&nbsp;</p>
<p style="font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;">&nbsp;</p>
<p style="font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; margin-left: 2em; padding-top: 0px !important; padding-bottom: 0px !important;">ADC1_CH0 (GPIO 36)<br />ADC1_CH1 (GPIO 37)<br />ADC1_CH2 (GPIO 38)<br />ADC1_CH3 (GPIO 39)<br />ADC1_CH4 (GPIO 32)<br />ADC1_CH5 (GPIO 33)<br />ADC1_CH6 (GPIO 34)<br />ADC1_CH7 (GPIO 35)<br />ADC2_CH0 (GPIO 4)<br />ADC2_CH1 (GPIO 0)<br />ADC2_CH2 (GPIO 2)<br />ADC2_CH3 (GPIO 15)<br />ADC2_CH4 (GPIO 13)<br />ADC2_CH5 (GPIO 12)<br />ADC2_CH6 (GPIO 14)<br />ADC2_CH7 (GPIO 27)<br />ADC2_CH8 (GPIO 25)<br />ADC2_CH9 (GPIO 26)</p>
<p style="font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;">&nbsp;&nbsp;&nbsp;</p>
<p style="font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;">&nbsp;</p>
<p style="font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;"><span style="box-sizing: border-box; font-size: 14pt;"><strong>5.DAC ( Digital to Analog&nbsp;Converter )&nbsp;핀</strong></span></p>
<p style="font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;">&nbsp;</p>
<p style="font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;">ESP32에는 8 bit 해상도의 2개의 DAC채널이 있어&nbsp;디지털값을 아날로그&nbsp;Volt값 출력으로 변환할 수&nbsp;있다.</p>
<p style="font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; margin-left: 2em; padding-top: 0px !important; padding-bottom: 0px !important;">DAC1 (GPIO25)<br />DAC2 (GPIO26)&nbsp;</p>
<p style="font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;">&nbsp;</p>
<p style="font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;"><span style="box-sizing: border-box; font-size: 14pt;"><strong>6.RTC ( Real Time Clock&nbsp;)&nbsp;핀</strong></span></p>
<p style="font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;">&nbsp;</p>
<p style="font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;">ESP32는 RTC GPIO기능이 지원된다. ESP32 메인 프로세서가&nbsp;deep sleep모드일 때에도 RTC GPIO핀들은 Ultra Low power co-Processor를 통해 메인 프로세서를 깨울 수가 있는데&nbsp;다음과 같은 핀들을 통해 외부에서&nbsp;이 wake up신호를 줄 수 있다.</p>
<p style="font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;">&nbsp;</p>
<p style="font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; margin-left: 2em; padding-top: 0px !important; padding-bottom: 0px !important;">RTC_GPIO0 (GPIO36)<br />RTC_GPIO3 (GPIO39)<br />RTC_GPIO4 (GPIO34)<br />RTC_GPIO5 (GPIO35)<br />RTC_GPIO6 (GPIO25)<br />RTC_GPIO7 (GPIO26)<br />RTC_GPIO8 (GPIO33)<br />RTC_GPIO9 (GPIO32)<br />RTC_GPIO10 (GPIO4)<br />RTC_GPIO11 (GPIO0)<br />RTC_GPIO12 (GPIO2)<br />RTC_GPIO13 (GPIO15)<br />RTC_GPIO14 (GPIO13)<br />RTC_GPIO15 (GPIO12)<br />RTC_GPIO16 (GPIO14)<br />RTC_GPIO17 (GPIO27)</p>
<p style="font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;">&nbsp;</p>
<p style="font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;"><span style="box-sizing: border-box; font-size: 14pt;"><strong>7.PWM ( Digital to Analog&nbsp;Converter )&nbsp;핀</strong></span></p>
<p style="font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;">&nbsp;</p>
<p style="font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;">ESP32에는 16개의 PWM 채널이&nbsp; 지원되는데&nbsp;각각의 채널은 각자 다른 특성의 PWM 신호를 생성할 수 있다. 즉 PWM 신호를 생성하려면 다음 사항을 지정해야 한다.&nbsp;&nbsp;</p>
<p style="font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;">&nbsp;</p>
<p style="font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; margin-left: 2em; padding-top: 0px !important; padding-bottom: 0px !important;">PWM신호의&nbsp;주파수</p>
<p style="font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; margin-left: 2em; padding-top: 0px !important; padding-bottom: 0px !important;">Duty cycle (&nbsp;출력하려는 값 )</p>
<p style="font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; margin-left: 2em; padding-top: 0px !important; padding-bottom: 0px !important;">PWM채널</p>
<p style="font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; margin-left: 2em; padding-top: 0px !important; padding-bottom: 0px !important;">PWM신호를 출력하려는 GPIO핀 번호&nbsp;&nbsp;&nbsp;&nbsp;</p>
<p style="font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;">&nbsp;</p>
<p style="font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;">PWM출력용 GPIO핀은 임의의 출력핀을 사용하면 되므로 입력전용핀인 GPIO 34 ~ 39번을 제외한 임의의 핀을 사용하면 된다.&nbsp;&nbsp;&nbsp;</p>
<p style="font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;">&nbsp;</p>
<p style="font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; margin-left: 2em; padding-top: 0px !important; padding-bottom: 0px !important;">DAC1 (GPIO25)<br />DAC2 (GPIO26)&nbsp;</p>
<p style="font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;">&nbsp;</p>
<p style="font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;"><span style="box-sizing: border-box; font-size: 14pt;"><strong>8.I2C 통신용&nbsp;핀</strong></span></p>
<p style="font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;">&nbsp;</p>
<p style="font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;">ESP32를 아두이노 IDE에서 사용할 때에는 다음과 같은 GPIO핀을 사용해야 한다.</p>
<p style="font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;">&nbsp;</p>
<p style="font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; margin-left: 2em; padding-top: 0px !important; padding-bottom: 0px !important;">GPIO 21 (SDA)<br />GPIO 22 (SCL)</p>
<p style="font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;">&nbsp;</p>
<p style="font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;"><span style="box-sizing: border-box; font-size: 14pt;"><strong>9.SPI&nbsp;</strong><strong>통신용&nbsp;핀</strong></span></p>
<p style="font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;"><span style="box-sizing: border-box; font-size: 14pt;"></span>&nbsp;</p>
<p style="font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;">SPI용 핀은 다음과 같이&nbsp;배치되어 있다.</p>
<p style="font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;">&nbsp;</p>
<p style="font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; margin-left: 2em; padding-top: 0px !important; padding-bottom: 0px !important;">&nbsp;</p>
<table style="max-width: 100%; width: 719px; font-size: 18px; border-right: 0px solid; border-bottom: 0px solid; border-top-style: solid; border-left-style: solid; border-top-color: initial; border-left-color: initial; font-family: &quot;Open Sans&quot;, sans-serif; border-collapse: separate; color: #3a3a3a; padding: 0px; border-spacing: 0px; margin: 0px 0px 1.5em; background-color: #ffffff;">
   <tbody style="border-width: 0px; border-style: initial; border-color: initial; padding: 0px; margin: 0px;">
      <tr style="border-width: 0px; border-style: initial; border-color: initial; padding: 0px; margin: 0px;">
         <td style="border-top: 0px solid; border-left: 0px solid; border-right-style: solid; border-bottom-style: solid; border-right-color: initial; border-bottom-color: initial; padding: 8px; margin: 0px;"><span style="border-width: 0px; border-style: initial; border-color: initial; font-weight: 700; padding: 0px; margin: 0px;">SPI</span></td>
         <td style="border-top: 0px solid; border-left: 0px solid; border-right-style: solid; border-bottom-style: solid; border-right-color: initial; border-bottom-color: initial; padding: 8px; margin: 0px;"><span style="border-width: 0px; border-style: initial; border-color: initial; font-weight: 700; padding: 0px; margin: 0px;">MOSI</span></td>
         <td style="border-top: 0px solid; border-left: 0px solid; border-right-style: solid; border-bottom-style: solid; border-right-color: initial; border-bottom-color: initial; padding: 8px; margin: 0px;"><span style="border-width: 0px; border-style: initial; border-color: initial; font-weight: 700; padding: 0px; margin: 0px;">MISO</span></td>
         <td style="border-top: 0px solid; border-left: 0px solid; border-right-style: solid; border-bottom-style: solid; border-right-color: initial; border-bottom-color: initial; padding: 8px; margin: 0px;"><span style="border-width: 0px; border-style: initial; border-color: initial; font-weight: 700; padding: 0px; margin: 0px;">CLK</span></td>
         <td style="border-top: 0px solid; border-left: 0px solid; border-right-style: solid; border-bottom-style: solid; border-right-color: initial; border-bottom-color: initial; padding: 8px; margin: 0px;"><span style="border-width: 0px; border-style: initial; border-color: initial; font-weight: 700; padding: 0px; margin: 0px;">CS</span></td>
         </tr>
      <tr style="border-width: 0px; border-style: initial; border-color: initial; padding: 0px; margin: 0px;">
         <td style="border-top: 0px solid; border-left: 0px solid; border-right-style: solid; border-bottom-style: solid; border-right-color: initial; border-bottom-color: initial; padding: 8px; margin: 0px;"><span style="border-width: 0px; border-style: initial; border-color: initial; font-weight: 700; padding: 0px; margin: 0px;">VSPI</span></td>
         <td style="border-top: 0px solid; border-left: 0px solid; border-right-style: solid; border-bottom-style: solid; border-right-color: initial; border-bottom-color: initial; padding: 8px; margin: 0px;">GPIO 23</td>
         <td style="border-top: 0px solid; border-left: 0px solid; border-right-style: solid; border-bottom-style: solid; border-right-color: initial; border-bottom-color: initial; padding: 8px; margin: 0px;">GPIO 19</td>
         <td style="border-top: 0px solid; border-left: 0px solid; border-right-style: solid; border-bottom-style: solid; border-right-color: initial; border-bottom-color: initial; padding: 8px; margin: 0px;">GPIO 18</td>
         <td style="border-top: 0px solid; border-left: 0px solid; border-right-style: solid; border-bottom-style: solid; border-right-color: initial; border-bottom-color: initial; padding: 8px; margin: 0px;">GPIO 5</td>
         </tr>
      <tr style="border-width: 0px; border-style: initial; border-color: initial; padding: 0px; margin: 0px;">
         <td style="border-top: 0px solid; border-left: 0px solid; border-right-style: solid; border-bottom-style: solid; border-right-color: initial; border-bottom-color: initial; padding: 8px; margin: 0px;"><span style="border-width: 0px; border-style: initial; border-color: initial; font-weight: 700; padding: 0px; margin: 0px;">HSPI</span></td>
         <td style="border-top: 0px solid; border-left: 0px solid; border-right-style: solid; border-bottom-style: solid; border-right-color: initial; border-bottom-color: initial; padding: 8px; margin: 0px;">GPIO 13</td>
         <td style="border-top: 0px solid; border-left: 0px solid; border-right-style: solid; border-bottom-style: solid; border-right-color: initial; border-bottom-color: initial; padding: 8px; margin: 0px;">GPIO 12</td>
         <td style="border-top: 0px solid; border-left: 0px solid; border-right-style: solid; border-bottom-style: solid; border-right-color: initial; border-bottom-color: initial; padding: 8px; margin: 0px;">GPIO 14</td>
         <td style="border-top: 0px solid; border-left: 0px solid; border-right-style: solid; border-bottom-style: solid; border-right-color: initial; border-bottom-color: initial; padding: 8px; margin: 0px;">GPIO 15</td>
         </tr>
      </tbody>
   </table>
<p style="font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;">&nbsp;</p>
<p style="font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;"><span style="box-sizing: border-box; font-size: 14pt;"><strong>10.인터럽트&nbsp;</strong></span></p>
<p style="font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;"><span style="box-sizing: border-box; font-size: 14pt;"></span>&nbsp;</p>
<p style="font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;">ESP32의 모든 GPIO핀은 인터럽트용으로 사용할 수 있다.</p>