gokul/macro-six-usbc
A six-key macro keyboard PCB paired with a separate physical enclosure.
- Version
- 0.1.16
- License
- unset
- Stars
- 0
Use with the tscircuit CLI
tsci is the tscircuit CLI. Install it with npm install -g tscircuit.
tsci clone gokul/macro-six-usbc # download the package files into ./macro-six-usbc
tsci add gokul/macro-six-usbc # add it to your project as @tsci/gokul.macro-six-usbcIn 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.
imports/Ao3401aSymbol.tsx
// Geometry from schematic-symbols; AO3401A physical pin numbers are explicit.
export const Ao3401aSymbol = ({ name }: { name: string }) => (
<symbol>
<schematictext text={name} schX={-0.65} schY={0.7} fontSize={0.18} />
<schematicpath points={[{"x":-0.42,"y":-0.1},{"x":0.05,"y":-0.11}]} strokeWidth={0.03} />
<schematicpath points={[{"x":0.3,"y":0.55},{"x":0.3,"y":0.11}]} strokeWidth={0.03} />
<schematicpath points={[{"x":0.31,"y":-0.55},{"x":0.31,"y":-0.01}]} strokeWidth={0.03} />
<schematicpath points={[{"x":0.09,"y":0.11},{"x":0.31,"y":0.11}]} strokeWidth={0.03} />
<schematicpath points={[{"x":0.09,"y":0.15},{"x":0.09,"y":0.07}]} strokeWidth={0.03} />
<schematicpath points={[{"x":0.09,"y":-0.1},{"x":0.31,"y":-0.1}]} strokeWidth={0.03} />
<schematicpath points={[{"x":0.09,"y":-0.08},{"x":0.09,"y":-0.15}]} strokeWidth={0.03} />
<schematicpath points={[{"x":0.09,"y":0.03},{"x":0.09,"y":-0.04}]} strokeWidth={0.03} />
<schematicpath points={[{"x":0.2,"y":0.03},{"x":0.2,"y":-0.04},{"x":0.27,"y":-0.01},{"x":0.2,"y":0.03}]} strokeWidth={0.03} isFilled />
<schematicpath points={[{"x":0.09,"y":0},{"x":0.31,"y":-0.01}]} strokeWidth={0.03} />
<schematicpath points={[{"x":0.05,"y":0.11},{"x":0.05,"y":-0.11}]} strokeWidth={0.03} />
<schematiccircle center={{x:0.16,y:0}} radius={0.29} strokeWidth={0.03} />
<port name="gate" pinNumber={1} aliases={["G"]} schX={-0.42} schY={-0.1} direction="left" />
<port name="source" pinNumber={2} aliases={["S"]} schX={0.31} schY={-0.55} direction="down" />
<port name="drain" pinNumber={3} aliases={["D"]} schX={0.3} schY={0.55} direction="up" />
</symbol>
)