html`
<div style="background: #f8f9fa; padding: 20px; border-radius: 12px; margin: 15px 0;">
<h4 class="depth-l0" style="margin-top: 0; color: #2C3E50;">ESP32 DevKit Pin Functions</h4>
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 15px;">
<div style="background: white; padding: 12px; border-radius: 8px; border-left: 4px solid #E74C3C; min-width: 0;">
<strong style="color: #E74C3C;">Power</strong><br>
<code style="font-size: 12px; white-space: normal; overflow-wrap: anywhere; display: block; line-height: 1.5;">3.3V, 5V, GND</code>
</div>
<div style="background: white; padding: 12px; border-radius: 8px; border-left: 4px solid #27AE60; min-width: 0;">
<strong style="color: #27AE60;">ADC (12-bit)</strong><br>
<code style="font-size: 12px; white-space: normal; overflow-wrap: anywhere; display: block; line-height: 1.5;">ADC1: GPIO32-39<br>ADC2: GPIO0,2,4,12-15,25-27</code><br>
<small style="font-size: 10px; color: #7F8C8D;">ADC2 unavailable when Wi-Fi active</small>
</div>
<div style="background: white; padding: 12px; border-radius: 8px; border-left: 4px solid #3498DB; min-width: 0;">
<strong style="color: #3498DB;">DAC</strong><br>
<code style="font-size: 12px; white-space: normal; overflow-wrap: anywhere; display: block; line-height: 1.5;">GPIO25 (DAC1), GPIO26 (DAC2)</code>
</div>
<div style="background: white; padding: 12px; border-radius: 8px; border-left: 4px solid #9B59B6; min-width: 0;">
<strong style="color: #9B59B6;">I2C (default)</strong><br>
<code style="font-size: 12px; white-space: normal; overflow-wrap: anywhere; display: block; line-height: 1.5;">SDA: GPIO21, SCL: GPIO22</code>
</div>
<div style="background: white; padding: 12px; border-radius: 8px; border-left: 4px solid #F39C12; min-width: 0;">
<strong style="color: #F39C12;">SPI (default)</strong><br>
<code style="font-size: 12px; white-space: normal; overflow-wrap: anywhere; display: block; line-height: 1.5;">MOSI:23, MISO:19, CLK:18, CS:5</code>
</div>
<div style="background: white; padding: 12px; border-radius: 8px; border-left: 4px solid #16A085; min-width: 0;">
<strong style="color: #16A085;">UART</strong><br>
<code style="font-size: 12px; white-space: normal; overflow-wrap: anywhere; display: block; line-height: 1.5;">UART0: TX1, RX3<br>UART2: TX17, RX16</code>
</div>
<div style="background: white; padding: 12px; border-radius: 8px; border-left: 4px solid #E67E22; min-width: 0;">
<strong style="color: #E67E22;">Touch</strong><br>
<code style="font-size: 12px; white-space: normal; overflow-wrap: anywhere; display: block; line-height: 1.5;">GPIO0,2,4,12,13,14,15,27,32,33</code>
</div>
<div style="background: white; padding: 12px; border-radius: 8px; border-left: 4px solid #7F8C8D; min-width: 0;">
<strong style="color: #7F8C8D;">Strapping (avoid)</strong><br>
<code style="font-size: 12px; white-space: normal; overflow-wrap: anywhere; display: block; line-height: 1.5;">GPIO0,2,5,12,15 (boot mode)</code>
</div>
</div>
<div style="margin-top: 15px; padding: 10px; background: #FEF5E7; border-radius: 6px; font-size: 13px;">
<strong>Note:</strong> GPIO34-39 are input-only (no internal pull-up/pull-down).
</div>
</div>
`Pin-Out Reference
Pin-Out Reference
animation
electronics
Pin-Out Reference
Use the pin reference to find possible power, analog, and bus connections. Check each choice against the exact board and chip data sheet before connecting it.