We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a644df commit fbd488eCopy full SHA for fbd488e
libraries/Esplora/examples/Experts/EsploraPong/EsploraPong.ino
@@ -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
22
#include <Esplora.h>
23
24
void setup() {
0 commit comments