plant watering,
172
playfield
element,
115
playfields, Breakout clone
game, 115, 118,
121
PlayStation Eye,
148
position
,
121
_positions
variable,
232
power
about,
7
breadboards,
41
external,
8
motors,
235
pins,
8
selection jumper,
7
voltage,
88
Pragduino game,
153–162
definitions,
155–158
game loop,
160–162
state, 155,
158
troubleshooting,
162
preferences, Arduino IDE,
26–
27
print
blinking LEDs project,
distance measuring
project,
85
floating-point numbers,
85
TV thermometer project,
137
printPGM
,
159
print_ip_address
,
179
println
, 30,
85
private instance variables,
Processing
limitations,
267
Tweeting sensor data,
166, 168–172,
181
PROGMEM
,
140
programming
advanced Arduino pro-
gramming,
249–252
Arduino programming
language,
28
resources,
xiv
programs, see sketches
Proto shields
Adafruit Experimentation
Kit for Arduino,
xix
advantages,
106
images, 100,
108
parts list,
xxi
protocol types, infrared sig-
nals, 206,
219
protocols, serial communica-
tion,
253
prototypes, JavaScript, 275,
277
pseudorandom numbers,
48
PSTR
,
160
publishing
libraries,
71–73
sensor data,
166
pull-down resistors,
49
pull-up resistors,
49
pulseIn
,
82
pushbuttons
adding,
53–54
circuit,
49
connecting,
49
debouncing, 52, 55–58,
109
dice project,
48–55
images,
48
light switch,
50–53
motion-sensing game
controller,
107
30
parts list,
xx
simple program,
troubleshooting,
using,
48–53
PuTTY,
32
PWR_SEL jumper,
7
pyserial library,
263
Python, serial programming,
263
65
Q
QUIT
,
187
quitting
email from command-
line,
187
,
34
screen
quotes
char
literals,
17
strings,
18
R
\r\n (carriage return charac-
ter),
218
radius, Pragduino game,
RAM, image data,
140
random
function,
47–48
random numbers, generating,
47–48,
234
random seed,
48
randomSeed()
,
48
www.it-ebooks.info
raster scan,
128
RCA cable
Adafruit Experimentation
Kit for Arduino,
connecting Arduino to
47–
TV, 131–133,
images,
128
Nunchuk video game
console,
153
parts list,
xxi
RCPT TO:
,
187
read
controlling status LED
exercise,
Daytime service project,
177
Nunchuk controller,
serial programming with
Perl,
265
readBytes
,
261
readLine
, 261,
276
readStringUntil
,
170
read_char_time
,
265
read_line
, 217,
220
read_response
,
191
49
reader example, analog,
60
265
,
264
readline
README
file,
72
receive listener, Google
Chrome apps, 273,
receive_from_server
redundancy,
55
remote
,
214
remote control lawnmower,
222
remote control project,
223
Blaminatr project,
cloning a remote,
212
controlling from browser,
212–223
exercises,
223
grabbing codes,
ideas,
222
infrared proxy,
156
theory,
202
troubleshooting,
remote.js
,
214
requestFrom
,
151
request_data
,
150–151
resetMovingObjects
,
resistance basics,
Index
292
xix
144
29
151
255–
277
, 217,
220
201–
235
207–
203–207
216–223
223
118
239–243
Need help?
Do you have a question about the Arduino Uno and is the answer not in the manual?