Time to play!
Now you are ready to make programs for your Controller component in your workspace! Modify your example_mapping.py program and test it against the model.
Try to make some different connections between the buttons and lights.
- When pressing the white button, turn on the red light. If the black button also is activated, instead turn on the green light.
- When the blue button is pressed, make the yellow light start blinking. Stop blinking when the blue button is pressed again.
- Make the lights repeatedly switch on/off after each other in a sequence from left to right.