Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve error: Port [object <port#72(.LED1>.pin1) />] has no matched pcb component, can't get global schematic position #131

Open
seveibar opened this issue Oct 1, 2024 · 1 comment
Labels
good first issue Good for newcomers

Comments

@seveibar
Copy link
Contributor

seveibar commented Oct 1, 2024

image

export const BlinkingLed = () => (
  <board width="20mm" height="10mm">
    <chip footprint="soic8" name="U1" pcbX="-5mm" pinLabels={{
      1: "VCC",
      2: "D0",
      3: "/RST",
      4: "D1",
      5: "GND",
      6: "CLK",
      7: "D2",
      8: "D3"
    }} />
    <led name="LED1" pcbX="5mm" />
    <resistor name="R1" resistance="330" pcbX="2mm" pcbY="3mm" />
    
    <trace from=".U1 .VCC" to="net.VCC" />
    <trace from=".U1 .GND" to="net.GND" />
    <trace from="net.VCC" to=".LED1 .pin1" />
    <trace from=".LED1 .pin2" to=".R1 .pin1" />
    <trace from=".R1 .pin2" to="net.GND" />
    <trace from=".U1 .D3" to=".LED1 .pin1" />
  </board>
)
@seveibar seveibar changed the title Render Error: Port [object <port#72(.LED1>.pin1) />] has no matched pcb component, can't get global schematic position Improve error: Port [object <port#72(.LED1>.pin1) />] has no matched pcb component, can't get global schematic position Oct 1, 2024
@seveibar seveibar added the good first issue Good for newcomers label Oct 1, 2024
Copy link

homie-gg bot commented Oct 1, 2024

Here are some pull requests that might be helpful reference for this task:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant