From fbd488e07edbbc8e83bfc9744bde09e1ea72dace Mon Sep 17 00:00:00 2001 From: Tom Igoe Date: Sun, 23 Dec 2012 21:49:09 -0500 Subject: [PATCH] Added header comments to EsploraPong --- .../Experts/EsploraPong/EsploraPong.ino | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/libraries/Esplora/examples/Experts/EsploraPong/EsploraPong.ino b/libraries/Esplora/examples/Experts/EsploraPong/EsploraPong.ino index 30f73a792..b52e49b71 100644 --- a/libraries/Esplora/examples/Experts/EsploraPong/EsploraPong.ino +++ b/libraries/Esplora/examples/Experts/EsploraPong/EsploraPong.ino @@ -1,3 +1,24 @@ +/* + Esplora Pong + + This sketch connects serially to a Processing sketch to control a Pong game. + It sends the position of the slider and the states of three pushbuttons to the + Processing sketch serially, separated by commas. The Processing sketch uses that + data to control the graphics in the sketch. + + The slider sets a paddle's height + Switch 1 is resets the game + Switch 2 resets the ball to the center + Switch 3 reverses the players + + You can play this game with one or two Esploras. + + Created on 22 Dec 2012 + by Tom Igoe + + This example is in the public domain. + */ + #include void setup() {