1. When you want to have certain code run if a condition is met,
but don’t have another section of code to run when the condition isn’t met,
you can use a(n):
2. Why can’t the robot be controlled by the joysticks and running
the automatic pickup sequence at the same time?
Try It!
Try it! 1
LED Feedback for Automatic Pickup
Just like the LED Feedback activity
from the previous page, program the Touch LED to output colors depending on
the actions the robot is performing.
Green when the robot is running
the automatic pickup sequence, yellow when the robot is moving forward based
on a button press, and blue when the robot is being remotely controlled
using the joysticks. Try it!