gokul/macro-six-usbc
USB-powered ATmega32U4 controller board with protected/switched 5 V power, six tactile keys, rotary encoder, reset/boot/ISP interfaces, power LED, and six daisy-chained SK6812 RGB LEDs driven through MOSFETs.
- Version
- 0.1.6
- License
- MIT
- Stars
- 0
lib/passives.tsx
import type { ResistorProps, CapacitorProps } from "@tscircuit/props"
const Passive0603 = () => (
<footprint>
<courtyardrect width={2.96} height={1.46} />
<smtpad portHints={["1", "left"]} pcbX={-0.825} pcbY={0} width={0.8} height={0.95} shape="rect" />
<smtpad portHints={["2", "right"]} pcbX={0.825} pcbY={0} width={0.8} height={0.95} shape="rect" />
</footprint>
)
export const R = ({ part, ...props }: ResistorProps & { part: string }) => (
<resistor footprint={<Passive0603 />} layer="top" supplierPartNumbers={{ jlcpcb: [part] }} {...props} />
)
export const C = ({ part = "C14663", ...props }: CapacitorProps & { part?: string }) => (
<capacitor footprint={<Passive0603 />} layer="top" supplierPartNumbers={{ jlcpcb: [part] }} {...props} />
)