Skip to content

Commit fbd488e

Browse files
committed
Added header comments to EsploraPong
1 parent 5a644df commit fbd488e

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

libraries/Esplora/examples/Experts/EsploraPong/EsploraPong.ino

+21
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
/*
2+
Esplora Pong
3+
4+
This sketch connects serially to a Processing sketch to control a Pong game.
5+
It sends the position of the slider and the states of three pushbuttons to the
6+
Processing sketch serially, separated by commas. The Processing sketch uses that
7+
data to control the graphics in the sketch.
8+
9+
The slider sets a paddle's height
10+
Switch 1 is resets the game
11+
Switch 2 resets the ball to the center
12+
Switch 3 reverses the players
13+
14+
You can play this game with one or two Esploras.
15+
16+
Created on 22 Dec 2012
17+
by Tom Igoe
18+
19+
This example is in the public domain.
20+
*/
21+
122
#include <Esplora.h>
223

324
void setup() {

0 commit comments

Comments
 (0)