dopamide-org/lol
This code defines a 10mm by 10mm PCB with a 1kΩ resistor and a 1000pF capacitor connected via a trace.
Usage: To import and use this component in a project: 1. Import the component: ```tsx import { SomeComponent } from "@tsci/dopamide-org.lol" ``` 2. Use the component in a tscircuit board: ```tsx <board width="20mm" height="20mm"> <SomeComponent name="U1" /> </board> ``` The component can be placed on a board with a specified name, and you can connect it to other components using traces with `sel` selectors.
- Version
- 0.0.1
- License
- unset
- Stars
- 0
index.tsx
PCB
Schematic
export default () => (
<board width="10mm" height="10mm">
<resistor
resistance="1k"
footprint="0402"
name="R1"
/>
<capacitor
capacitance="1000pF"
footprint="0402"
name="C1"
/>
<trace from=".R1 > .pin1" to=".C1 > .pin1" />
</board>
)