main.ato
.ELEC: @STD::Import {
.project &= "electronics"
.org &= "atopile"
}
.Blinky: @type {
.jlc_stackup: ELEC::JLC::PCB::JLC04161H_3313
@trait(.pcb): ELEC::PCB::is_pcb { .stackup :=: jlc_stackup.stackup }
.power: ELEC::Interfaces::Power
.led: ELEC::Stuff::LED
.r: ELEC::Stuff::Resistor {
.resistance &= 330ohm +/- 5%
}
# rail → resistor → LED → ground
.power.hv ~> .r ~> .led ~> .power.lv
}