parking-distance control
project,
96
remote control project,
214
serialport
gem,
262
serialport_close
,
257
serialport_flush
,
258
serialport_init
,
257
serialport_write
,
257
serialport_writebyte
,
257
SerialPortEventListener
interface,
261
Servo library,
229
servo motors,
225–235
about,
226
Blaminatr project,
230–
235
connecting,
227
ideas,
234
images,
225–226
moving,
228–230
parts list,
xxi
troubleshooting,
235
voltage,
227
set_cursor
,
137
setup
,
17–18
shaft, motor,
228
shields, see also Ethernet
shields; Proto shields
advantages,
106
game controllers,
125
motor shields,
234
Wi-Fi,
180
shifting, bits,
251
shortcuts, toolbar,
14
signed values, shifting,
252
silly string shooter,
97
SIM card,
180
Simple Mail Transfer Protocol,
see SMTP
single quotes,
char
literals,
size
buffers,
106
byte representation,
31
DHCP and DNS support,
180
sketches,
20
sketches
compiling,
19–20
creating, 15,
24
examples,
25
managing in Arduino
IDE,
24–25
naming, 24, 62,
64
saving, 15,
24
size,
20
uploading,
19–22
slave/master data bus,
Nunchuk controller, 147,
151
SMD (surface-mounted de-
vices),
42
Smith, Alex,
115
SMTP
about,
185
address, 187,
191
burglar alarm,
197–200
email from Arduino,
193
email from command
line,
184–188
troubleshooting,
SMTP2GO,
185
SmtpService
class
burglar alarm,
197–200
email from Arduino,
193
sockets, Arduino, see analog
pins; digital input/output
pins; pins
sockets, breadboard,
SoftwareSerial library,
solder
images,
244
parts list,
xxii
solder sucker,
247
soldering
basics, 239,
243–248
desoldering,
247
parts list, xxii,
243
troubleshooting, 110,
soldering irons
images,
244
parts list, xxii,
243
sonar system,
93
sound
17
converting to distance,
speed of, 86,
98
sound effects, Pragduino
game,
162
spam,
185
SparkFun,
xx
SpeakerDevice
,
74
speakers, see piezo speak-
ers/buzzers
SPI library,
175
sponges, xxii, 244,
246
SRAM,
140
www.it-ebooks.info
Standard Template Library
(STL),
250
start bit,
254
start_game
,
159
starter packs,
xix
STARTING
state,
156
state
bits during serial commu-
nication,
Breakout clone game,
117, 120,
dice project, 51–53,
digital pins,
189–
Pragduino game,
156, 158,
sensors,
82
statistics, game, 115,
187
stats
element,
115
status LED, controlling exer-
cise,
29–36
stepper motors,
189–
STL (Standard Template Li-
brary),
250
stop
,
177
stop bit, 254,
273
41
stop sign burglar alarm,
35
strcmp
,
232
strings
about,
18
converting
ArrayBuffer
ject, 273,
converting to integers,
229
email attributes, 189,
192
flash memory,
246
HTML code,
IP addresses,
Morse code exercise,
null-termination, 70,
parsing,
219
serial programming with
82
C/C++,
257
serial programming with
Java,
261
strsep
,
219
strtoul
,
220
stylesheets
accessing with jQuery,
117
Breakout clone game,
115,
117
Index
294
253
123
58
82
155–
160
118
226
98
ob-
278
160
119
179
74
218
Need help?
Do you have a question about the Arduino Uno and is the answer not in the manual?