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

dist/index.cjs

'use strict';

var jsxRuntime = require('react/jsx-runtime');

var index = () => (jsxRuntime.jsxs("board", { width: "10mm", height: "10mm", children: [jsxRuntime.jsx("resistor", { resistance: "1k", footprint: "0402", name: "R1" }), jsxRuntime.jsx("capacitor", { capacitance: "1000pF", footprint: "0402", name: "C1", connections: { pin1: "R1.pin1" } })] }));

module.exports = index;