rushabhcodes/tt

This code models a 10mm by 10mm PCB with a 1kΩ resistor and a 1000pF capacitor connected via a trace.

Usage: To import and use the package "@tsci/rushabhcodes.tt" in a project: 1. Import the package: ```tsx import CircuitDesign from "@tsci/rushabhcodes.tt" ``` 2. Use the component in a React component or directly: ```tsx function App() { return <CircuitDesign /> } ``` The example demonstrates a basic circuit with a 1k resistor and a 1000pF capacitor connected by a trace.

Version
0.0.1
License
unset
Stars
0

imports/c2843785.tsx

import type { ChipProps } from "@tscircuit/props"

const pinLabels = {
  pin1: ["VDD"],
  pin2: ["DOU"],
  pin3: ["GND"],
  pin4: ["DIN"]
} as const

export const XL_5050RGBC_2812B = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      supplierPartNumbers={{
  "jlcpcb": [
    "C2843785"
  ]
}}
      manufacturerPartNumber="XL_5050RGBC_2812B"
      footprint={<footprint>
        <smtpad portHints={["pin1"]} pcbX="-1.4998699999999872mm" pcbY="-2.4999949999999984mm" width="0.9999979999999999mm" height="1.499997mm" shape="rect" />
<smtpad portHints={["pin2"]} pcbX="1.4998700000000014mm" pcbY="-2.4999949999999984mm" width="0.9999979999999999mm" height="1.499997mm" shape="rect" />
<smtpad portHints={["pin3"]} pcbX="1.4998700000000014mm" pcbY="2.4999949999999984mm" width="0.9999979999999999mm" height="1.499997mm" shape="rect" />
<smtpad portHints={["pin4"]} pcbX="-1.4998699999999872mm" pcbY="2.4999949999999984mm" width="0.9999979999999999mm" height="1.499997mm" shape="rect" />
<silkscreenpath route={[{"x":1.5999967999999853,"y":4.399991199999988},{"x":1.5999967999999853,"y":3.5999927999999954}]} />
<silkscreenpath route={[{"x":1.8000979999999913,"y":1.3992351999999926},{"x":2.2001479999999987,"y":1.3992351999999926},{"x":2.2000209999999925,"y":0.9992359999999962},{"x":1.8000979999999913,"y":1.3992351999999926}]} />
<silkscreenpath route={[{"x":-1.4999969999999934,"y":-4.099991800000012},{"x":-1.4999969999999934,"y":-3.4999930000000035}]} />
<silkscreenpath route={[{"x":-1.7999963999999977,"y":-3.799992400000008},{"x":-1.1999976000000032,"y":-3.799992400000008}]} />
<silkscreenpath route={[{"x":-2.499867999999992,"y":2.499486999999988},{"x":-2.2301199999999994,"y":2.499486999999988}]} />
<silkscreenpath route={[{"x":-0.7696199999999891,"y":2.499486999999988},{"x":0.7696199999999891,"y":2.499486999999988}]} />
<silkscreenpath route={[{"x":2.2301199999999994,"y":2.499486999999988},{"x":2.5001220000000046,"y":2.499486999999988}]} />
<silkscreenpath route={[{"x":-2.499867999999992,"y":-2.500503000000009},{"x":-2.2301199999999994,"y":-2.500503000000009}]} />
<silkscreenpath route={[{"x":-0.7696199999999891,"y":-2.500503000000009},{"x":0.7696199999999891,"y":-2.500503000000009}]} />
<silkscreenpath route={[{"x":2.2301199999999994,"y":-2.500503000000009},{"x":2.5001220000000046,"y":-2.500503000000009}]} />
<silkscreenpath route={[{"x":-2.499867999999992,"y":-2.500503000000009},{"x":-2.499867999999992,"y":2.499486999999988}]} />
<silkscreenpath route={[{"x":2.5001220000000046,"y":-2.500503000000009},{"x":2.5001220000000046,"y":2.499486999999988}]} />
      </footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/download?uuid=a9ca194e8ca04309b7b9bbba9c7a433e&pn=C2843785",
        rotationOffset: { x: 90, y: 90, z: 270 },
        positionOffset: { x: 0, y: -1.4210854715202004e-14, z: 4.049993500000002 },
      }}
      {...props}
    />
  )
}