Martin O’Hanlon got hold of one of Andrew Gale’s GPIO Xmas Trees and programmed it as a reaction game. Here’s how the game plays out:
The game is pretty simple, random leds are lit up on the Xmas tree, the player has to press the button when the green led on the top of the tree is lit up. The quicker you are, the higher you score.
If you’ve got one of these trees, take a look at Martin’s post here – he’s provided all the code you need!