Index
SYMBOLS
#
character, specifying ele-
ments, 117
$
character, variable names,
119
$
function
anonymous functions,
124
Breakout clone game,
117, 119, 123–124
passing selectors, 123
passing strings, 119
remote control project,
214
specifying elements, 117
%
(modulus operator), 58
&
(AND operator), 251
&
operator, 47
<< >>
bit shift operators, 251
^
(XOR operator), 251
_
(underscore), private in-
stance variables, 65
|
(OR operator), 251
~
(not operator), 251
A
A0
constant, 47
AC adapter
connecting, 7–8
image, 7
voltage, 7–8
acceleration
indirect, 110
Nunchuk controller, 147,
150
accelerometers
about, 99
Breakout clone game,
111–124
edge values, 103–104
ideas, 109
images, 100–101
motion-sensing game
controller, 99–110
understanding data, 102–
106
wiring, 100–102
actuators, 3
Adafruit, xix
Adafruit Experimentation Kit
for Arduino, xix
ADXL335 accelerometer,
see accelerometers
alarm projects, see also bur-
glar alarm
beach alarm, 164–172
stop sign project, 98
Amazon, xx
Analog Devices, 100
analog pins, see also digital
input/output pins; pins
about, 8
connecting accelerometer,
101
outputting to serial port,
102
reader example, 255–265
voltage, 88
analog reader example, 255–
265
analog signals
about, 9
TV, 128–129, 131
analogRead
, 88
AnalogReader
class, 261
AND
operator, 251
anode LED connector, 42
Anthros, 230
API keys, 167–168
Arduino
about, xiii
board components, 6–10
board images, 4–6
board options, xvi, 5
clones, 6
configuring, 19
development history, 3–6
identifying type, 19
platform versions, xvi
resources, xiii, xvii, 5
schematic, 4
starter packs, xix
Arduino BT, 227
Arduino Due
double
values, 17, 86
features, xvi
IDE version, 10
IO pins, 5
serial ports, 35
Arduino Ethernet, 173
Arduino Galileo, xvi
Arduino IDE
compiling and uploading,
19–22
components, 14–16
Ethernet library, 173
installing, 10–14
managing sketches, 24–
25
preferences, 26–27
toolbar, 14
www.it-ebooks.info