← Commit history

cross-highlight symbol + footprint viewers

Ray ·a86d69ac3a ·2mo ago ·parent fe36ab2
2 files changed +130
viewers/footprint.htmladded+65
@@ -0,0 +1,65 @@+<!doctype html><html lang=en><head><meta charset=utf-8>+<meta name=viewport content="width=device-width,initial-scale=1"><title>RP2040 footprint</title>+<style>+:root{--bg:#0d1117;--panel:#161b22;--edge:#30363d;--ink:#e6edf3;--mut:#8b949e;--acc:#00b8b0;--accb:#00e6dc;--hi:#6ea8fe}+*{box-sizing:border-box;margin:0}html,body{height:100%}+body{background:var(--bg);color:var(--ink);font-family:'Satoshi',system-ui,sans-serif;display:flex;flex-direction:column}+.bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:8px 11px;border-bottom:1px solid var(--edge);flex:none}+.bar .h{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--mut);font-weight:700}+.bar .sp{flex:1}+.lyrtog{display:inline-flex;align-items:center;gap:6px;font-size:11px;color:var(--mut);background:#1a2130;border:1px solid var(--edge);border-radius:999px;padding:3px 9px;cursor:pointer;user-select:none}+.lyrtog.on{color:var(--ink);border-color:#485162}.lyrtog:not(.on){opacity:.5}+.lyrtog .d{width:8px;height:8px;border-radius:50%;background:#485162}+.stage{flex:1;min-height:0;position:relative;overflow:hidden;background:var(--bg);cursor:grab;touch-action:none}+.stage.drag{cursor:grabbing}+.stage svg{position:absolute;inset:0;width:100%;height:100%}+.pingroup,.pad{cursor:pointer}+.pingroup.hi .pinvis{stroke:var(--hi)!important;stroke-width:7}+rect.pad.hi{stroke:var(--hi);stroke-width:.15;paint-order:stroke}+.lyr-off{display:none}+#tip{position:fixed;z-index:99;pointer-events:none;display:none;max-width:250px;background:#0d1117;border:1px solid var(--acc);border-radius:8px;padding:7px 10px;box-shadow:0 8px 26px #000a}+#tip .tn{font:700 12px ui-monospace,monospace;color:var(--accb)}+#tip .tt{font-size:10px;text-transform:uppercase;letter-spacing:.04em;color:var(--mut);margin-top:1px}+#tip .td{font-size:11px;color:var(--ink);margin-top:5px;line-height:1.4}+</style></head><body>+<div class=bar><span class=h>PCB footprint</span><span class=sp></span><button class="lyrtog on" data-lyr="copper"><span class="d" style="background:#e35d5d"></span>Copper</button><button class="lyrtog on" data-lyr="silk"><span class="d" style="background:#e6edf3"></span>Silkscreen</button><button class="lyrtog" data-lyr="fab"><span class="d" style="background:#8b949e"></span>Fab</button><button class="lyrtog" data-lyr="courtyard"><span class="d" style="background:#bc8cff"></span>Courtyard</button></div>+<div class=stage id=stage><svg xmlns='http://www.w3.org/2000/svg' viewBox='-4.530 -4.530 9.060 9.060' style='width:100%;height:100%'><line class='ly-silk' x1='-3.610' y1='-3.610' x2='-2.960' y2='-3.610' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='-3.610' y1='-2.960' x2='-3.610' y2='-3.610' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='-3.610' y1='3.610' x2='-3.610' y2='2.960' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='-2.960' y1='3.610' x2='-3.610' y2='3.610' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='2.960' y1='-3.610' x2='3.610' y2='-3.610' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='3.610' y1='-3.610' x2='3.610' y2='-2.960' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='3.610' y1='2.960' x2='3.610' y2='3.610' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='3.610' y1='3.610' x2='2.960' y2='3.610' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-courtyard' x1='-4.130' y1='-2.950' x2='-3.750' y2='-2.950' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-4.130' y1='2.950' x2='-4.130' y2='-2.950' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-3.750' y1='-3.750' x2='-2.950' y2='-3.750' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-3.750' y1='-2.950' x2='-3.750' y2='-3.750' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-3.750' y1='2.950' x2='-4.130' y2='2.950' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-3.750' y1='3.750' x2='-3.750' y2='2.950' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-2.950' y1='-4.130' x2='2.950' y2='-4.130' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-2.950' y1='-3.750' x2='-2.950' y2='-4.130' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-2.950' y1='3.750' x2='-3.750' y2='3.750' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-2.950' y1='4.130' x2='-2.950' y2='3.750' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='2.950' y1='-4.130' x2='2.950' y2='-3.750' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='2.950' y1='-3.750' x2='3.750' y2='-3.750' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='2.950' y1='3.750' x2='2.950' y2='4.130' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='2.950' y1='4.130' x2='-2.950' y2='4.130' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='3.750' y1='-3.750' x2='3.750' y2='-2.950' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='3.750' y1='-2.950' x2='4.130' y2='-2.950' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='3.750' y1='2.950' x2='3.750' y2='3.750' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='3.750' y1='3.750' x2='2.950' y2='3.750' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='4.130' y1='-2.950' x2='4.130' y2='2.950' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='4.130' y1='2.950' x2='3.750' y2='2.950' stroke='#4ade80' stroke-width='0.050'/><rect class='ly-copper pad' data-num='' data-name='' x='-1.445' y='-1.445' width='1.290' height='1.290' rx='0.323' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-0.800' y='-0.800' font-size='0.774' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'></text><rect class='ly-copper pad' data-num='' data-name='' x='-1.445' y='0.155' width='1.290' height='1.290' rx='0.323' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-0.800' y='0.800' font-size='0.774' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'></text><rect class='ly-copper pad' data-num='' data-name='' x='0.155' y='-1.445' width='1.290' height='1.290' rx='0.323' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='0.800' y='-0.800' font-size='0.774' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'></text><rect class='ly-copper pad' data-num='' data-name='' x='0.155' y='0.155' width='1.290' height='1.290' rx='0.323' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='0.800' y='0.800' font-size='0.774' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'></text><rect class='ly-copper pad' data-num='1' data-name='IOVDD' x='-3.875' y='-2.700' width='0.875' height='0.200' rx='0.050' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-3.438' y='-2.600' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>1</text><rect class='ly-copper pad' data-num='2' data-name='GPIO0' x='-3.875' y='-2.300' width='0.875' height='0.200' rx='0.050' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-3.438' y='-2.200' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>2</text><rect class='ly-copper pad' data-num='3' data-name='GPIO1' x='-3.875' y='-1.900' width='0.875' height='0.200' rx='0.050' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-3.438' y='-1.800' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>3</text><rect class='ly-copper pad' data-num='4' data-name='GPIO2' x='-3.875' y='-1.500' width='0.875' height='0.200' rx='0.050' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-3.438' y='-1.400' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>4</text><rect class='ly-copper pad' data-num='5' data-name='GPIO3' x='-3.875' y='-1.100' width='0.875' height='0.200' rx='0.050' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-3.438' y='-1.000' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>5</text><rect class='ly-copper pad' data-num='6' data-name='GPIO4' x='-3.875' y='-0.700' width='0.875' height='0.200' rx='0.050' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-3.438' y='-0.600' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>6</text><rect class='ly-copper pad' data-num='7' data-name='GPIO5' x='-3.875' y='-0.300' width='0.875' height='0.200' rx='0.050' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-3.438' y='-0.200' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>7</text><rect class='ly-copper pad' data-num='8' data-name='GPIO6' x='-3.875' y='0.100' width='0.875' height='0.200' rx='0.050' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-3.438' y='0.200' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>8</text><rect class='ly-copper pad' data-num='9' data-name='GPIO7' x='-3.875' y='0.500' width='0.875' height='0.200' rx='0.050' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-3.438' y='0.600' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>9</text><rect class='ly-copper pad' data-num='10' data-name='IOVDD' x='-3.875' y='0.900' width='0.875' height='0.200' rx='0.050' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-3.438' y='1.000' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>10</text><rect class='ly-copper pad' data-num='11' data-name='GPIO8' x='-3.875' y='1.300' width='0.875' height='0.200' rx='0.050' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-3.438' y='1.400' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>11</text><rect class='ly-copper pad' data-num='12' data-name='GPIO9' x='-3.875' y='1.700' width='0.875' height='0.200' rx='0.050' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-3.438' y='1.800' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>12</text><rect class='ly-copper pad' data-num='13' data-name='GPIO10' x='-3.875' y='2.100' width='0.875' height='0.200' rx='0.050' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-3.438' y='2.200' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>13</text><rect class='ly-copper pad' data-num='14' data-name='GPIO11' x='-3.875' y='2.500' width='0.875' height='0.200' rx='0.050' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-3.438' y='2.600' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>14</text><rect class='ly-copper pad' data-num='15' data-name='GPIO12' x='-2.700' y='3.000' width='0.200' height='0.875' rx='0.050' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.600' y='3.438' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>15</text><rect class='ly-copper pad' data-num='16' data-name='GPIO13' x='-2.300' y='3.000' width='0.200' height='0.875' rx='0.050' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.200' y='3.438' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>16</text><rect class='ly-copper pad' data-num='17' data-name='GPIO14' x='-1.900' y='3.000' width='0.200' height='0.875' rx='0.050' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-1.800' y='3.438' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>17</text><rect class='ly-copper pad' data-num='18' data-name='GPIO15' x='-1.500' y='3.000' width='0.200' height='0.875' rx='0.050' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-1.400' y='3.438' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>18</text><rect class='ly-copper pad' data-num='19' data-name='TESTEN' x='-1.100' y='3.000' width='0.200' height='0.875' rx='0.050' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-1.000' y='3.438' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>19</text><rect class='ly-copper pad' data-num='20' data-name='XIN' x='-0.700' y='3.000' width='0.200' height='0.875' rx='0.050' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-0.600' y='3.438' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>20</text><rect class='ly-copper pad' data-num='21' data-name='XOUT' x='-0.300' y='3.000' width='0.200' height='0.875' rx='0.050' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-0.200' y='3.438' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>21</text><rect class='ly-copper pad' data-num='22' data-name='IOVDD' x='0.100' y='3.000' width='0.200' height='0.875' rx='0.050' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='0.200' y='3.438' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>22</text><rect class='ly-copper pad' data-num='23' data-name='DVDD' x='0.500' y='3.000' width='0.200' height='0.875' rx='0.050' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='0.600' y='3.438' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>23</text><rect class='ly-copper pad' data-num='24' data-name='SWCLK' x='0.900' y='3.000' width='0.200' height='0.875' rx='0.050' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='1.000' y='3.438' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>24</text><rect class='ly-copper pad' data-num='25' data-name='SWDIO' x='1.300' y='3.000' width='0.200' height='0.875' rx='0.050' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='1.400' y='3.438' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>25</text><rect class='ly-copper pad' data-num='26' data-name='RUN' x='1.700' y='3.000' width='0.200' height='0.875' rx='0.050' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='1.800' y='3.438' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>26</text><rect class='ly-copper pad' data-num='27' data-name='GPIO16' x='2.100' y='3.000' width='0.200' height='0.875' rx='0.050' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.200' y='3.438' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>27</text><rect class='ly-copper pad' data-num='28' data-name='GPIO17' x='2.500' y='3.000' width='0.200' height='0.875' rx='0.050' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.600' y='3.438' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>28</text><rect class='ly-copper pad' data-num='29' data-name='GPIO18' x='3.000' y='2.500' width='0.875' height='0.200' rx='0.050' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='3.438' y='2.600' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>29</text><rect class='ly-copper pad' data-num='30' data-name='GPIO19' x='3.000' y='2.100' width='0.875' height='0.200' rx='0.050' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='3.438' y='2.200' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>30</text><rect class='ly-copper pad' data-num='31' data-name='GPIO20' x='3.000' y='1.700' width='0.875' height='0.200' rx='0.050' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='3.438' y='1.800' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>31</text><rect class='ly-copper pad' data-num='32' data-name='GPIO21' x='3.000' y='1.300' width='0.875' height='0.200' rx='0.050' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='3.438' y='1.400' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>32</text><rect class='ly-copper pad' data-num='33' data-name='IOVDD' x='3.000' y='0.900' width='0.875' height='0.200' rx='0.050' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='3.438' y='1.000' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>33</text><rect class='ly-copper pad' data-num='34' data-name='GPIO22' x='3.000' y='0.500' width='0.875' height='0.200' rx='0.050' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='3.438' y='0.600' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>34</text><rect class='ly-copper pad' data-num='35' data-name='GPIO23' x='3.000' y='0.100' width='0.875' height='0.200' rx='0.050' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='3.438' y='0.200' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>35</text><rect class='ly-copper pad' data-num='36' data-name='GPIO24' x='3.000' y='-0.300' width='0.875' height='0.200' rx='0.050' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='3.438' y='-0.200' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>36</text><rect class='ly-copper pad' data-num='37' data-name='GPIO25' x='3.000' y='-0.700' width='0.875' height='0.200' rx='0.050' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='3.438' y='-0.600' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>37</text><rect class='ly-copper pad' data-num='38' data-name='GPIO26/ADC0' x='3.000' y='-1.100' width='0.875' height='0.200' rx='0.050' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='3.438' y='-1.000' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>38</text><rect class='ly-copper pad' data-num='39' data-name='GPIO27/ADC1' x='3.000' y='-1.500' width='0.875' height='0.200' rx='0.050' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='3.438' y='-1.400' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>39</text><rect class='ly-copper pad' data-num='40' data-name='GPIO28/ADC2' x='3.000' y='-1.900' width='0.875' height='0.200' rx='0.050' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='3.438' y='-1.800' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>40</text><rect class='ly-copper pad' data-num='41' data-name='GPIO29/ADC3' x='3.000' y='-2.300' width='0.875' height='0.200' rx='0.050' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='3.438' y='-2.200' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>41</text><rect class='ly-copper pad' data-num='42' data-name='IOVDD' x='3.000' y='-2.700' width='0.875' height='0.200' rx='0.050' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='3.438' y='-2.600' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>42</text><rect class='ly-copper pad' data-num='43' data-name='ADC_AVDD' x='2.500' y='-3.875' width='0.200' height='0.875' rx='0.050' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.600' y='-3.438' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>43</text><rect class='ly-copper pad' data-num='44' data-name='VREG_VIN' x='2.100' y='-3.875' width='0.200' height='0.875' rx='0.050' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.200' y='-3.438' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>44</text><rect class='ly-copper pad' data-num='45' data-name='VREG_VOUT' x='1.700' y='-3.875' width='0.200' height='0.875' rx='0.050' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='1.800' y='-3.438' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>45</text><rect class='ly-copper pad' data-num='46' data-name='USB_DM' x='1.300' y='-3.875' width='0.200' height='0.875' rx='0.050' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='1.400' y='-3.438' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>46</text><rect class='ly-copper pad' data-num='47' data-name='USB_DP' x='0.900' y='-3.875' width='0.200' height='0.875' rx='0.050' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='1.000' y='-3.438' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>47</text><rect class='ly-copper pad' data-num='48' data-name='USB_VDD' x='0.500' y='-3.875' width='0.200' height='0.875' rx='0.050' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='0.600' y='-3.438' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>48</text><rect class='ly-copper pad' data-num='49' data-name='IOVDD' x='0.100' y='-3.875' width='0.200' height='0.875' rx='0.050' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='0.200' y='-3.438' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>49</text><rect class='ly-copper pad' data-num='50' data-name='DVDD' x='-0.300' y='-3.875' width='0.200' height='0.875' rx='0.050' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-0.200' y='-3.438' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>50</text><rect class='ly-copper pad' data-num='51' data-name='QSPI_SD3' x='-0.700' y='-3.875' width='0.200' height='0.875' rx='0.050' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-0.600' y='-3.438' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>51</text><rect class='ly-copper pad' data-num='52' data-name='QSPI_SCLK' x='-1.100' y='-3.875' width='0.200' height='0.875' rx='0.050' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-1.000' y='-3.438' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>52</text><rect class='ly-copper pad' data-num='53' data-name='QSPI_SD0' x='-1.500' y='-3.875' width='0.200' height='0.875' rx='0.050' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-1.400' y='-3.438' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>53</text><rect class='ly-copper pad' data-num='54' data-name='QSPI_SD2' x='-1.900' y='-3.875' width='0.200' height='0.875' rx='0.050' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-1.800' y='-3.438' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>54</text><rect class='ly-copper pad' data-num='55' data-name='QSPI_SD1' x='-2.300' y='-3.875' width='0.200' height='0.875' rx='0.050' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.200' y='-3.438' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>55</text><rect class='ly-copper pad' data-num='56' data-name='~{QSPI_SS}' x='-2.700' y='-3.875' width='0.200' height='0.875' rx='0.050' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.600' y='-3.438' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>56</text><rect class='ly-copper pad' data-num='57' data-name='GND' x='-1.600' y='-1.600' width='3.200' height='3.200' rx='0.000' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='0.000' y='0.000' font-size='1.100' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>57</text></svg></div>+<div id=tip></div>+<script>+var KIND="footprint", MPN="RP2040", PINS=[{"desc":"Power supply for digital GPIOs, nominal 1.8V to 3.3V.","name":"IOVDD","number":"1","type":"Power"},{"desc":"General-purpose digital I/O; muxable to SPI0 RX, UART0 TX, I2C0 SDA, PWM0 A, SIO, PIO0, PIO1, USB OVCUR DET.","name":"GPIO0","number":"2","type":"Bidir"},{"desc":"General-purpose digital I/O; muxable to SPI0 CSn, UART0 RX, I2C0 SCL, PWM0 B, SIO, PIO0, PIO1, USB VBUS DET.","name":"GPIO1","number":"3","type":"Bidir"},{"desc":"General-purpose digital I/O; muxable to SPI0 SCK, UART0 CTS, I2C1 SDA, PWM1 A, SIO, PIO0, PIO1, USB VBUS EN.","name":"GPIO2","number":"4","type":"Bidir"},{"desc":"General-purpose digital I/O; muxable to SPI0 TX, UART0 RTS, I2C1 SCL, PWM1 B, SIO, PIO0, PIO1, USB OVCUR DET.","name":"GPIO3","number":"5","type":"Bidir"},{"desc":"General-purpose digital I/O; muxable to SPI0 RX, UART1 TX, I2C0 SDA, PWM2 A, SIO, PIO0, PIO1, USB VBUS DET.","name":"GPIO4","number":"6","type":"Bidir"},{"desc":"General-purpose digital I/O; muxable to SPI0 CSn, UART1 RX, I2C0 SCL, PWM2 B, SIO, PIO0, PIO1, USB VBUS EN.","name":"GPIO5","number":"7","type":"Bidir"},{"desc":"General-purpose digital I/O; muxable to SPI0 SCK, UART1 CTS, I2C1 SDA, PWM3 A, SIO, PIO0, PIO1, USB OVCUR DET.","name":"GPIO6","number":"8","type":"Bidir"},{"desc":"General-purpose digital I/O; muxable to SPI0 TX, UART1 RTS, I2C1 SCL, PWM3 B, SIO, PIO0, PIO1, USB VBUS DET.","name":"GPIO7","number":"9","type":"Bidir"},{"desc":"Power supply for digital GPIOs, nominal 1.8V to 3.3V.","name":"IOVDD","number":"10","type":"Power"},{"desc":"General-purpose digital I/O; muxable to SPI1 RX, UART1 TX, I2C0 SDA, PWM4 A, SIO, PIO0, PIO1, USB VBUS EN.","name":"GPIO8","number":"11","type":"Bidir"},{"desc":"General-purpose digital I/O; muxable to SPI1 CSn, UART1 RX, I2C0 SCL, PWM4 B, SIO, PIO0, PIO1, USB OVCUR DET.","name":"GPIO9","number":"12","type":"Bidir"},{"desc":"General-purpose digital I/O; muxable to SPI1 SCK, UART1 CTS, I2C1 SDA, PWM5 A, SIO, PIO0, PIO1, USB VBUS DET.","name":"GPIO10","number":"13","type":"Bidir"},{"desc":"General-purpose digital I/O; muxable to SPI1 TX, UART1 RTS, I2C1 SCL, PWM5 B, SIO, PIO0, PIO1, USB VBUS EN.","name":"GPIO11","number":"14","type":"Bidir"},{"desc":"General-purpose digital I/O; muxable to SPI1 RX, UART0 TX, I2C0 SDA, PWM6 A, SIO, PIO0, PIO1, USB OVCUR DET.","name":"GPIO12","number":"15","type":"Bidir"},{"desc":"General-purpose digital I/O; muxable to SPI1 CSn, UART0 RX, I2C0 SCL, PWM6 B, SIO, PIO0, PIO1, USB VBUS DET.","name":"GPIO13","number":"16","type":"Bidir"},{"desc":"General-purpose digital I/O; muxable to SPI1 SCK, UART0 CTS, I2C1 SDA, PWM7 A, SIO, PIO0, PIO1, USB VBUS EN.","name":"GPIO14","number":"17","type":"Bidir"},{"desc":"General-purpose digital I/O; muxable to SPI1 TX, UART0 RTS, I2C1 SCL, PWM7 B, SIO, PIO0, PIO1, USB OVCUR DET.","name":"GPIO15","number":"18","type":"Bidir"},{"desc":"Factory test mode pin.","name":"TESTEN","number":"19","type":"Input"},{"desc":"Crystal oscillator input.","name":"XIN","number":"20","type":"Input"},{"desc":"Crystal oscillator output.","name":"XOUT","number":"21","type":"Output"},{"desc":"Power supply for digital GPIOs, nominal 1.8V to 3.3V.","name":"IOVDD","number":"22","type":"Power"},{"desc":"Digital core power supply, nominal 1.1V.","name":"DVDD","number":"23","type":"Power"},{"desc":"Serial Wire Debug clock for the internal SWD multi-drop bus; provides debug access to both processors and can be used to download code.","name":"SWCLK","number":"24","type":"Input"},{"desc":"Serial Wire Debug bidirectional data line for the internal SWD multi-drop bus.","name":"SWDIO","number":"25","type":"Bidir"},{"desc":"Global asynchronous reset pin (active low).","name":"RUN","number":"26","type":"Input"},{"desc":"General-purpose digital I/O; muxable to SPI0 RX, UART0 TX, I2C0 SDA, PWM0 A, SIO, PIO0, PIO1, USB VBUS DET.","name":"GPIO16","number":"27","type":"Bidir"},{"desc":"General-purpose digital I/O; muxable to SPI0 CSn, UART0 RX, I2C0 SCL, PWM0 B, SIO, PIO0, PIO1, USB VBUS EN.","name":"GPIO17","number":"28","type":"Bidir"},{"desc":"General-purpose digital I/O; muxable to SPI0 SCK, UART0 CTS, I2C1 SDA, PWM1 A, SIO, PIO0, PIO1, USB OVCUR DET.","name":"GPIO18","number":"29","type":"Bidir"},{"desc":"General-purpose digital I/O; muxable to SPI0 TX, UART0 RTS, I2C1 SCL, PWM1 B, SIO, PIO0, PIO1, USB VBUS DET.","name":"GPIO19","number":"30","type":"Bidir"},{"desc":"General-purpose digital I/O; muxable to SPI0 RX, UART1 TX, I2C0 SDA, PWM2 A, SIO, PIO0, PIO1, CLOCK GPIN0, USB VBUS EN.","name":"GPIO20","number":"31","type":"Bidir"},{"desc":"General-purpose digital I/O; muxable to SPI0 CSn, UART1 RX, I2C0 SCL, PWM2 B, SIO, PIO0, PIO1, CLOCK GPOUT0, USB OVCUR DET.","name":"GPIO21","number":"32","type":"Bidir"},{"desc":"Power supply for digital GPIOs, nominal 1.8V to 3.3V.","name":"IOVDD","number":"33","type":"Power"},{"desc":"General-purpose digital I/O; muxable to SPI0 SCK, UART1 CTS, I2C1 SDA, PWM3 A, SIO, PIO0, PIO1, CLOCK GPIN1, USB VBUS DET.","name":"GPIO22","number":"34","type":"Bidir"},{"desc":"General-purpose digital I/O; muxable to SPI0 TX, UART1 RTS, I2C1 SCL, PWM3 B, SIO, PIO0, PIO1, CLOCK GPOUT1, USB VBUS EN.","name":"GPIO23","number":"35","type":"Bidir"},{"desc":"General-purpose digital I/O; muxable to SPI1 RX, UART1 TX, I2C0 SDA, PWM4 A, SIO, PIO0, PIO1, CLOCK GPOUT2, USB OVCUR DET.","name":"GPIO24","number":"36","type":"Bidir"},{"desc":"General-purpose digital I/O; muxable to SPI1 CSn, UART1 RX, I2C0 SCL, PWM4 B, SIO, PIO0, PIO1, CLOCK GPOUT3, USB VBUS DET.","name":"GPIO25","number":"37","type":"Bidir"},{"desc":"General-purpose digital I/O with 12-bit ADC input on channel 0; muxable to SPI1 SCK, UART1 CTS, I2C1 SDA, PWM5 A, SIO, PIO0, PIO1, USB VBUS EN.","name":"GPIO26/ADC0","number":"38","type":"Bidir"},{"desc":"General-purpose digital I/O with 12-bit ADC input on channel 1; muxable to SPI1 TX, UART1 RTS, I2C1 SCL, PWM5 B, SIO, PIO0, PIO1, USB OVCUR DET.","name":"GPIO27/ADC1","number":"39","type":"Bidir"},{"desc":"General-purpose digital I/O with 12-bit ADC input on channel 2; muxable to SPI1 RX, UART0 TX, I2C0 SDA, PWM6 A, SIO, PIO0, PIO1, USB VBUS DET.","name":"GPIO28/ADC2","number":"40","type":"Bidir"},{"desc":"General-purpose digital I/O with 12-bit ADC input on channel 3; muxable to SPI1 CSn, UART0 RX, I2C0 SCL, PWM6 B, SIO, PIO0, PIO1, USB VBUS EN.","name":"GPIO29/ADC3","number":"41","type":"Bidir"},{"desc":"Power supply for digital GPIOs, nominal 1.8V to 3.3V.","name":"IOVDD","number":"42","type":"Power"},{"desc":"Analog power supply for the ADC, nominal 3.3V.","name":"ADC_AVDD","number":"43","type":"Power"},{"desc":"Power input to the internal core voltage regulator, nominal 1.8V to 3.3V.","name":"VREG_VIN","number":"44","type":"Power"},{"desc":"Regulated core voltage output from the internal regulator, nominal 1.1V, 100mA max.","name":"VREG_VOUT","number":"45","type":"Power"},{"desc":"USB 1.1 D- line.","name":"USB_DM","number":"46","type":"Bidir"},{"desc":"USB 1.1 D+ line.","name":"USB_DP","number":"47","type":"Bidir"},{"desc":"Power supply for the internal USB Full Speed PHY, nominal 3.3V.","name":"USB_VDD","number":"48","type":"Power"},{"desc":"Power supply for digital GPIOs, nominal 1.8V to 3.3V.","name":"IOVDD","number":"49","type":"Power"},{"desc":"Digital core power supply, nominal 1.1V.","name":"DVDD","number":"50","type":"Power"},{"desc":"QSPI flash data line 3 for the XIP interface; also usable as a software-controlled GPIO if not used for flash.","name":"QSPI_SD3","number":"51","type":"Bidir"},{"desc":"QSPI flash clock output for the XIP interface; also usable as a software-controlled GPIO if not used for flash.","name":"QSPI_SCLK","number":"52","type":"Output"},{"desc":"QSPI flash data line 0 (MOSI in single/dual mode) for the XIP interface; also usable as a software-controlled GPIO if not used for flash.","name":"QSPI_SD0","number":"53","type":"Bidir"},{"desc":"QSPI flash data line 2 for the XIP interface; also usable as a software-controlled GPIO if not used for flash.","name":"QSPI_SD2","number":"54","type":"Bidir"},{"desc":"QSPI flash data line 1 (MISO in single/dual mode) for the XIP interface; also usable as a software-controlled GPIO if not used for flash.","name":"QSPI_SD1","number":"55","type":"Bidir"},{"desc":"QSPI flash chip-select (active low) for the XIP interface; also usable as a software-controlled GPIO if not used for flash.","name":"~{QSPI_SS}","number":"56","type":"Output"},{"desc":"Center exposed thermal pad — single external ground connection bonded to all internal ground pads on the RP2040 die.","name":"GND","number":"57","type":"Power"}];+var byNum={}; PINS.forEach(function(p){byNum[String(p.number)]=p;});+var stage=document.getElementById('stage'), svg=stage.querySelector('svg'), tip=document.getElementById('tip');+// ---- pan/zoom ----+var vb=(svg.getAttribute('viewBox')||'0 0 100 100').split(/\s+/).map(Number), base=vb.slice();+function setVB(){svg.setAttribute('viewBox',vb.join(' '));}+stage.addEventListener('wheel',function(e){e.preventDefault();var r=stage.getBoundingClientRect();var mx=(e.clientX-r.left)/r.width,my=(e.clientY-r.top)/r.height;var f=e.deltaY<0?0.88:1.14;var nw=vb[2]*f,nh=vb[3]*f;vb[0]+=(vb[2]-nw)*mx;vb[1]+=(vb[3]-nh)*my;vb[2]=nw;vb[3]=nh;setVB();},{passive:false});+var pan=null;+stage.addEventListener('pointerdown',function(e){pan={x:e.clientX,y:e.clientY};stage.classList.add('drag');stage.setPointerCapture(e.pointerId);});+stage.addEventListener('pointermove',function(e){if(!pan)return;var r=stage.getBoundingClientRect();vb[0]-=(e.clientX-pan.x)/r.width*vb[2];vb[1]-=(e.clientY-pan.y)/r.height*vb[3];pan={x:e.clientX,y:e.clientY};setVB();});+function endPan(){pan=null;stage.classList.remove('drag');}+stage.addEventListener('pointerup',endPan);stage.addEventListener('pointerleave',endPan);+stage.addEventListener('dblclick',function(){vb=base.slice();setVB();});+// ---- cross-highlight bus ----+function els(n){return [].slice.call(document.querySelectorAll('[data-num="'+n+'"]'));}+function clearHi(){[].slice.call(document.querySelectorAll('.hi')).forEach(function(e){e.classList.remove('hi');});}+function hi(n){els(n).forEach(function(e){e.classList.add('hi');});}+function post(n){try{parent.postMessage({type:'lbr-hover',pin:n===null?null:String(n),mpn:MPN},'*');}catch(_){}}+function showTip(n,x,y){var p=byNum[String(n)];if(!p)return;tip.innerHTML='<span class=tn></span><div class=tt></div><div class=td></div>';tip.querySelector('.tn').textContent=n+'  '+(p.name||'');tip.querySelector('.tt').textContent=p.type||'';var d=p.desc||'';if(d)tip.querySelector('.td').textContent=d;else tip.querySelector('.td').style.display='none';tip.style.display='block';tip.style.left=(x+14)+'px';tip.style.top=(y+12)+'px';}+[].slice.call(document.querySelectorAll('.pingroup,.pad')).forEach(function(g){+  var n=g.getAttribute('data-num');+  g.addEventListener('mouseenter',function(e){clearHi();hi(n);post(n);showTip(n,e.clientX,e.clientY);});+  g.addEventListener('mousemove',function(e){tip.style.left=(e.clientX+14)+'px';tip.style.top=(e.clientY+12)+'px';});+  g.addEventListener('mouseleave',function(){clearHi();post(null);tip.style.display='none';});+});+window.addEventListener('message',function(e){var d=e.data||{};if(d.type!=='lbr-hover')return;clearHi();if(d.pin!=null)hi(d.pin);});+// ---- footprint layer toggles ----+[].slice.call(document.querySelectorAll('.lyrtog')).forEach(function(b){+  function apply(on){[].slice.call(document.querySelectorAll('.ly-'+b.getAttribute('data-lyr'))).forEach(function(el){el.classList.toggle('lyr-off',!on);});}+  apply(b.classList.contains('on'));+  b.addEventListener('click',function(){apply(b.classList.toggle('on'));});+});+// ---- auto-grow the host readme iframe ----+function ph(){var h=Math.max(360,Math.min(16000,document.body.scrollHeight||420));parent.postMessage({type:'readme-height',height:h},'*');}+window.addEventListener('load',ph);setTimeout(ph,300);+</script>+</body></html>
viewers/symbol.htmladded+65
@@ -0,0 +1,65 @@+<!doctype html><html lang=en><head><meta charset=utf-8>+<meta name=viewport content="width=device-width,initial-scale=1"><title>RP2040 symbol</title>+<style>+:root{--bg:#0d1117;--panel:#161b22;--edge:#30363d;--ink:#e6edf3;--mut:#8b949e;--acc:#00b8b0;--accb:#00e6dc;--hi:#6ea8fe}+*{box-sizing:border-box;margin:0}html,body{height:100%}+body{background:var(--bg);color:var(--ink);font-family:'Satoshi',system-ui,sans-serif;display:flex;flex-direction:column}+.bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:8px 11px;border-bottom:1px solid var(--edge);flex:none}+.bar .h{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--mut);font-weight:700}+.bar .sp{flex:1}+.lyrtog{display:inline-flex;align-items:center;gap:6px;font-size:11px;color:var(--mut);background:#1a2130;border:1px solid var(--edge);border-radius:999px;padding:3px 9px;cursor:pointer;user-select:none}+.lyrtog.on{color:var(--ink);border-color:#485162}.lyrtog:not(.on){opacity:.5}+.lyrtog .d{width:8px;height:8px;border-radius:50%;background:#485162}+.stage{flex:1;min-height:0;position:relative;overflow:hidden;background:var(--bg);cursor:grab;touch-action:none}+.stage.drag{cursor:grabbing}+.stage svg{position:absolute;inset:0;width:100%;height:100%}+.pingroup,.pad{cursor:pointer}+.pingroup.hi .pinvis{stroke:var(--hi)!important;stroke-width:7}+rect.pad.hi{stroke:var(--hi);stroke-width:.15;paint-order:stroke}+.lyr-off{display:none}+#tip{position:fixed;z-index:99;pointer-events:none;display:none;max-width:250px;background:#0d1117;border:1px solid var(--acc);border-radius:8px;padding:7px 10px;box-shadow:0 8px 26px #000a}+#tip .tn{font:700 12px ui-monospace,monospace;color:var(--accb)}+#tip .tt{font-size:10px;text-transform:uppercase;letter-spacing:.04em;color:var(--mut);margin-top:1px}+#tip .td{font-size:11px;color:var(--ink);margin-top:5px;line-height:1.4}+</style></head><body>+<div class=bar><span class=h>Schematic symbol</span><span class=sp></span></div>+<div class=stage id=stage><svg xmlns='http://www.w3.org/2000/svg' viewBox='-1050 -1850 2100 3700' style='width:100%;height:100%'><rect x='-850.0' y='-1650.0' width='1700.0' height='3300.0' fill='#e35d5d22' stroke='#e35d5d' stroke-width='4'/><g class='pingroup' data-num='1' data-name='IOVDD'><line class='pinvis' x1='-100.0' y1='-1800.0' x2='-100.0' y2='-1650.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-100.0' y1='-1800.0' x2='-100.0' y2='-1650.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-145.0' y='-1725.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>1</text><text x='-100.0' y='-1620.0' font-size='60' fill='#e6e9ef' text-anchor='middle' dominant-baseline='central'>IOVDD</text><g class='pingroup' data-num='2' data-name='GPIO0'><line class='pinvis' x1='1000.0' y1='-1500.0' x2='850.0' y2='-1500.0' stroke='#dfe4ec' stroke-width='4'/><line x1='1000.0' y1='-1500.0' x2='850.0' y2='-1500.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='925.0' y='-1545.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>2</text><text x='820.0' y='-1500.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>GPIO0</text><g class='pingroup' data-num='3' data-name='GPIO1'><line class='pinvis' x1='1000.0' y1='-1400.0' x2='850.0' y2='-1400.0' stroke='#dfe4ec' stroke-width='4'/><line x1='1000.0' y1='-1400.0' x2='850.0' y2='-1400.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='925.0' y='-1445.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>3</text><text x='820.0' y='-1400.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>GPIO1</text><g class='pingroup' data-num='4' data-name='GPIO2'><line class='pinvis' x1='1000.0' y1='-1300.0' x2='850.0' y2='-1300.0' stroke='#dfe4ec' stroke-width='4'/><line x1='1000.0' y1='-1300.0' x2='850.0' y2='-1300.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='925.0' y='-1345.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>4</text><text x='820.0' y='-1300.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>GPIO2</text><g class='pingroup' data-num='5' data-name='GPIO3'><line class='pinvis' x1='1000.0' y1='-1200.0' x2='850.0' y2='-1200.0' stroke='#dfe4ec' stroke-width='4'/><line x1='1000.0' y1='-1200.0' x2='850.0' y2='-1200.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='925.0' y='-1245.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>5</text><text x='820.0' y='-1200.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>GPIO3</text><g class='pingroup' data-num='6' data-name='GPIO4'><line class='pinvis' x1='1000.0' y1='-1100.0' x2='850.0' y2='-1100.0' stroke='#dfe4ec' stroke-width='4'/><line x1='1000.0' y1='-1100.0' x2='850.0' y2='-1100.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='925.0' y='-1145.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>6</text><text x='820.0' y='-1100.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>GPIO4</text><g class='pingroup' data-num='7' data-name='GPIO5'><line class='pinvis' x1='1000.0' y1='-1000.0' x2='850.0' y2='-1000.0' stroke='#dfe4ec' stroke-width='4'/><line x1='1000.0' y1='-1000.0' x2='850.0' y2='-1000.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='925.0' y='-1045.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>7</text><text x='820.0' y='-1000.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>GPIO5</text><g class='pingroup' data-num='8' data-name='GPIO6'><line class='pinvis' x1='1000.0' y1='-900.0' x2='850.0' y2='-900.0' stroke='#dfe4ec' stroke-width='4'/><line x1='1000.0' y1='-900.0' x2='850.0' y2='-900.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='925.0' y='-945.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>8</text><text x='820.0' y='-900.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>GPIO6</text><g class='pingroup' data-num='9' data-name='GPIO7'><line class='pinvis' x1='1000.0' y1='-800.0' x2='850.0' y2='-800.0' stroke='#dfe4ec' stroke-width='4'/><line x1='1000.0' y1='-800.0' x2='850.0' y2='-800.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='925.0' y='-845.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>9</text><text x='820.0' y='-800.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>GPIO7</text><g class='pingroup' data-num='10' data-name='IOVDD'><line class='pinvis' x1='-100.0' y1='-1800.0' x2='-100.0' y2='-1650.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-100.0' y1='-1800.0' x2='-100.0' y2='-1650.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-145.0' y='-1725.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>10</text><text x='-100.0' y='-1620.0' font-size='60' fill='#e6e9ef' text-anchor='middle' dominant-baseline='central'>IOVDD</text><g class='pingroup' data-num='11' data-name='GPIO8'><line class='pinvis' x1='1000.0' y1='-700.0' x2='850.0' y2='-700.0' stroke='#dfe4ec' stroke-width='4'/><line x1='1000.0' y1='-700.0' x2='850.0' y2='-700.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='925.0' y='-745.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>11</text><text x='820.0' y='-700.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>GPIO8</text><g class='pingroup' data-num='12' data-name='GPIO9'><line class='pinvis' x1='1000.0' y1='-600.0' x2='850.0' y2='-600.0' stroke='#dfe4ec' stroke-width='4'/><line x1='1000.0' y1='-600.0' x2='850.0' y2='-600.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='925.0' y='-645.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>12</text><text x='820.0' y='-600.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>GPIO9</text><g class='pingroup' data-num='13' data-name='GPIO10'><line class='pinvis' x1='1000.0' y1='-500.0' x2='850.0' y2='-500.0' stroke='#dfe4ec' stroke-width='4'/><line x1='1000.0' y1='-500.0' x2='850.0' y2='-500.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='925.0' y='-545.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>13</text><text x='820.0' y='-500.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>GPIO10</text><g class='pingroup' data-num='14' data-name='GPIO11'><line class='pinvis' x1='1000.0' y1='-400.0' x2='850.0' y2='-400.0' stroke='#dfe4ec' stroke-width='4'/><line x1='1000.0' y1='-400.0' x2='850.0' y2='-400.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='925.0' y='-445.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>14</text><text x='820.0' y='-400.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>GPIO11</text><g class='pingroup' data-num='15' data-name='GPIO12'><line class='pinvis' x1='1000.0' y1='-300.0' x2='850.0' y2='-300.0' stroke='#dfe4ec' stroke-width='4'/><line x1='1000.0' y1='-300.0' x2='850.0' y2='-300.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='925.0' y='-345.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>15</text><text x='820.0' y='-300.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>GPIO12</text><g class='pingroup' data-num='16' data-name='GPIO13'><line class='pinvis' x1='1000.0' y1='-200.0' x2='850.0' y2='-200.0' stroke='#dfe4ec' stroke-width='4'/><line x1='1000.0' y1='-200.0' x2='850.0' y2='-200.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='925.0' y='-245.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>16</text><text x='820.0' y='-200.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>GPIO13</text><g class='pingroup' data-num='17' data-name='GPIO14'><line class='pinvis' x1='1000.0' y1='-100.0' x2='850.0' y2='-100.0' stroke='#dfe4ec' stroke-width='4'/><line x1='1000.0' y1='-100.0' x2='850.0' y2='-100.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='925.0' y='-145.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>17</text><text x='820.0' y='-100.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>GPIO14</text><g class='pingroup' data-num='18' data-name='GPIO15'><line class='pinvis' x1='1000.0' y1='-0.0' x2='850.0' y2='-0.0' stroke='#dfe4ec' stroke-width='4'/><line x1='1000.0' y1='-0.0' x2='850.0' y2='-0.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='925.0' y='-45.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>18</text><text x='820.0' y='0.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>GPIO15</text><g class='pingroup' data-num='19' data-name='TESTEN'><line class='pinvis' x1='-1000.0' y1='-1200.0' x2='-850.0' y2='-1200.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-1000.0' y1='-1200.0' x2='-850.0' y2='-1200.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-925.0' y='-1155.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>19</text><text x='-820.0' y='-1200.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>TESTEN</text><g class='pingroup' data-num='20' data-name='XIN'><line class='pinvis' x1='-1000.0' y1='600.0' x2='-850.0' y2='600.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-1000.0' y1='600.0' x2='-850.0' y2='600.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-925.0' y='645.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>20</text><text x='-820.0' y='600.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>XIN</text><g class='pingroup' data-num='21' data-name='XOUT'><line class='pinvis' x1='-1000.0' y1='1000.0' x2='-850.0' y2='1000.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-1000.0' y1='1000.0' x2='-850.0' y2='1000.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-925.0' y='1045.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>21</text><text x='-820.0' y='1000.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>XOUT</text><g class='pingroup' data-num='22' data-name='IOVDD'><line class='pinvis' x1='-100.0' y1='-1800.0' x2='-100.0' y2='-1650.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-100.0' y1='-1800.0' x2='-100.0' y2='-1650.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-145.0' y='-1725.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>22</text><text x='-100.0' y='-1620.0' font-size='60' fill='#e6e9ef' text-anchor='middle' dominant-baseline='central'>IOVDD</text><g class='pingroup' data-num='23' data-name='DVDD'><line class='pinvis' x1='500.0' y1='-1800.0' x2='500.0' y2='-1650.0' stroke='#dfe4ec' stroke-width='4'/><line x1='500.0' y1='-1800.0' x2='500.0' y2='-1650.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='455.0' y='-1725.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>23</text><text x='500.0' y='-1620.0' font-size='60' fill='#e6e9ef' text-anchor='middle' dominant-baseline='central'>DVDD</text><g class='pingroup' data-num='24' data-name='SWCLK'><line class='pinvis' x1='-1000.0' y1='1300.0' x2='-850.0' y2='1300.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-1000.0' y1='1300.0' x2='-850.0' y2='1300.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-925.0' y='1345.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>24</text><text x='-820.0' y='1300.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>SWCLK</text><g class='pingroup' data-num='25' data-name='SWDIO'><line class='pinvis' x1='-1000.0' y1='1400.0' x2='-850.0' y2='1400.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-1000.0' y1='1400.0' x2='-850.0' y2='1400.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-925.0' y='1445.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>25</text><text x='-820.0' y='1400.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>SWDIO</text><g class='pingroup' data-num='26' data-name='RUN'><line class='pinvis' x1='-1000.0' y1='-900.0' x2='-850.0' y2='-900.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-1000.0' y1='-900.0' x2='-850.0' y2='-900.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-925.0' y='-855.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>26</text><text x='-820.0' y='-900.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>RUN</text><g class='pingroup' data-num='27' data-name='GPIO16'><line class='pinvis' x1='1000.0' y1='100.0' x2='850.0' y2='100.0' stroke='#dfe4ec' stroke-width='4'/><line x1='1000.0' y1='100.0' x2='850.0' y2='100.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='925.0' y='55.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>27</text><text x='820.0' y='100.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>GPIO16</text><g class='pingroup' data-num='28' data-name='GPIO17'><line class='pinvis' x1='1000.0' y1='200.0' x2='850.0' y2='200.0' stroke='#dfe4ec' stroke-width='4'/><line x1='1000.0' y1='200.0' x2='850.0' y2='200.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='925.0' y='155.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>28</text><text x='820.0' y='200.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>GPIO17</text><g class='pingroup' data-num='29' data-name='GPIO18'><line class='pinvis' x1='1000.0' y1='300.0' x2='850.0' y2='300.0' stroke='#dfe4ec' stroke-width='4'/><line x1='1000.0' y1='300.0' x2='850.0' y2='300.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='925.0' y='255.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>29</text><text x='820.0' y='300.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>GPIO18</text><g class='pingroup' data-num='30' data-name='GPIO19'><line class='pinvis' x1='1000.0' y1='400.0' x2='850.0' y2='400.0' stroke='#dfe4ec' stroke-width='4'/><line x1='1000.0' y1='400.0' x2='850.0' y2='400.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='925.0' y='355.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>30</text><text x='820.0' y='400.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>GPIO19</text><g class='pingroup' data-num='31' data-name='GPIO20'><line class='pinvis' x1='1000.0' y1='500.0' x2='850.0' y2='500.0' stroke='#dfe4ec' stroke-width='4'/><line x1='1000.0' y1='500.0' x2='850.0' y2='500.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='925.0' y='455.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>31</text><text x='820.0' y='500.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>GPIO20</text><g class='pingroup' data-num='32' data-name='GPIO21'><line class='pinvis' x1='1000.0' y1='600.0' x2='850.0' y2='600.0' stroke='#dfe4ec' stroke-width='4'/><line x1='1000.0' y1='600.0' x2='850.0' y2='600.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='925.0' y='555.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>32</text><text x='820.0' y='600.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>GPIO21</text><g class='pingroup' data-num='33' data-name='IOVDD'><line class='pinvis' x1='-100.0' y1='-1800.0' x2='-100.0' y2='-1650.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-100.0' y1='-1800.0' x2='-100.0' y2='-1650.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-145.0' y='-1725.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>33</text><text x='-100.0' y='-1620.0' font-size='60' fill='#e6e9ef' text-anchor='middle' dominant-baseline='central'>IOVDD</text><g class='pingroup' data-num='34' data-name='GPIO22'><line class='pinvis' x1='1000.0' y1='700.0' x2='850.0' y2='700.0' stroke='#dfe4ec' stroke-width='4'/><line x1='1000.0' y1='700.0' x2='850.0' y2='700.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='925.0' y='655.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>34</text><text x='820.0' y='700.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>GPIO22</text><g class='pingroup' data-num='35' data-name='GPIO23'><line class='pinvis' x1='1000.0' y1='800.0' x2='850.0' y2='800.0' stroke='#dfe4ec' stroke-width='4'/><line x1='1000.0' y1='800.0' x2='850.0' y2='800.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='925.0' y='755.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>35</text><text x='820.0' y='800.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>GPIO23</text><g class='pingroup' data-num='36' data-name='GPIO24'><line class='pinvis' x1='1000.0' y1='900.0' x2='850.0' y2='900.0' stroke='#dfe4ec' stroke-width='4'/><line x1='1000.0' y1='900.0' x2='850.0' y2='900.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='925.0' y='855.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>36</text><text x='820.0' y='900.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>GPIO24</text><g class='pingroup' data-num='37' data-name='GPIO25'><line class='pinvis' x1='1000.0' y1='1000.0' x2='850.0' y2='1000.0' stroke='#dfe4ec' stroke-width='4'/><line x1='1000.0' y1='1000.0' x2='850.0' y2='1000.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='925.0' y='955.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>37</text><text x='820.0' y='1000.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>GPIO25</text><g class='pingroup' data-num='38' data-name='GPIO26/ADC0'><line class='pinvis' x1='1000.0' y1='1200.0' x2='850.0' y2='1200.0' stroke='#dfe4ec' stroke-width='4'/><line x1='1000.0' y1='1200.0' x2='850.0' y2='1200.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='925.0' y='1155.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>38</text><text x='820.0' y='1200.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>GPIO26/ADC0</text><g class='pingroup' data-num='39' data-name='GPIO27/ADC1'><line class='pinvis' x1='1000.0' y1='1300.0' x2='850.0' y2='1300.0' stroke='#dfe4ec' stroke-width='4'/><line x1='1000.0' y1='1300.0' x2='850.0' y2='1300.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='925.0' y='1255.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>39</text><text x='820.0' y='1300.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>GPIO27/ADC1</text><g class='pingroup' data-num='40' data-name='GPIO28/ADC2'><line class='pinvis' x1='1000.0' y1='1400.0' x2='850.0' y2='1400.0' stroke='#dfe4ec' stroke-width='4'/><line x1='1000.0' y1='1400.0' x2='850.0' y2='1400.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='925.0' y='1355.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>40</text><text x='820.0' y='1400.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>GPIO28/ADC2</text><g class='pingroup' data-num='41' data-name='GPIO29/ADC3'><line class='pinvis' x1='1000.0' y1='1500.0' x2='850.0' y2='1500.0' stroke='#dfe4ec' stroke-width='4'/><line x1='1000.0' y1='1500.0' x2='850.0' y2='1500.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='925.0' y='1455.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>41</text><text x='820.0' y='1500.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>GPIO29/ADC3</text><g class='pingroup' data-num='42' data-name='IOVDD'><line class='pinvis' x1='-100.0' y1='-1800.0' x2='-100.0' y2='-1650.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-100.0' y1='-1800.0' x2='-100.0' y2='-1650.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-145.0' y='-1725.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>42</text><text x='-100.0' y='-1620.0' font-size='60' fill='#e6e9ef' text-anchor='middle' dominant-baseline='central'>IOVDD</text><g class='pingroup' data-num='43' data-name='ADC_AVDD'><line class='pinvis' x1='-400.0' y1='-1800.0' x2='-400.0' y2='-1650.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-400.0' y1='-1800.0' x2='-400.0' y2='-1650.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-445.0' y='-1725.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>43</text><text x='-400.0' y='-1620.0' font-size='60' fill='#e6e9ef' text-anchor='middle' dominant-baseline='central'>ADC_AVDD</text><g class='pingroup' data-num='44' data-name='VREG_VIN'><line class='pinvis' x1='100.0' y1='-1800.0' x2='100.0' y2='-1650.0' stroke='#dfe4ec' stroke-width='4'/><line x1='100.0' y1='-1800.0' x2='100.0' y2='-1650.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='55.0' y='-1725.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>44</text><text x='100.0' y='-1620.0' font-size='60' fill='#e6e9ef' text-anchor='middle' dominant-baseline='central'>VREG_VIN</text><g class='pingroup' data-num='45' data-name='VREG_VOUT'><line class='pinvis' x1='300.0' y1='-1800.0' x2='300.0' y2='-1650.0' stroke='#dfe4ec' stroke-width='4'/><line x1='300.0' y1='-1800.0' x2='300.0' y2='-1650.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='255.0' y='-1725.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>45</text><text x='300.0' y='-1620.0' font-size='60' fill='#e6e9ef' text-anchor='middle' dominant-baseline='central'>VREG_VOUT</text><g class='pingroup' data-num='46' data-name='USB_DM'><line class='pinvis' x1='-1000.0' y1='-600.0' x2='-850.0' y2='-600.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-1000.0' y1='-600.0' x2='-850.0' y2='-600.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-925.0' y='-555.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>46</text><text x='-820.0' y='-600.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>USB_DM</text><g class='pingroup' data-num='47' data-name='USB_DP'><line class='pinvis' x1='-1000.0' y1='-500.0' x2='-850.0' y2='-500.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-1000.0' y1='-500.0' x2='-850.0' y2='-500.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-925.0' y='-455.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>47</text><text x='-820.0' y='-500.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>USB_DP</text><g class='pingroup' data-num='48' data-name='USB_VDD'><line class='pinvis' x1='-500.0' y1='-1800.0' x2='-500.0' y2='-1650.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-500.0' y1='-1800.0' x2='-500.0' y2='-1650.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-545.0' y='-1725.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>48</text><text x='-500.0' y='-1620.0' font-size='60' fill='#e6e9ef' text-anchor='middle' dominant-baseline='central'>USB_VDD</text><g class='pingroup' data-num='49' data-name='IOVDD'><line class='pinvis' x1='-100.0' y1='-1800.0' x2='-100.0' y2='-1650.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-100.0' y1='-1800.0' x2='-100.0' y2='-1650.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-145.0' y='-1725.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>49</text><text x='-100.0' y='-1620.0' font-size='60' fill='#e6e9ef' text-anchor='middle' dominant-baseline='central'>IOVDD</text><g class='pingroup' data-num='50' data-name='DVDD'><line class='pinvis' x1='500.0' y1='-1800.0' x2='500.0' y2='-1650.0' stroke='#dfe4ec' stroke-width='4'/><line x1='500.0' y1='-1800.0' x2='500.0' y2='-1650.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='455.0' y='-1725.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>50</text><text x='500.0' y='-1620.0' font-size='60' fill='#e6e9ef' text-anchor='middle' dominant-baseline='central'>DVDD</text><g class='pingroup' data-num='51' data-name='QSPI_SD3'><line class='pinvis' x1='-1000.0' y1='300.0' x2='-850.0' y2='300.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-1000.0' y1='300.0' x2='-850.0' y2='300.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-925.0' y='345.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>51</text><text x='-820.0' y='300.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>QSPI_SD3</text><g class='pingroup' data-num='52' data-name='QSPI_SCLK'><line class='pinvis' x1='-1000.0' y1='-100.0' x2='-850.0' y2='-100.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-1000.0' y1='-100.0' x2='-850.0' y2='-100.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-925.0' y='-55.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>52</text><text x='-820.0' y='-100.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>QSPI_SCLK</text><g class='pingroup' data-num='53' data-name='QSPI_SD0'><line class='pinvis' x1='-1000.0' y1='-0.0' x2='-850.0' y2='-0.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-1000.0' y1='-0.0' x2='-850.0' y2='-0.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-925.0' y='45.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>53</text><text x='-820.0' y='0.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>QSPI_SD0</text><g class='pingroup' data-num='54' data-name='QSPI_SD2'><line class='pinvis' x1='-1000.0' y1='200.0' x2='-850.0' y2='200.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-1000.0' y1='200.0' x2='-850.0' y2='200.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-925.0' y='245.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>54</text><text x='-820.0' y='200.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>QSPI_SD2</text><g class='pingroup' data-num='55' data-name='QSPI_SD1'><line class='pinvis' x1='-1000.0' y1='100.0' x2='-850.0' y2='100.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-1000.0' y1='100.0' x2='-850.0' y2='100.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-925.0' y='145.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>55</text><text x='-820.0' y='100.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>QSPI_SD1</text><g class='pingroup' data-num='56' data-name='~{QSPI_SS}'><line class='pinvis' x1='-1000.0' y1='-200.0' x2='-850.0' y2='-200.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-1000.0' y1='-200.0' x2='-850.0' y2='-200.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-925.0' y='-155.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>56</text><text x='-820.0' y='-200.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>~{QSPI_SS}</text><g class='pingroup' data-num='57' data-name='GND'><line class='pinvis' x1='0.0' y1='1800.0' x2='0.0' y2='1650.0' stroke='#dfe4ec' stroke-width='4'/><line x1='0.0' y1='1800.0' x2='0.0' y2='1650.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='45.0' y='1725.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>57</text><text x='0.0' y='1620.0' font-size='60' fill='#e6e9ef' text-anchor='middle' dominant-baseline='central'>GND</text></svg></div>+<div id=tip></div>+<script>+var KIND="symbol", MPN="RP2040", PINS=[{"desc":"Power supply for digital GPIOs, nominal 1.8V to 3.3V.","name":"IOVDD","number":"1","type":"Power"},{"desc":"General-purpose digital I/O; muxable to SPI0 RX, UART0 TX, I2C0 SDA, PWM0 A, SIO, PIO0, PIO1, USB OVCUR DET.","name":"GPIO0","number":"2","type":"Bidir"},{"desc":"General-purpose digital I/O; muxable to SPI0 CSn, UART0 RX, I2C0 SCL, PWM0 B, SIO, PIO0, PIO1, USB VBUS DET.","name":"GPIO1","number":"3","type":"Bidir"},{"desc":"General-purpose digital I/O; muxable to SPI0 SCK, UART0 CTS, I2C1 SDA, PWM1 A, SIO, PIO0, PIO1, USB VBUS EN.","name":"GPIO2","number":"4","type":"Bidir"},{"desc":"General-purpose digital I/O; muxable to SPI0 TX, UART0 RTS, I2C1 SCL, PWM1 B, SIO, PIO0, PIO1, USB OVCUR DET.","name":"GPIO3","number":"5","type":"Bidir"},{"desc":"General-purpose digital I/O; muxable to SPI0 RX, UART1 TX, I2C0 SDA, PWM2 A, SIO, PIO0, PIO1, USB VBUS DET.","name":"GPIO4","number":"6","type":"Bidir"},{"desc":"General-purpose digital I/O; muxable to SPI0 CSn, UART1 RX, I2C0 SCL, PWM2 B, SIO, PIO0, PIO1, USB VBUS EN.","name":"GPIO5","number":"7","type":"Bidir"},{"desc":"General-purpose digital I/O; muxable to SPI0 SCK, UART1 CTS, I2C1 SDA, PWM3 A, SIO, PIO0, PIO1, USB OVCUR DET.","name":"GPIO6","number":"8","type":"Bidir"},{"desc":"General-purpose digital I/O; muxable to SPI0 TX, UART1 RTS, I2C1 SCL, PWM3 B, SIO, PIO0, PIO1, USB VBUS DET.","name":"GPIO7","number":"9","type":"Bidir"},{"desc":"Power supply for digital GPIOs, nominal 1.8V to 3.3V.","name":"IOVDD","number":"10","type":"Power"},{"desc":"General-purpose digital I/O; muxable to SPI1 RX, UART1 TX, I2C0 SDA, PWM4 A, SIO, PIO0, PIO1, USB VBUS EN.","name":"GPIO8","number":"11","type":"Bidir"},{"desc":"General-purpose digital I/O; muxable to SPI1 CSn, UART1 RX, I2C0 SCL, PWM4 B, SIO, PIO0, PIO1, USB OVCUR DET.","name":"GPIO9","number":"12","type":"Bidir"},{"desc":"General-purpose digital I/O; muxable to SPI1 SCK, UART1 CTS, I2C1 SDA, PWM5 A, SIO, PIO0, PIO1, USB VBUS DET.","name":"GPIO10","number":"13","type":"Bidir"},{"desc":"General-purpose digital I/O; muxable to SPI1 TX, UART1 RTS, I2C1 SCL, PWM5 B, SIO, PIO0, PIO1, USB VBUS EN.","name":"GPIO11","number":"14","type":"Bidir"},{"desc":"General-purpose digital I/O; muxable to SPI1 RX, UART0 TX, I2C0 SDA, PWM6 A, SIO, PIO0, PIO1, USB OVCUR DET.","name":"GPIO12","number":"15","type":"Bidir"},{"desc":"General-purpose digital I/O; muxable to SPI1 CSn, UART0 RX, I2C0 SCL, PWM6 B, SIO, PIO0, PIO1, USB VBUS DET.","name":"GPIO13","number":"16","type":"Bidir"},{"desc":"General-purpose digital I/O; muxable to SPI1 SCK, UART0 CTS, I2C1 SDA, PWM7 A, SIO, PIO0, PIO1, USB VBUS EN.","name":"GPIO14","number":"17","type":"Bidir"},{"desc":"General-purpose digital I/O; muxable to SPI1 TX, UART0 RTS, I2C1 SCL, PWM7 B, SIO, PIO0, PIO1, USB OVCUR DET.","name":"GPIO15","number":"18","type":"Bidir"},{"desc":"Factory test mode pin.","name":"TESTEN","number":"19","type":"Input"},{"desc":"Crystal oscillator input.","name":"XIN","number":"20","type":"Input"},{"desc":"Crystal oscillator output.","name":"XOUT","number":"21","type":"Output"},{"desc":"Power supply for digital GPIOs, nominal 1.8V to 3.3V.","name":"IOVDD","number":"22","type":"Power"},{"desc":"Digital core power supply, nominal 1.1V.","name":"DVDD","number":"23","type":"Power"},{"desc":"Serial Wire Debug clock for the internal SWD multi-drop bus; provides debug access to both processors and can be used to download code.","name":"SWCLK","number":"24","type":"Input"},{"desc":"Serial Wire Debug bidirectional data line for the internal SWD multi-drop bus.","name":"SWDIO","number":"25","type":"Bidir"},{"desc":"Global asynchronous reset pin (active low).","name":"RUN","number":"26","type":"Input"},{"desc":"General-purpose digital I/O; muxable to SPI0 RX, UART0 TX, I2C0 SDA, PWM0 A, SIO, PIO0, PIO1, USB VBUS DET.","name":"GPIO16","number":"27","type":"Bidir"},{"desc":"General-purpose digital I/O; muxable to SPI0 CSn, UART0 RX, I2C0 SCL, PWM0 B, SIO, PIO0, PIO1, USB VBUS EN.","name":"GPIO17","number":"28","type":"Bidir"},{"desc":"General-purpose digital I/O; muxable to SPI0 SCK, UART0 CTS, I2C1 SDA, PWM1 A, SIO, PIO0, PIO1, USB OVCUR DET.","name":"GPIO18","number":"29","type":"Bidir"},{"desc":"General-purpose digital I/O; muxable to SPI0 TX, UART0 RTS, I2C1 SCL, PWM1 B, SIO, PIO0, PIO1, USB VBUS DET.","name":"GPIO19","number":"30","type":"Bidir"},{"desc":"General-purpose digital I/O; muxable to SPI0 RX, UART1 TX, I2C0 SDA, PWM2 A, SIO, PIO0, PIO1, CLOCK GPIN0, USB VBUS EN.","name":"GPIO20","number":"31","type":"Bidir"},{"desc":"General-purpose digital I/O; muxable to SPI0 CSn, UART1 RX, I2C0 SCL, PWM2 B, SIO, PIO0, PIO1, CLOCK GPOUT0, USB OVCUR DET.","name":"GPIO21","number":"32","type":"Bidir"},{"desc":"Power supply for digital GPIOs, nominal 1.8V to 3.3V.","name":"IOVDD","number":"33","type":"Power"},{"desc":"General-purpose digital I/O; muxable to SPI0 SCK, UART1 CTS, I2C1 SDA, PWM3 A, SIO, PIO0, PIO1, CLOCK GPIN1, USB VBUS DET.","name":"GPIO22","number":"34","type":"Bidir"},{"desc":"General-purpose digital I/O; muxable to SPI0 TX, UART1 RTS, I2C1 SCL, PWM3 B, SIO, PIO0, PIO1, CLOCK GPOUT1, USB VBUS EN.","name":"GPIO23","number":"35","type":"Bidir"},{"desc":"General-purpose digital I/O; muxable to SPI1 RX, UART1 TX, I2C0 SDA, PWM4 A, SIO, PIO0, PIO1, CLOCK GPOUT2, USB OVCUR DET.","name":"GPIO24","number":"36","type":"Bidir"},{"desc":"General-purpose digital I/O; muxable to SPI1 CSn, UART1 RX, I2C0 SCL, PWM4 B, SIO, PIO0, PIO1, CLOCK GPOUT3, USB VBUS DET.","name":"GPIO25","number":"37","type":"Bidir"},{"desc":"General-purpose digital I/O with 12-bit ADC input on channel 0; muxable to SPI1 SCK, UART1 CTS, I2C1 SDA, PWM5 A, SIO, PIO0, PIO1, USB VBUS EN.","name":"GPIO26/ADC0","number":"38","type":"Bidir"},{"desc":"General-purpose digital I/O with 12-bit ADC input on channel 1; muxable to SPI1 TX, UART1 RTS, I2C1 SCL, PWM5 B, SIO, PIO0, PIO1, USB OVCUR DET.","name":"GPIO27/ADC1","number":"39","type":"Bidir"},{"desc":"General-purpose digital I/O with 12-bit ADC input on channel 2; muxable to SPI1 RX, UART0 TX, I2C0 SDA, PWM6 A, SIO, PIO0, PIO1, USB VBUS DET.","name":"GPIO28/ADC2","number":"40","type":"Bidir"},{"desc":"General-purpose digital I/O with 12-bit ADC input on channel 3; muxable to SPI1 CSn, UART0 RX, I2C0 SCL, PWM6 B, SIO, PIO0, PIO1, USB VBUS EN.","name":"GPIO29/ADC3","number":"41","type":"Bidir"},{"desc":"Power supply for digital GPIOs, nominal 1.8V to 3.3V.","name":"IOVDD","number":"42","type":"Power"},{"desc":"Analog power supply for the ADC, nominal 3.3V.","name":"ADC_AVDD","number":"43","type":"Power"},{"desc":"Power input to the internal core voltage regulator, nominal 1.8V to 3.3V.","name":"VREG_VIN","number":"44","type":"Power"},{"desc":"Regulated core voltage output from the internal regulator, nominal 1.1V, 100mA max.","name":"VREG_VOUT","number":"45","type":"Power"},{"desc":"USB 1.1 D- line.","name":"USB_DM","number":"46","type":"Bidir"},{"desc":"USB 1.1 D+ line.","name":"USB_DP","number":"47","type":"Bidir"},{"desc":"Power supply for the internal USB Full Speed PHY, nominal 3.3V.","name":"USB_VDD","number":"48","type":"Power"},{"desc":"Power supply for digital GPIOs, nominal 1.8V to 3.3V.","name":"IOVDD","number":"49","type":"Power"},{"desc":"Digital core power supply, nominal 1.1V.","name":"DVDD","number":"50","type":"Power"},{"desc":"QSPI flash data line 3 for the XIP interface; also usable as a software-controlled GPIO if not used for flash.","name":"QSPI_SD3","number":"51","type":"Bidir"},{"desc":"QSPI flash clock output for the XIP interface; also usable as a software-controlled GPIO if not used for flash.","name":"QSPI_SCLK","number":"52","type":"Output"},{"desc":"QSPI flash data line 0 (MOSI in single/dual mode) for the XIP interface; also usable as a software-controlled GPIO if not used for flash.","name":"QSPI_SD0","number":"53","type":"Bidir"},{"desc":"QSPI flash data line 2 for the XIP interface; also usable as a software-controlled GPIO if not used for flash.","name":"QSPI_SD2","number":"54","type":"Bidir"},{"desc":"QSPI flash data line 1 (MISO in single/dual mode) for the XIP interface; also usable as a software-controlled GPIO if not used for flash.","name":"QSPI_SD1","number":"55","type":"Bidir"},{"desc":"QSPI flash chip-select (active low) for the XIP interface; also usable as a software-controlled GPIO if not used for flash.","name":"~{QSPI_SS}","number":"56","type":"Output"},{"desc":"Center exposed thermal pad — single external ground connection bonded to all internal ground pads on the RP2040 die.","name":"GND","number":"57","type":"Power"}];+var byNum={}; PINS.forEach(function(p){byNum[String(p.number)]=p;});+var stage=document.getElementById('stage'), svg=stage.querySelector('svg'), tip=document.getElementById('tip');+// ---- pan/zoom ----+var vb=(svg.getAttribute('viewBox')||'0 0 100 100').split(/\s+/).map(Number), base=vb.slice();+function setVB(){svg.setAttribute('viewBox',vb.join(' '));}+stage.addEventListener('wheel',function(e){e.preventDefault();var r=stage.getBoundingClientRect();var mx=(e.clientX-r.left)/r.width,my=(e.clientY-r.top)/r.height;var f=e.deltaY<0?0.88:1.14;var nw=vb[2]*f,nh=vb[3]*f;vb[0]+=(vb[2]-nw)*mx;vb[1]+=(vb[3]-nh)*my;vb[2]=nw;vb[3]=nh;setVB();},{passive:false});+var pan=null;+stage.addEventListener('pointerdown',function(e){pan={x:e.clientX,y:e.clientY};stage.classList.add('drag');stage.setPointerCapture(e.pointerId);});+stage.addEventListener('pointermove',function(e){if(!pan)return;var r=stage.getBoundingClientRect();vb[0]-=(e.clientX-pan.x)/r.width*vb[2];vb[1]-=(e.clientY-pan.y)/r.height*vb[3];pan={x:e.clientX,y:e.clientY};setVB();});+function endPan(){pan=null;stage.classList.remove('drag');}+stage.addEventListener('pointerup',endPan);stage.addEventListener('pointerleave',endPan);+stage.addEventListener('dblclick',function(){vb=base.slice();setVB();});+// ---- cross-highlight bus ----+function els(n){return [].slice.call(document.querySelectorAll('[data-num="'+n+'"]'));}+function clearHi(){[].slice.call(document.querySelectorAll('.hi')).forEach(function(e){e.classList.remove('hi');});}+function hi(n){els(n).forEach(function(e){e.classList.add('hi');});}+function post(n){try{parent.postMessage({type:'lbr-hover',pin:n===null?null:String(n),mpn:MPN},'*');}catch(_){}}+function showTip(n,x,y){var p=byNum[String(n)];if(!p)return;tip.innerHTML='<span class=tn></span><div class=tt></div><div class=td></div>';tip.querySelector('.tn').textContent=n+'  '+(p.name||'');tip.querySelector('.tt').textContent=p.type||'';var d=p.desc||'';if(d)tip.querySelector('.td').textContent=d;else tip.querySelector('.td').style.display='none';tip.style.display='block';tip.style.left=(x+14)+'px';tip.style.top=(y+12)+'px';}+[].slice.call(document.querySelectorAll('.pingroup,.pad')).forEach(function(g){+  var n=g.getAttribute('data-num');+  g.addEventListener('mouseenter',function(e){clearHi();hi(n);post(n);showTip(n,e.clientX,e.clientY);});+  g.addEventListener('mousemove',function(e){tip.style.left=(e.clientX+14)+'px';tip.style.top=(e.clientY+12)+'px';});+  g.addEventListener('mouseleave',function(){clearHi();post(null);tip.style.display='none';});+});+window.addEventListener('message',function(e){var d=e.data||{};if(d.type!=='lbr-hover')return;clearHi();if(d.pin!=null)hi(d.pin);});+// ---- footprint layer toggles ----+[].slice.call(document.querySelectorAll('.lyrtog')).forEach(function(b){+  function apply(on){[].slice.call(document.querySelectorAll('.ly-'+b.getAttribute('data-lyr'))).forEach(function(el){el.classList.toggle('lyr-off',!on);});}+  apply(b.classList.contains('on'));+  b.addEventListener('click',function(){apply(b.classList.toggle('on'));});+});+// ---- auto-grow the host readme iframe ----+function ph(){var h=Math.max(360,Math.min(16000,document.body.scrollHeight||420));parent.postMessage({type:'readme-height',height:h},'*');}+window.addEventListener('load',ph);setTimeout(ph,300);+</script>+</body></html>