tinsangbeeping/Sub_cor1
This code defines a simple electronic circuit with a resistor and capacitor on a small PCB, and a subcircuit implementing a debounced switch with an LED indicator connected via resistors and traces.
- Version
- 0.0.1
- License
- unset
- Stars
- 0
index.tsx
PCB
Schematic
<chip
name="U1"
footprint="soic8"
pinCount={8}
pinLabels={{
pin1: "GND",
pin2: "VCC",
pin3: "SIG",
pin4: "OUT",
pin5: "NC",
pin6: "NC",
pin7: "NC",
pin8: "NC",
}}
/>
<subcircuit
name="Switch1"
ports={["GND", "POWER"]}
/>
<trace from=".U1 > .GND" to=".Switch1 > .GND" />
<trace from=".U1 > .VCC" to=".Switch1 > .POWER" />
<netlabel net="VCC" schX={12} schY={5} />
<powersymbol net="GND" schX={0} schY={20} />