4. Explaining The Code
• The consistent let you keep track of which
sensor pairs with witch color are on the LED.
• The variables are for incoming sensor values.
• The loop creates a repeating action.
• A delay stalls the action.
• analogWrite is to change the LED’s brightness
via PWM