Complete the code to select the correct layer for routing on a two-layer PCB.
route_layer = '[1]'
On a two-layer PCB, routing is done on the Top and Bottom layers. Here, we select the Top layer for routing.
Complete the code to define the via type used to connect Top and Bottom layers.
via_type = '[1]'
Through-hole vias connect the Top and Bottom layers on a two-layer PCB, passing through the entire board.
Fix the error in the routing direction assignment for the Bottom layer.
if layer == 'Bottom': routing_direction = '[1]'
On a two-layer board, the Bottom layer routing is typically vertical to avoid crossing with the Top layer's horizontal routing.
Fill both blanks to define the routing directions for Top and Bottom layers.
routing_directions = {
'Top': '[1]',
'Bottom': '[2]'
}Top layer routes horizontally and Bottom layer routes vertically to minimize crossing and interference.
Fill all three blanks to create a dictionary mapping layers to their routing directions and via type.
routing_plan = {
'Top': '[1]',
'Bottom': '[2]',
'Via': '[3]'
}The Top layer routes horizontally, Bottom vertically, and vias are through-hole to connect both layers.
