0hmx3/test
This code defines a 10mm x 10mm electronic board with a 1kΩ resistor and a 1000pF capacitor connected to each other.
- 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: "32mm", height: "20mm", children: [jsxRuntime.jsx("connector", { name: "J1", manufacturerPartNumber: "TYPE-C-31-M-12", footprint: "jlcpcb:C165948", pinLabels: { pin8: "USB_DP", pin9: "USB_DM" }, pcbX: -10, pcbRotation: -90 }), jsxRuntime.jsx("testpoint", { name: "TP_DP", pcbX: 12, pcbY: 3, padDiameter: "1.2mm" }), jsxRuntime.jsx("testpoint", { name: "TP_DM", pcbX: 2, pcbY: -3, padDiameter: "1.2mm" }), jsxRuntime.jsx("trace", { name: "USB_DP", from: ".J1 > .USB_DP", to: ".TP_DP > .pin1" }), jsxRuntime.jsx("trace", { name: "USB_DM", from: ".J1 > .USB_DM", to: ".TP_DM > .pin1" }), jsxRuntime.jsx("differentialpair", { name: "USB_DATA", positiveConnection: "USB_DP", negativeConnection: "USB_DM", maxLengthSkew: 0.05 })] }));
module.exports = index;