Abse2001/OR-Gate-Chip

A single-channel 2-input OR logic gate IC in a SOT-235 surface mount package, based on the SN74AHC1G32DBVR Texas Instruments part number.

Usage: To import and use the OR Gate Chip in a project: 1. Import the component: ```tsx import { orChip } from "@tsci/Abse2001.OR-Gate-Chip" ``` 2. Use the component in a circuit: ```tsx <board> <orChip name="U1" /> </board> ``` Pins available: - pin1: Y (output) - pin2: Vcc (power) - pin3: GND (ground) - pin4: B (input) - pin5: A (input) You can also connect traces using the `sel` selector: ```tsx <trace from={sel.U1.A} to={...} /> <trace from={sel.U1.B} to={...} /> <trace from={sel.U1.Y} to={...} /> ```

Version
0.0.1
License
unset
Stars
1

dist/index.js

PCBPCB preview for dist/index.js
SchematicSchematic preview for dist/index.js
"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.useOrGate = exports.orChip = void 0;
var _core = require("@tscircuit/core");
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
const pinLabels = {
  1: ["Y"],
  2: ["Vcc"],
  3: ["GND"],
  4: ["B"],
  5: ["A"]
};
const orChip = props => {
  return /*#__PURE__*/React.createElement("chip", _extends({}, props, {
    pinLabels: pinLabels,
    supplierPartNumbers: {
      jlcpcb: ["C165948"]
    },
    schPortArrangement: {
      leftSide: {
        pins: ["A", "B", "GND"],
        direction: "top-to-bottom"
      },
      rightSide: {
        pins: ["Vcc", "Y"],
        direction: "top-to-bottom"
      }
    },
    schPinStyle: {
      pin2: {
        topMargin: 0
      },
      pin1: {
        topMargin: 0.1
      }
    },
    manufacturerPartNumber: "SN74AHC1G32DBVR",
    footprint: "sot235"
  }));
};
exports.orChip = orChip;
const useOrGate = exports.useOrGate = (0, _core.createUseComponent)(orChip, pinLabels);