Instructions (Part I): The below screenshot shows the first “demo” code from the previous activity. Write and modify the below code to perform different movements and outputs of your choice. Consider changing the “repeat” frequency, movement direction, speed, LED behavior, etc.
Instructions (Part II): Using your code from “Part I” as a foundation, create, write, and implement a 30 second robot “Dance Routine”. Your routine should include varying direction, speed, output, and any other dance “moves” you can imagine. As an extra challenge, reflect on the demo programs and try to incorporate a “light” controlled aspect to your robot’s routine.