Reaction Time Game
This simple program tests your reaction time- As soon as the circle comes up, touch the screen and your speed in milliseconds will be displayed.
This example uses the millis() function to time the players reaction. The code should be readily reusable for more complicated programs with timers or basic TouchShield touch functionality.
Check out this video example:
I’ve uploaded the rest of the TouchShield’s built-in commands are over at the function reference wiki.