Complete the code to set the ESC throttle value to 50%.
esc.set_throttle([1])The ESC throttle value is set as a decimal between 0 and 1, so 0.5 means 50% throttle.
Complete the code to initialize the ESC on pin 17.
esc = ESC([1])The ESC is connected to pin 17, so we initialize it with 17.
Fix the error in the code to arm the ESC safely.
esc.arm([1])Arming the ESC requires passing True to enable it safely before throttle commands.
Fill in the blank to create a dictionary mapping motor IDs to ESC throttle values above 0.3.
throttle_map = {motor_id: esc_throttle for motor_id, esc_throttle in motor_data.items() if esc_throttle [1] 0.3}We want ESC throttle values greater than 0.3, so use the '>' operator.
Fill all three blanks to create a dictionary of motor names in uppercase with throttle values above 0.4.
result = { [1] : [2] for motor, [3] in motors.items() if [2] > 0.4 }Use motor.upper() as the key, throttle as the value, and throttle as the loop variable for values.
