Instructions

The programs below do not work as intended. Your job is to find and fix the bug(s).

Help us find the problems in these programs!

2. Bug TWO

The task is to create a program that tells the GoPiGo to change the LED "eyes" to yellow if the light level is below 50% and to change the LED "eyes" to red if the light sensor reads above 50%.

Look at the program below. If this program is run, what will the robot do? Connect to your GoPiGo and recreate the program to check your answer.