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

enclosed.tsx

PCBPCB preview for enclosed.tsx
SchematicSchematic preview for enclosed.tsx
import { MacroKeyboard } from "./lib/macro-keyboard"
import { Enclosure } from "./lib/enclosure"
import { cloneElement } from "react"

export default function MacroSixWithEnclosure() {
  const pcb = MacroKeyboard({ includeEnclosure: false })
  return cloneElement(pcb, {
    children: <>{pcb.props.children}<Enclosure /></>,
  })
}