PA Designer : Project
3. Program Your Robot Assistant
Now it’s time to code up your robot assistant.
Using what you have learned, change the code in the Main Code cell so that your robot listens intently for a bell and when it hears that bell it stops listening and switches on the light.
You may wish to think about the following:
- How might you signal that the robot is in listening mode?
- What loudness level should you set as an alert threshold for the doorbell?
- How will you code the logic that triggers the switch from listening to alerting?