Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I love the project. what's your thoughts on this syntax?

class Blinky

  microcontroller @mc(RP2040Kit)
  led-indicator @led.blue
    .input(&.microcontroller.gpio13)
    .gnd(&.microcontroller.power.gnd)
    .resistor.value(100, 10%)

  voltage-regulator @regulator(Reg3V3)
    .power-out(&.microcontroller.power)

  usb-c-connector @usbc
    .power(&.voltage-regulator.power-in)


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: