← Commit history

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

Ray ·f468c2f4a9 ·1mo ago ·parent f37035e
5 files changed +662−3
package.json+2−1
@@ -24,6 +24,7 @@     "docs/hero.png",     "docs/stc8h1k17-36i-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": "stc8h1k17-36i-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/T2/SS/PWM2P",+   "type": "bidirectional",+   "description": "General-purpose I/O P1.2. Muxed functions: Timer 2 external clock/gate input (T2), SPI slave-select (SS), advanced PWM channel 2 positive output (PWM2P).",+   "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/T2CLKO/MOSI/PWM2N",+   "type": "bidirectional",+   "description": "General-purpose I/O P1.3. Alternate functions: Timer 2 clock output (T2CLKO), SPI master-out/slave-in (MOSI), advanced PWM channel 2 negative output (PWM2N).",+   "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/I2CSDA/MISO/PWM3P",+   "type": "bidirectional",+   "description": "General-purpose I/O P1.4. Alternate functions: I2C data (SDA), SPI master-in/slave-out (MISO), advanced PWM channel 3 positive output (PWM3P).",+   "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/I2CSCL/SCLK/PWM3N",+   "type": "bidirectional",+   "description": "General-purpose I/O P1.5. Alternate functions: I2C clock (SCL), SPI clock (SCLK), advanced PWM channel 3 negative output (PWM3N).",+   "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/XTALO/MCLKO_2/RxD_3/PWM4P",+   "type": "bidirectional",+   "description": "General-purpose I/O P1.6. Alternate functions: external crystal oscillator output (XTALO), master-clock output alt-2 (MCLKO_2), UART1 RxD alternate-3, advanced PWM channel 4 positive output (PWM4P).",+   "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/XTALI/TxD_3/PWM5_2/PWM4N",+   "type": "bidirectional",+   "description": "General-purpose I/O P1.7. Alternate functions: external crystal oscillator input (XTALI), UART1 TxD alternate-3, PWM channel 5 alt-2, advanced PWM channel 4 negative output (PWM4N).",+   "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/MCLKO/PWM6_2/nRST",+   "type": "bidirectional",+   "description": "GPIO P5.4 by factory default; can be configured via ISP option as the active-low external reset input (nRST). Alternate functions: master-clock output (MCLKO), PWM channel 6 alt-2. Internal 4 kΩ pull-up is always enabled when configured as nRST; when used as I/O the pull-up stays on for ~6.5 ms after power-up before automatically releasing.",+   "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/AVCC",+   "type": "power_in",+   "description": "Digital and analog supply input, 1.9 V to 5.5 V. Decouple with a ≥10 µF bulk capacitor plus a 0.1 µF ceramic between VCC and GND placed close to the pin.",+   "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": "ADC_VREF+",+   "type": "power_in",+   "description": "External ADC positive reference input. Must be driven by an external reference between 2.4 V and VCC when the ADC is used; if left floating it will exhibit leakage current.",+   "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/AGND",+   "type": "power_in",+   "description": "Common digital and analog ground return.",+   "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/ADC8/RxD/INT4",+   "type": "bidirectional",+   "description": "General-purpose I/O P3.0. Powers up as quasi-bidirectional with weak pull-up (default UART download RxD pin). Alternate functions: ADC channel 8, UART1 receive (RxD), external interrupt INT4 (falling-edge only).",+   "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/ADC9/TxD",+   "type": "bidirectional",+   "description": "General-purpose I/O P3.1. Powers up as quasi-bidirectional with weak pull-up (default UART download TxD pin). Alternate functions: ADC channel 9, UART1 transmit (TxD).",+   "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/ADC10/INT0/SCLK_4/I2CSCL_4/PWMETI/PWMETI2",+   "type": "bidirectional",+   "description": "General-purpose I/O P3.2. Alternate functions: ADC channel 10, external interrupt INT0 (rising/falling edge), SPI clock alt-4, I2C clock alt-4, PWMA/PWMB external trigger inputs (PWMETI, PWMETI2).",+   "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/ADC11/INT1/MISO_4/I2CSDA_4/PWM4N_2/PWM7_2",+   "type": "bidirectional",+   "description": "General-purpose I/O P3.3. Alternate functions: ADC channel 11, external interrupt INT1 (rising/falling edge), SPI MISO alt-4, I2C SDA alt-4, PWM4N alt-2, PWM7 alt-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": "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/ADC12/T0/T1CLKO/MOSI_4/PWM4P_2/PWM8_2/CMPO",+   "type": "bidirectional",+   "description": "General-purpose I/O P3.4. Alternate functions: ADC channel 12, Timer 0 external input (T0), Timer 1 clock output (T1CLKO), SPI MOSI alt-4, PWM4P alt-2, PWM8 alt-2, analog comparator output (CMPO).",+   "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/ADC13/T1/T0CLKO/SS_4/PWMFLT/PWMFLT2",+   "type": "bidirectional",+   "description": "General-purpose I/O P3.5. Alternate functions: ADC channel 13, Timer 1 external input (T1), Timer 0 clock output (T0CLKO), SPI slave-select alt-4, PWMA/PWMB fault inputs (PWMFLT, PWMFLT2).",+   "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/ADC14/INT2/RxD_2/CMP-",+   "type": "bidirectional",+   "description": "General-purpose I/O P3.6. Alternate functions: ADC channel 14, external interrupt INT2 (falling edge only), UART1 receive alt-2 (RxD_2), analog comparator inverting input (CMP-).",+   "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/CMP+",+   "type": "bidirectional",+   "description": "General-purpose I/O P3.7. Alternate functions: external interrupt INT3 (falling edge only), UART1 transmit alt-2 (TxD_2), analog comparator non-inverting input (CMP+).",+   "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/RxD2/PWM1P",+   "type": "bidirectional",+   "description": "General-purpose I/O P1.0. Alternate functions: ADC channel 0, UART2 receive (RxD2), advanced PWM channel 1 positive output (PWM1P).",+   "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/TxD2/PWM1N",+   "type": "bidirectional",+   "description": "General-purpose I/O P1.1. Alternate functions: ADC channel 1, UART2 transmit (TxD2), advanced PWM channel 1 negative output (PWM1N).",+   "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": {
stc8h1k17-36i-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="STC8H1K17-36I-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/T2/SS/PWM2P' 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/T2CLKO/MOSI/PWM2N' 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/I2CSDA/MISO/PWM3P' 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/I2CSCL/SCLK/PWM3N' 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/XTALO/MCLKO_2/RxD_3/PWM4P' 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/XTALI/TxD_3/PWM5_2/PWM4N' 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/MCLKO/PWM6_2/nRST' 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/AVCC' 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='ADC_VREF+' 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/AGND' 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/ADC8/RxD/INT4' 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/ADC9/TxD' 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/ADC10/INT0/SCLK_4/I2CSCL_4/PWMETI/PWMETI2' 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/ADC11/INT1/MISO_4/I2CSDA_4/PWM4N_2/PWM7_2' 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/ADC12/T0/T1CLKO/MOSI_4/PWM4P_2/PWM8_2/CMPO' 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/ADC13/T1/T0CLKO/SS_4/PWMFLT/PWMFLT2' 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/ADC14/INT2/RxD_2/CMP-' 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/CMP+' 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/RxD2/PWM1P' 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/TxD2/PWM1N' 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/T2/SS/PWM2P' 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/T2CLKO/MOSI/PWM2N' 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/I2CSDA/MISO/PWM3P' 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/I2CSCL/SCLK/PWM3N' 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/XTALO/MCLKO_2/RxD_3/PWM4P' 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/XTALI/TxD_3/PWM5_2/PWM4N' 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/MCLKO/PWM6_2/nRST' 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/AVCC' 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='ADC_VREF+' 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/AGND' 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/ADC8/RxD/INT4' 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/ADC9/TxD' 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/ADC10/INT0/SCLK_4/I2CSCL_4/PWMETI/PWMETI2' 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/ADC11/INT1/MISO_4/I2CSDA_4/PWM4N_2/PWM7_2' 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/ADC12/T0/T1CLKO/MOSI_4/PWM4P_2/PWM8_2/CMPO' 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/ADC13/T1/T0CLKO/SS_4/PWMFLT/PWMFLT2' 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/ADC14/INT2/RxD_2/CMP-' 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/CMP+' 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/RxD2/PWM1P' 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/TxD2/PWM1N' 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/STC8H1K17-36I-TSSOP20", PINS=[{"desc":"","name":"P1.2/T2/SS/PWM2P","number":"1","type":""},{"desc":"","name":"P1.3/T2CLKO/MOSI/PWM2N","number":"2","type":""},{"desc":"","name":"P1.4/I2CSDA/MISO/PWM3P","number":"3","type":""},{"desc":"","name":"P1.5/I2CSCL/SCLK/PWM3N","number":"4","type":""},{"desc":"","name":"P1.6/XTALO/MCLKO_2/RxD_3/PWM4P","number":"5","type":""},{"desc":"","name":"P1.7/XTALI/TxD_3/PWM5_2/PWM4N","number":"6","type":""},{"desc":"","name":"P5.4/MCLKO/PWM6_2/nRST","number":"7","type":""},{"desc":"","name":"VCC/AVCC","number":"8","type":""},{"desc":"","name":"ADC_VREF+","number":"9","type":""},{"desc":"","name":"GND/AGND","number":"10","type":""},{"desc":"","name":"P1.1/ADC1/TxD2/PWM1N","number":"20","type":""},{"desc":"","name":"P1.0/ADC0/RxD2/PWM1P","number":"19","type":""},{"desc":"","name":"P3.7/INT3/TxD_2/CMP+","number":"18","type":""},{"desc":"","name":"P3.6/ADC14/INT2/RxD_2/CMP-","number":"17","type":""},{"desc":"","name":"P3.5/ADC13/T1/T0CLKO/SS_4/PWMFLT/PWMFLT2","number":"16","type":""},{"desc":"","name":"P3.4/ADC12/T0/T1CLKO/MOSI_4/PWM4P_2/PWM8_2/CMPO","number":"15","type":""},{"desc":"","name":"P3.3/ADC11/INT1/MISO_4/I2CSDA_4/PWM4N_2/PWM7_2","number":"14","type":""},{"desc":"","name":"P3.2/ADC10/INT0/SCLK_4/I2CSCL_4/PWMETI/PWMETI2","number":"13","type":""},{"desc":"","name":"P3.1/ADC9/TxD","number":"12","type":""},{"desc":"","name":"P3.0/ADC8/RxD/INT4","number":"11","type":""}];