noTone
,
162
not
operator,
251
NTSC, 134,
144
NULL pointer,
232
null-termination, 70,
218
NUM_AXES
,
105
variable,
232
_num_members
numbers, see also floating-
point numbers
vs. constants,
55
generating random,
47–
48,
234
numbering systems,
31
Nunchuk controller
Adafruit Experimentation
Kit for Arduino,
xix
Breakout clone game,
113
connecting,
146–153
creating
Nunchuk
class,
148–151
data communication and
interpretation,
147–153
exercises,
162
images,
146
parts list,
xxi
Pragduino game,
153–
162
remote control project,
223
tinkering,
145–162
troubleshooting,
162
video game console,
153–
162
NUNCHUK_DEVICE_ID
,
151
O
OAuth access token,
167–
168,
181
OCT format,
31
octal numbers,
31
Ohm, Georg,
240
Ohm s law,
240
old_button_state
,
52
on
,
214
onConnect
, 96,
279
onConnectComplete
,
277
onLaunched
,
270
onReadLine
Google Chrome apps,
276–277,
279
motion-detecting game
controller,
113
temperature sensor
project,
96
onReceive
,
277
onReceiveError
,
278
Open button,
15
openPort
,
261
OR
operator,
251
Oracle,
259
output, verbose, 26,
249
OUTPUT
constant,
18
output pins, see analog pins;
digital input/output pins;
pins
output_code
,
66
output_distance
,
85
constant,
69
OUTPUT_PIN
output_result
,
47
output_symbol
, 66,
74
P
element,
115
paddle
paddles
collision detection in
Breakout clone game,
122–124
creating for Breakout
clone game,
115
moving in Breakout clone
game,
122
PAL, 134,
144
Paperduino,
6
Parallax PING))) sensor,
see PING))) sensor
Parallax PIR sensor, see PIR
sensors
parity bit, 254,
273
parking-distance control
project, 92–97,
144
parseInt
,
96
parsing
URL addresses,
219
values into numbers,
96
parts
list for book,
xix–xxii
through-hole,
42
passive infrared sensors,
see PIR sensors
PassiveInfraredSensor
class,
196–
200
passwords
email from Arduino,
191–
192,
199
email from command-
line,
186
PAUSE
,
17
www.it-ebooks.info
Index
291
PC, relaying sensor data,
164–172
pde
extension,
24
performance
C++,
250
UART devices,
35
Perl, serial programming,
264
permissions
option,
269
physical computing, 3,
77
piezo speakers/buzzers
burglar alarm project,
200
connecting,
74
Morse code project,
74
parts list,
xxi
Pragduino game,
162
pin
parameter,
82
pinMode
,
18
pin_name
,
256
PING))) sensor
about,
78
Adafruit Experimentation
Kit for Arduino,
xix
connecting and using,
78–84
data sheet,
81
distance sensing project,
77–98
floating-point numbers,
84–86
images,
79–81
parts list,
xxi
sonar system,
93
pins, see also analog pins;
digital input/output pins
blinking LEDs,
21
connecting accelerometer,
101–102,
105
ground,
8
PING))) sensor,
82
PinMode
method,
18
powering from,
8
resources,
18
uses,
7–10
PINS
array, accelerometer,
105
PIR sensors
Adafruit Experimentation
Kit for Arduino,
xix
burglar alarm project,
193–200
connecting,
195–196
images, 184,
194–195
parts list,
xxi
troubleshooting,
200
PIR_INPUT_PIN
,
196
Piskel
,
141
Need help?
Do you have a question about the Arduino Uno and is the answer not in the manual?