davixcky/bjt

This code models a hardware circuit featuring a 12V power supply, an NPN transistor (2N2222), several resistors and LEDs, with a 5V square wave input controlling the transistor to turn the LED on and off.

Version
0.0.1
License
unset
Stars
0

index.tsx

PCBPCB preview for index.tsx
SchematicSchematic preview for index.tsx
export default () => (
  <board width="10mm" height="10mm">
    <resistor
      resistance="1k"
      footprint="0402"
      name="R1"
    />
    <capacitor
      capacitance="1000pF"
      footprint="0402"
      name="C1"
      connections={{ pin1: "R1.pin1" }}
    />
  </board>
)