seveibar/red-led
Generated from JLCPCB part number C965799
- Version
- 0.1.1
- License
- unset
- Stars
- 0
dist/index.cjs
'use strict';
var jsxRuntime = require('react/jsx-runtime');
const pinLabels = {
"1": "pos",
"2": "neg",
};
Object.values(pinLabels);
const RedLed = (props) => {
return (jsxRuntime.jsx("led", { ...props, cadModel: {
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/download?uuid=d0740cb8891c49a88b6949cb978926f3&pn=C965799",
rotationOffset: { x: 0, y: 0, z: 0 },
positionOffset: { x: 0, y: 0, z: 0 },
}, pinLabels: pinLabels, schPinSpacing: 0.75, schPortArrangement: {
leftSide: {
direction: "top-to-bottom",
pins: [1],
},
rightSide: {
direction: "bottom-to-top",
pins: [2],
},
}, supplierPartNumbers: {
jlcpcb: ["C965799"],
}, footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("smtpad", { portHints: ["2"], pcbX: "-0.7995919999999614mm", pcbY: "-0.003428999999982807mm", width: "0.7999983999999999mm", height: "0.7999983999999999mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["1"], pcbX: "0.7995919999999614mm", pcbY: "0.003428999999982807mm", width: "0.7999983999999999mm", height: "0.7999983999999999mm", shape: "rect" }), jsxRuntime.jsx("silkscreenpath", { route: [
{ x: 0.22047200000019984, y: -0.3235452000000123 },
{ x: 0.2105660000000853, y: -0.3235452000000123 },
{ x: -0.11953239999991183, y: 0.006477000000018052 },
] }), jsxRuntime.jsx("silkscreenpath", { route: [
{ x: 0.22047200000019984, y: 0.3564890000001242 },
{ x: 0.22047200000019984, y: 0.3464814000001297 },
{ x: -0.11953239999991183, y: 0.006477000000018052 },
] }), jsxRuntime.jsx("silkscreenpath", { route: [
{ x: 0.22047200000019984, y: 0.3564890000001242 },
{ x: 0.22047200000019984, y: -0.3235452000000123 },
] }), jsxRuntime.jsx("silkscreenpath", { route: [
{ x: 0.24051260000010188, y: 0.7565136000000621 },
{ x: 1.3905738000000838, y: 0.7565136000000621 },
] }), jsxRuntime.jsx("silkscreenpath", { route: [
{ x: 0.24051260000010188, y: -0.7436103999999659 },
{ x: 1.3905738000000838, y: -0.7436103999999659 },
] }), jsxRuntime.jsx("silkscreenpath", { route: [
{ x: 1.3905738000000838, y: 0.7564628000000084 },
{ x: 1.3905738000000838, y: -0.7235189999998966 },
] }), jsxRuntime.jsx("silkscreenpath", { route: [
{ x: -0.1394967999997334, y: -0.7458963999999924 },
{ x: -1.1896089999999049, y: -0.7458963999999924 },
] }), jsxRuntime.jsx("silkscreenpath", { route: [
{ x: -1.4895575999997845, y: -0.345795599999974 },
{ x: -1.4895575999997845, y: -0.4458207999998649 },
{ x: -1.1896089999999049, y: -0.7458963999999924 },
] }), jsxRuntime.jsx("silkscreenpath", { route: [
{ x: -1.4895575999997845, y: 0.3541268000000173 },
{ x: -1.4895575999997845, y: -0.345795599999974 },
] }), jsxRuntime.jsx("silkscreenpath", { route: [
{ x: -1.4895575999997845, y: 0.3541268000000173 },
{ x: -1.4895575999997845, y: 0.4542790000000423 },
{ x: -1.1896089999999049, y: 0.7542276000000356 },
] }), jsxRuntime.jsx("silkscreenpath", { route: [
{ x: -0.1394967999997334, y: 0.7542276000000356 },
{ x: -1.1896089999999049, y: 0.7542276000000356 },
] }), jsxRuntime.jsx("silkscreenpath", { route: [
{ x: 0.22047200000019984, y: 0.006477000000018052 },
{ x: -0.11953239999991183, y: 0.006477000000018052 },
] })] }) }));
};
exports.RedLed = RedLed;