Complete the code to place a component from the library onto the PCB layout.
component = library.[1]("Resistor_10k")
The get_component method retrieves the component from the library so it can be placed.
Complete the code to place the component at coordinates (x, y) on the PCB.
pcb_layout.place_component(component, x=[1], y=50)
The component should be placed at x=150 to align with the design specifications.
Fix the error in the code to correctly rotate the component by 90 degrees.
component.rotate([1])The rotate method expects degrees, so 90 is the correct value to rotate by 90 degrees.
Fill both blanks to place and rotate the component correctly.
pcb_layout.[1](component) component.[2](90)
Use place_component to put the component on the PCB, then rotate to turn it 90 degrees.
Fill all three blanks to load a component, place it at (x, y), and rotate it.
component = library.[1]("Capacitor_1uF") pcb_layout.[2](component, x=100, y=[3])
First, get_component loads the capacitor. Then, place_component puts it on the PCB at y=150.
