Create a program that changes specific pixels to a color when leftButton is pressed. The color and lights turned on will depend on the direction that the board is tipped when the button is pressed. Here are the profiles to use:
Left: Green (1, 3, 5, 6)
Right: Red (1, 2, 3, 4, 8, 9)
Forward: Yellow (3, 5, 6, 7)
Backward: Blue (2, 4, 8)
Limitations:
Maximum 4 if statements
Maximum 4 setPixelColor commands
Create a program that stores input from the user and uses that data to show a specific pattern of light colors. When the programs starts, it should be waiting for the user to press any combination of leftButton or rightButton until they have pressed any combination of those buttons 10 times. After the tenth input is given, the LEDs should light up in the pattern that was pushed.
leftButton and slideSwitch false = blue
leftButton and slideSwitch true= green
rightButton and slideSwitch false = red
rightButton and slideSwitch true= purple
Limitations:
Maximum 4 if statements
Maximum 1 setPixelColor command
Maximum 1 array