Main Project: Delivery Route

7. Instruct Your Robot: Read the Address

To know where to deliver a card, the courier must first read its address. Complete the read_delivery_address function in the Interactive Control Code cell so that the robot performs the following actions when you place a color-marked card under the color sensor and click on the Read Address button:

      1. read the address from the color-marked card
      2. store this color in a variable that will be accessible to your Main Code cell code
      3. light up the courier’s eyes in this color as a form of visual feedback