techmannih/tests

Creates a 10mm x 10mm circuit board featuring an axial battery component labeled U1 at the origin.

Usage: To use this component in a project: 1. Import the component: ```tsx import { SomeComponent } from "@tsci/AUTHOR.PACKAGE_NAME" ``` 2. Place the component on a board: ```tsx <board width="20mm" height="20mm"> <SomeComponent name="U1" /> </board> ``` 3. Optionally, connect pins using `sel` from `@tscircuit/core` for tracing and connections. Key points: - Specify a unique `name` when placing the component - Use the predefined pins (VCC, DISCH, THRES, CTRL, GND, TRIG) - Customize placement with schematic/PCB coordinates if needed

Version
0.0.1
License
unset
Stars
0

dist/index.js

PCBPCB preview for dist/index.js
SchematicSchematic preview for dist/index.js
import { jsxs, jsx } from 'react/jsx-runtime';

var index = () => (jsxs("board", { width: "10mm", height: "10mm", children: [jsx("potentiometer", { name: "P1", maxResistance: "10k", schX: 0, schY: 0, schRotation: 0, footprint: "0402" }), jsx("potentiometer", { name: "P2", maxResistance: "10k", schX: 2, schY: 0, schRotation: 90, footprint: "0402" }), jsx("potentiometer", { name: "P3", maxResistance: "10k", schX: 4, schY: 0, schRotation: 180, footprint: "0402" }), jsx("potentiometer", { name: "P4", maxResistance: "10k", schX: 6, schY: 0, schRotation: 270, footprint: "0402" })] }));

export { index as default };