← Commit history

pin 1: carry the footprint's marker into the .lbr, the viewer and page.json (silk-marker, drawn, top-left)

Ray ·802af92c6a · ·parent 26cd2ce
5 files changed +662−3
package.json+2−1
@@ -24,6 +24,7 @@     "docs/hero.png",     "docs/stc15w408as-35i-tssop20-datasheet.pdf",     "viewers/symbol.html",-    "viewers/footprint.html"+    "viewers/footprint.html",+    "pads.json"   ] }\ No newline at end of file
pads.jsonadded+647
@@ -0,0 +1,647 @@+{+ "schema": "adom.pads/1",+ "slug": "stc15w408as-35i-tssop20",+ "footprint": "TSSOP-20_4.4x6.5mm_P0.65mm",+ "generated_from": {+  "footprint": "TSSOP-20_4.4x6.5mm_P0.65mm@sha256:b7ca3a31dd45c122",+  "pins": "page.json:component.pins",+  "overrides": null+ },+ "pin1": {+  "pad": "1",+  "at": [+   -2.8625,+   -2.925+  ],+  "corner": "top-left",+  "source": "silk-marker",+  "derived_from": "TSSOP-20_4.4x6.5mm_P0.65mm@sha256:b7ca3a31dd45c122"+ },+ "pad_count": 20,+ "symbol_pins": [+  "1",+  "10",+  "11",+  "12",+  "13",+  "14",+  "15",+  "16",+  "17",+  "18",+  "19",+  "2",+  "20",+  "3",+  "4",+  "5",+  "6",+  "7",+  "8",+  "9"+ ],+ "paste_apertures": 0,+ "issues": [],+ "pads": [+  {+   "pad": "1",+   "kind": "smd",+   "shape": "roundrect",+   "at": [+    -2.8625,+    -2.925+   ],+   "rot": 0.0,+   "size": [+    1.475,+    0.4+   ],+   "layers": [+    "F.Cu",+    "F.Mask",+    "F.Paste"+   ],+   "thermal": false,+   "pin": "1",+   "name": "P1.2/ADC2/SS/ECI/CMPO",+   "type": "bidirectional",+   "description": "Standard I/O PORT1[2]. Muxed with ADC input channel 2, SPI slave-select (SS), CCP/PCA external clock input (ECI), and analog comparator output (CMPO).",+   "is_pin1": true,+   "source": {+    "geometry": "TSSOP-20_4.4x6.5mm_P0.65mm.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  },+  {+   "pad": "2",+   "kind": "smd",+   "shape": "roundrect",+   "at": [+    -2.8625,+    -2.275+   ],+   "rot": 0.0,+   "size": [+    1.475,+    0.4+   ],+   "layers": [+    "F.Cu",+    "F.Mask",+    "F.Paste"+   ],+   "thermal": false,+   "pin": "2",+   "name": "P1.3/ADC3/MOSI",+   "type": "bidirectional",+   "description": "Standard I/O PORT1[3]. Muxed with ADC input channel 3 and SPI master-out/slave-in (MOSI).",+   "is_pin1": false,+   "source": {+    "geometry": "TSSOP-20_4.4x6.5mm_P0.65mm.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  },+  {+   "pad": "3",+   "kind": "smd",+   "shape": "roundrect",+   "at": [+    -2.8625,+    -1.625+   ],+   "rot": 0.0,+   "size": [+    1.475,+    0.4+   ],+   "layers": [+    "F.Cu",+    "F.Mask",+    "F.Paste"+   ],+   "thermal": false,+   "pin": "3",+   "name": "P1.4/ADC4/MISO",+   "type": "bidirectional",+   "description": "Standard I/O PORT1[4]. Muxed with ADC input channel 4 and SPI master-in/slave-out (MISO).",+   "is_pin1": false,+   "source": {+    "geometry": "TSSOP-20_4.4x6.5mm_P0.65mm.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  },+  {+   "pad": "4",+   "kind": "smd",+   "shape": "roundrect",+   "at": [+    -2.8625,+    -0.975+   ],+   "rot": 0.0,+   "size": [+    1.475,+    0.4+   ],+   "layers": [+    "F.Cu",+    "F.Mask",+    "F.Paste"+   ],+   "thermal": false,+   "pin": "4",+   "name": "P1.5/ADC5/SCLK",+   "type": "bidirectional",+   "description": "Standard I/O PORT1[5]. Muxed with ADC input channel 5 and SPI clock (SCLK).",+   "is_pin1": false,+   "source": {+    "geometry": "TSSOP-20_4.4x6.5mm_P0.65mm.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  },+  {+   "pad": "5",+   "kind": "smd",+   "shape": "roundrect",+   "at": [+    -2.8625,+    -0.325+   ],+   "rot": 0.0,+   "size": [+    1.475,+    0.4+   ],+   "layers": [+    "F.Cu",+    "F.Mask",+    "F.Paste"+   ],+   "thermal": false,+   "pin": "5",+   "name": "P1.6/ADC6/RxD_3/XTAL2/SysClkO_2",+   "type": "bidirectional",+   "description": "Standard I/O PORT1[6]. Muxed with ADC input channel 6, alternate UART receive (RxD_3), external-crystal output XTAL2, and secondary system-clock output (SysClkO_2 = SysClk/1, /2, or /4).",+   "is_pin1": false,+   "source": {+    "geometry": "TSSOP-20_4.4x6.5mm_P0.65mm.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  },+  {+   "pad": "6",+   "kind": "smd",+   "shape": "roundrect",+   "at": [+    -2.8625,+    0.325+   ],+   "rot": 0.0,+   "size": [+    1.475,+    0.4+   ],+   "layers": [+    "F.Cu",+    "F.Mask",+    "F.Paste"+   ],+   "thermal": false,+   "pin": "6",+   "name": "P1.7/ADC7/TxD_3/XTAL1",+   "type": "bidirectional",+   "description": "Standard I/O PORT1[7]. Muxed with ADC input channel 7, alternate UART transmit (TxD_3), and external-crystal input XTAL1 (also external-clock input when a clock source is fed directly).",+   "is_pin1": false,+   "source": {+    "geometry": "TSSOP-20_4.4x6.5mm_P0.65mm.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  },+  {+   "pad": "7",+   "kind": "smd",+   "shape": "roundrect",+   "at": [+    -2.8625,+    0.975+   ],+   "rot": 0.0,+   "size": [+    1.475,+    0.4+   ],+   "layers": [+    "F.Cu",+    "F.Mask",+    "F.Paste"+   ],+   "thermal": false,+   "pin": "7",+   "name": "P5.4/RST/SysClkO/CMP-",+   "type": "bidirectional",+   "description": "Standard I/O PORT5[4]. Muxed with the active-high external reset input (RST), system-clock output (SysClkO = SysClk/1, /2, or /4), and comparator negative input (CMP-, set to high-impedance input when used).",+   "is_pin1": false,+   "source": {+    "geometry": "TSSOP-20_4.4x6.5mm_P0.65mm.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  },+  {+   "pad": "8",+   "kind": "smd",+   "shape": "roundrect",+   "at": [+    -2.8625,+    1.625+   ],+   "rot": 0.0,+   "size": [+    1.475,+    0.4+   ],+   "layers": [+    "F.Cu",+    "F.Mask",+    "F.Paste"+   ],+   "thermal": false,+   "pin": "8",+   "name": "VCC",+   "type": "power_in",+   "description": "Positive supply rail, 2.4 V to 5.5 V.",+   "is_pin1": false,+   "source": {+    "geometry": "TSSOP-20_4.4x6.5mm_P0.65mm.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  },+  {+   "pad": "9",+   "kind": "smd",+   "shape": "roundrect",+   "at": [+    -2.8625,+    2.275+   ],+   "rot": 0.0,+   "size": [+    1.475,+    0.4+   ],+   "layers": [+    "F.Cu",+    "F.Mask",+    "F.Paste"+   ],+   "thermal": false,+   "pin": "9",+   "name": "P5.5/CMP+",+   "type": "bidirectional",+   "description": "Standard I/O PORT5[5]. Muxed with comparator positive input (CMP+, set to high-impedance input when used).",+   "is_pin1": false,+   "source": {+    "geometry": "TSSOP-20_4.4x6.5mm_P0.65mm.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  },+  {+   "pad": "10",+   "kind": "smd",+   "shape": "roundrect",+   "at": [+    -2.8625,+    2.925+   ],+   "rot": 0.0,+   "size": [+    1.475,+    0.4+   ],+   "layers": [+    "F.Cu",+    "F.Mask",+    "F.Paste"+   ],+   "thermal": false,+   "pin": "10",+   "name": "GND",+   "type": "power_in",+   "description": "Ground / negative supply rail.",+   "is_pin1": false,+   "source": {+    "geometry": "TSSOP-20_4.4x6.5mm_P0.65mm.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  },+  {+   "pad": "11",+   "kind": "smd",+   "shape": "roundrect",+   "at": [+    2.8625,+    2.925+   ],+   "rot": 0.0,+   "size": [+    1.475,+    0.4+   ],+   "layers": [+    "F.Cu",+    "F.Mask",+    "F.Paste"+   ],+   "thermal": false,+   "pin": "11",+   "name": "P3.0/RxD/INT4/T2CLKO",+   "type": "bidirectional",+   "description": "Standard I/O PORT3[0]. Muxed with UART receive (RxD), external interrupt 4 (INT4, falling-edge only, power-down wake-up capable), and Timer 2 clock output (T2CLKO via INT_CLKO[2]/T2CLKO).",+   "is_pin1": false,+   "source": {+    "geometry": "TSSOP-20_4.4x6.5mm_P0.65mm.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  },+  {+   "pad": "12",+   "kind": "smd",+   "shape": "roundrect",+   "at": [+    2.8625,+    2.275+   ],+   "rot": 0.0,+   "size": [+    1.475,+    0.4+   ],+   "layers": [+    "F.Cu",+    "F.Mask",+    "F.Paste"+   ],+   "thermal": false,+   "pin": "12",+   "name": "P3.1/TxD/T2",+   "type": "bidirectional",+   "description": "Standard I/O PORT3[1]. Muxed with UART transmit (TxD) and Timer/Counter 2 external input (T2).",+   "is_pin1": false,+   "source": {+    "geometry": "TSSOP-20_4.4x6.5mm_P0.65mm.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  },+  {+   "pad": "13",+   "kind": "smd",+   "shape": "roundrect",+   "at": [+    2.8625,+    1.625+   ],+   "rot": 0.0,+   "size": [+    1.475,+    0.4+   ],+   "layers": [+    "F.Cu",+    "F.Mask",+    "F.Paste"+   ],+   "thermal": false,+   "pin": "13",+   "name": "P3.2/INT0",+   "type": "bidirectional",+   "description": "Standard I/O PORT3[2]. Muxed with external interrupt 0 (INT0). Rising- and falling-edge trigger both supported when IT0=0, falling-edge only when IT0=1. Power-down wake-up capable.",+   "is_pin1": false,+   "source": {+    "geometry": "TSSOP-20_4.4x6.5mm_P0.65mm.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  },+  {+   "pad": "14",+   "kind": "smd",+   "shape": "roundrect",+   "at": [+    2.8625,+    0.975+   ],+   "rot": 0.0,+   "size": [+    1.475,+    0.4+   ],+   "layers": [+    "F.Cu",+    "F.Mask",+    "F.Paste"+   ],+   "thermal": false,+   "pin": "14",+   "name": "P3.3/INT1",+   "type": "bidirectional",+   "description": "Standard I/O PORT3[3]. Muxed with external interrupt 1 (INT1). Rising- and falling-edge trigger both supported when IT1=0, falling-edge only when IT1=1. Power-down wake-up capable.",+   "is_pin1": false,+   "source": {+    "geometry": "TSSOP-20_4.4x6.5mm_P0.65mm.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  },+  {+   "pad": "15",+   "kind": "smd",+   "shape": "roundrect",+   "at": [+    2.8625,+    0.325+   ],+   "rot": 0.0,+   "size": [+    1.475,+    0.4+   ],+   "layers": [+    "F.Cu",+    "F.Mask",+    "F.Paste"+   ],+   "thermal": false,+   "pin": "15",+   "name": "P3.4/T0/ECI_2",+   "type": "bidirectional",+   "description": "Standard I/O PORT3[4]. Muxed with Timer/Counter 0 external input (T0) and CCP/PCA external pulse input alternate (ECI_2).",+   "is_pin1": false,+   "source": {+    "geometry": "TSSOP-20_4.4x6.5mm_P0.65mm.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  },+  {+   "pad": "16",+   "kind": "smd",+   "shape": "roundrect",+   "at": [+    2.8625,+    -0.325+   ],+   "rot": 0.0,+   "size": [+    1.475,+    0.4+   ],+   "layers": [+    "F.Cu",+    "F.Mask",+    "F.Paste"+   ],+   "thermal": false,+   "pin": "16",+   "name": "P3.5/T0CLKO/CCP0_2",+   "type": "bidirectional",+   "description": "Standard I/O PORT3[5]. Muxed with Timer 0 clock output (T0CLKO, enabled via INT_CLKO[0]) and CCP0 alternate mapping (CCP0_2, capture/PWM channel 0).",+   "is_pin1": false,+   "source": {+    "geometry": "TSSOP-20_4.4x6.5mm_P0.65mm.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  },+  {+   "pad": "17",+   "kind": "smd",+   "shape": "roundrect",+   "at": [+    2.8625,+    -0.975+   ],+   "rot": 0.0,+   "size": [+    1.475,+    0.4+   ],+   "layers": [+    "F.Cu",+    "F.Mask",+    "F.Paste"+   ],+   "thermal": false,+   "pin": "17",+   "name": "P3.6/INT2/RxD_2/CCP1_2",+   "type": "bidirectional",+   "description": "Standard I/O PORT3[6]. Muxed with external interrupt 2 (INT2, falling-edge only, power-down wake-up capable), alternate UART receive (RxD_2), and CCP1 alternate mapping (CCP1_2).",+   "is_pin1": false,+   "source": {+    "geometry": "TSSOP-20_4.4x6.5mm_P0.65mm.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  },+  {+   "pad": "18",+   "kind": "smd",+   "shape": "roundrect",+   "at": [+    2.8625,+    -1.625+   ],+   "rot": 0.0,+   "size": [+    1.475,+    0.4+   ],+   "layers": [+    "F.Cu",+    "F.Mask",+    "F.Paste"+   ],+   "thermal": false,+   "pin": "18",+   "name": "P3.7/INT3/TxD_2/CCP2/CCP2_2",+   "type": "bidirectional",+   "description": "Standard I/O PORT3[7]. Muxed with external interrupt 3 (INT3, falling-edge only, power-down wake-up capable), alternate UART transmit (TxD_2), and CCP2 default/alternate mapping (CCP2 and CCP2_2 capture/PWM channel 2).",+   "is_pin1": false,+   "source": {+    "geometry": "TSSOP-20_4.4x6.5mm_P0.65mm.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  },+  {+   "pad": "19",+   "kind": "smd",+   "shape": "roundrect",+   "at": [+    2.8625,+    -2.275+   ],+   "rot": 0.0,+   "size": [+    1.475,+    0.4+   ],+   "layers": [+    "F.Cu",+    "F.Mask",+    "F.Paste"+   ],+   "thermal": false,+   "pin": "19",+   "name": "P1.0/ADC0/CCP1",+   "type": "bidirectional",+   "description": "Standard I/O PORT1[0]. Muxed with ADC input channel 0 and CCP1 default mapping (capture/high-speed pulse output/PWM channel 1).",+   "is_pin1": false,+   "source": {+    "geometry": "TSSOP-20_4.4x6.5mm_P0.65mm.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  },+  {+   "pad": "20",+   "kind": "smd",+   "shape": "roundrect",+   "at": [+    2.8625,+    -2.925+   ],+   "rot": 0.0,+   "size": [+    1.475,+    0.4+   ],+   "layers": [+    "F.Cu",+    "F.Mask",+    "F.Paste"+   ],+   "thermal": false,+   "pin": "20",+   "name": "P1.1/ADC1/CCP0",+   "type": "bidirectional",+   "description": "Standard I/O PORT1[1]. Muxed with ADC input channel 1 and CCP0 default mapping (capture/high-speed pulse output/PWM channel 0).",+   "is_pin1": false,+   "source": {+    "geometry": "TSSOP-20_4.4x6.5mm_P0.65mm.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  }+ ]+}\ No newline at end of file
page.json+11
@@ -168,6 +168,17 @@     "viewers": {       "symbol": "viewers/symbol.html",       "footprint": "viewers/footprint.html"+    },+    "pin1": {+      "pad": "1",+      "at": [+        -2.8625,+        -2.925+      ],+      "corner": "top-left",+      "source": "silk-marker",+      "derived_from": "TSSOP-20_4.4x6.5mm_P0.65mm@sha256:b7ca3a31dd45c122",+      "mark": "drawn"     }   },   "metadata": {
stc15w408as-35i-tssop20.lbr+1−1
@@ -78,7 +78,7 @@   <wire x1="2.3100" y1="-3.3850" x2="-2.3100" y2="-3.3850" width="0.1200" layer="21"/>   <text x="0" y="4.262" size="1.27" layer="25" align="bottom-center">&gt;NAME</text>   <text x="0" y="-4.262" size="1.27" layer="27" align="top-center">&gt;VALUE</text>-</package>+<!--adom-pin1--><polygon width="0.0500" layer="21"><vertex x="-3.8600" y="2.9300"/><vertex x="-4.1900" y="2.6900"/><vertex x="-4.1900" y="3.1700"/></polygon></package> </packages> <symbols> <symbol name="STC15W408AS-35I-TSSOP20">
viewers/footprint.html+1−1
@@ -23,7 +23,7 @@ rect.pad.hi{stroke:var(--hi);stroke-width:.15;paint-order:stroke} #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.250 -3.900 8.500 7.800' style='width:100%;height:100%'><line class='ly-silk' x1='-2.310' y1='-3.385' x2='2.310' y2='-3.385' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='2.310' y1='3.385' x2='-2.310' y2='3.385' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-courtyard' x1='-3.850' y1='-3.380' x2='-2.450' y2='-3.380' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-3.850' y1='3.380' x2='-3.850' y2='-3.380' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-2.450' y1='-3.500' x2='2.450' y2='-3.500' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-2.450' y1='-3.380' x2='-2.450' y2='-3.500' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-2.450' y1='3.380' x2='-3.850' y2='3.380' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-2.450' y1='3.500' x2='-2.450' y2='3.380' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='2.450' y1='-3.500' x2='2.450' y2='-3.380' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='2.450' y1='-3.380' x2='3.850' y2='-3.380' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='2.450' y1='3.380' x2='2.450' y2='3.500' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='2.450' y1='3.500' x2='-2.450' y2='3.500' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='3.850' y1='-3.380' x2='3.850' y2='3.380' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='3.850' y1='3.380' x2='2.450' y2='3.380' stroke='#4ade80' stroke-width='0.050'/><rect class='ly-copper pad' data-num='1' data-name='P1.2/ADC2/SS/ECI/CMPO' x='-3.600' y='-3.125' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.862' y='-2.925' 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='P1.3/ADC3/MOSI' x='-3.600' y='-2.475' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.862' y='-2.275' 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='P1.4/ADC4/MISO' x='-3.600' y='-1.825' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.862' y='-1.625' 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='P1.5/ADC5/SCLK' x='-3.600' y='-1.175' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.862' y='-0.975' 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='P1.6/ADC6/RxD_3/XTAL2/SysClkO_2' x='-3.600' y='-0.525' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.862' y='-0.325' 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='P1.7/ADC7/TxD_3/XTAL1' x='-3.600' y='0.125' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.862' y='0.325' 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='P5.4/RST/SysClkO/CMP-' x='-3.600' y='0.775' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.862' y='0.975' 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='VCC' x='-3.600' y='1.425' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.862' y='1.625' 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='P5.5/CMP+' x='-3.600' y='2.075' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.862' y='2.275' 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='GND' x='-3.600' y='2.725' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.862' y='2.925' 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='P3.0/RxD/INT4/T2CLKO' x='2.125' y='2.725' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.862' y='2.925' 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='P3.1/TxD/T2' x='2.125' y='2.075' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.862' y='2.275' 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='P3.2/INT0' x='2.125' y='1.425' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.862' y='1.625' 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='P3.3/INT1' x='2.125' y='0.775' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.862' y='0.975' 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='P3.4/T0/ECI_2' x='2.125' y='0.125' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.862' y='0.325' 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='P3.5/T0CLKO/CCP0_2' x='2.125' y='-0.525' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.862' y='-0.325' 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='P3.6/INT2/RxD_2/CCP1_2' x='2.125' y='-1.175' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.862' y='-0.975' 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='P3.7/INT3/TxD_2/CCP2/CCP2_2' x='2.125' y='-1.825' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.862' y='-1.625' 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='P1.0/ADC0/CCP1' x='2.125' y='-2.475' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.862' y='-2.275' 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='P1.1/ADC1/CCP0' x='2.125' y='-3.125' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.862' y='-2.925' 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></svg></div>+<div class=stage id=stage><svg xmlns='http://www.w3.org/2000/svg' viewBox='-4.250 -3.900 8.500 7.800' style='width:100%;height:100%'><line class='ly-silk' x1='-2.310' y1='-3.385' x2='2.310' y2='-3.385' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='2.310' y1='3.385' x2='-2.310' y2='3.385' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-courtyard' x1='-3.850' y1='-3.380' x2='-2.450' y2='-3.380' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-3.850' y1='3.380' x2='-3.850' y2='-3.380' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-2.450' y1='-3.500' x2='2.450' y2='-3.500' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-2.450' y1='-3.380' x2='-2.450' y2='-3.500' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-2.450' y1='3.380' x2='-3.850' y2='3.380' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-2.450' y1='3.500' x2='-2.450' y2='3.380' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='2.450' y1='-3.500' x2='2.450' y2='-3.380' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='2.450' y1='-3.380' x2='3.850' y2='-3.380' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='2.450' y1='3.380' x2='2.450' y2='3.500' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='2.450' y1='3.500' x2='-2.450' y2='3.500' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='3.850' y1='-3.380' x2='3.850' y2='3.380' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='3.850' y1='3.380' x2='2.450' y2='3.380' stroke='#4ade80' stroke-width='0.050'/><rect class='ly-copper pad' data-num='1' data-name='P1.2/ADC2/SS/ECI/CMPO' x='-3.600' y='-3.125' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.862' y='-2.925' 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='P1.3/ADC3/MOSI' x='-3.600' y='-2.475' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.862' y='-2.275' 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='P1.4/ADC4/MISO' x='-3.600' y='-1.825' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.862' y='-1.625' 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='P1.5/ADC5/SCLK' x='-3.600' y='-1.175' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.862' y='-0.975' 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='P1.6/ADC6/RxD_3/XTAL2/SysClkO_2' x='-3.600' y='-0.525' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.862' y='-0.325' 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='P1.7/ADC7/TxD_3/XTAL1' x='-3.600' y='0.125' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.862' y='0.325' 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='P5.4/RST/SysClkO/CMP-' x='-3.600' y='0.775' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.862' y='0.975' 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='VCC' x='-3.600' y='1.425' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.862' y='1.625' 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='P5.5/CMP+' x='-3.600' y='2.075' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.862' y='2.275' 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='GND' x='-3.600' y='2.725' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.862' y='2.925' 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='P3.0/RxD/INT4/T2CLKO' x='2.125' y='2.725' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.862' y='2.925' 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='P3.1/TxD/T2' x='2.125' y='2.075' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.862' y='2.275' 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='P3.2/INT0' x='2.125' y='1.425' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.862' y='1.625' 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='P3.3/INT1' x='2.125' y='0.775' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.862' y='0.975' 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='P3.4/T0/ECI_2' x='2.125' y='0.125' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.862' y='0.325' 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='P3.5/T0CLKO/CCP0_2' x='2.125' y='-0.525' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.862' y='-0.325' 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='P3.6/INT2/RxD_2/CCP1_2' x='2.125' y='-1.175' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.862' y='-0.975' 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='P3.7/INT3/TxD_2/CCP2/CCP2_2' x='2.125' y='-1.825' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.862' y='-1.625' 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='P1.0/ADC0/CCP1' x='2.125' y='-2.475' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.862' y='-2.275' 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='P1.1/ADC1/CCP0' x='2.125' y='-3.125' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.862' y='-2.925' 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><polygon class='ly-silk adom-pin1' points='-3.860,-2.930 -4.190,-2.690 -4.190,-3.170' fill='#d8b4fe' stroke='none'><title>pin 1</title></polygon></svg></div> <div id=tip></div> <script> var KIND="footprint", MPN="RAY/STC15W408AS-35I-TSSOP20", PINS=[{"desc":"","name":"P1.2/ADC2/SS/ECI/CMPO","number":"1","type":""},{"desc":"","name":"P1.3/ADC3/MOSI","number":"2","type":""},{"desc":"","name":"P1.4/ADC4/MISO","number":"3","type":""},{"desc":"","name":"P1.5/ADC5/SCLK","number":"4","type":""},{"desc":"","name":"P1.6/ADC6/RxD_3/XTAL2/SysClkO_2","number":"5","type":""},{"desc":"","name":"P1.7/ADC7/TxD_3/XTAL1","number":"6","type":""},{"desc":"","name":"P5.4/RST/SysClkO/CMP-","number":"7","type":""},{"desc":"","name":"VCC","number":"8","type":""},{"desc":"","name":"P5.5/CMP+","number":"9","type":""},{"desc":"","name":"GND","number":"10","type":""},{"desc":"","name":"P1.1/ADC1/CCP0","number":"20","type":""},{"desc":"","name":"P1.0/ADC0/CCP1","number":"19","type":""},{"desc":"","name":"P3.7/INT3/TxD_2/CCP2/CCP2_2","number":"18","type":""},{"desc":"","name":"P3.6/INT2/RxD_2/CCP1_2","number":"17","type":""},{"desc":"","name":"P3.5/T0CLKO/CCP0_2","number":"16","type":""},{"desc":"","name":"P3.4/T0/ECI_2","number":"15","type":""},{"desc":"","name":"P3.3/INT1","number":"14","type":""},{"desc":"","name":"P3.2/INT0","number":"13","type":""},{"desc":"","name":"P3.1/TxD/T2","number":"12","type":""},{"desc":"","name":"P3.0/RxD/INT4/T2CLKO","number":"11","type":""}];