onopod/a
This code defines a 10mm x 10mm electronic circuit board featuring a 1kΩ resistor and a 1000pF capacitor connected via their respective pins.
- Version
- 0.0.1
- License
- unset
- Stars
- 0
Use with the tscircuit CLI
tsci is the tscircuit CLI. Install it with npm install -g tscircuit.
tsci clone onopod/a # download the package files into ./a
tsci add onopod/a # add it to your project as @tsci/onopod.aIn a cloned or new (tsci init) project: tsci dev starts a local preview, tsci build outputs Circuit JSON, and tsci push publishes to tscircuit.com.
index.tsx
PCB
Schematic
import manualEdits from "./manual-edits.json"
export default () => (
<board width="10mm" height="10mm"
manualEdits={manualEdits}>
<resistor
resistance="1k"
footprint="0402"
name="R1"
/>
<capacitor
capacitance="1000pF"
footprint="0402"
name="C1"
connections={{ pin1: "R1.pin1" }}
/>
</board>
)