glauber/sois-controller-rev-c

Source code for the SOIS Controller PCB, featuring an Adafruit Feather microcontroller, two EC11 rotary encoders, multiple push buttons and a slide switch. View more at glauber.org

Version
0.1.3
License
UNLICENSED
Stars
0

src/MountingHoleM3.tsx

import type { ChipProps } from "tscircuit"

/** M3 mounting hole: Ø3.2 drill in a Ø6.2 exposed copper ring, plated. */

const pinLabels = { pin1: "MP" } as const

export const MountingHoleM3 = (props: ChipProps<typeof pinLabels>) => (
  <chip
    {...props}
    pinLabels={pinLabels}
    footprint={
      <footprint>
        <platedhole
          portHints={["1", "MP"]}
          shape="circle"
          pcbX="0mm"
          pcbY="0mm"
          holeDiameter="3.2mm"
          outerDiameter="6.2mm"
        />
      </footprint>
    }
  />
)