Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit fbd488e

Browse filesBrowse files
committed
Added header comments to EsploraPong
1 parent 5a644df commit fbd488e
Copy full SHA for fbd488e

File tree

Expand file treeCollapse file tree

1 file changed

+21
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+21
-0
lines changed

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

Copy file name to clipboardExpand all lines: libraries/Esplora/examples/Experts/EsploraPong/EsploraPong.ino
+21Lines changed: 21 additions & 0 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.