This program is for the target part of Pallo. It consists of a piston with different colored sections, which are detected by a color sensor. The beginning of the piston is a green section, so the program waits for that to change, meaning that the target has been hit, and then it celebrates! The celebration is pretty simple, it measures the color of the new section, which can give us how accurately the target has been hit, and lights the center button with that color! Additionally it writes "YAY" on the screen of the hub. Feel free to improve it however you like!
How to open?Download
- 07 Aug 2020