infrared sensors, see also PIR
sensors
distance measuring, 98
parts list, xxi
_infrared_sender
variable, 217
InfraredProxy
class, 217–223
initGame
, 118
init_game
, 157
innerText
property , 96
ino
extension, 24
INPUT
constant, 18
input pins, see analog pins;
digital input/output pins;
pins
input_available
, 211, 256
_input_pin
variable, 196
INSTALL
file, 72
installing
Arduino IDE, 10–14
directions for libraries, 72
drivers, 11–14
int
variables
about, 17
converting to, 220
integers
converting floating-point
numbers to, 86
converting from strings,
229
converting remote control
codes, 220
memory, 17, 84
scaled integer values, 92
Inter-Integrated Circuit (I
2
C)
protocol, 147, 151
interactive T-shirts, 178
interfacing, 128
Internet, see also Google
Chrome apps; web browser
relaying sensor data
through PC, 164–172
using Ethernet shield,
173–181
Internet of Things (IoT), 166,
181
interval
, 58
intro
, 159
INTRO
state, 156
inverting bits, 251
IoT (Internet of Things), 166,
181
IP addresses
assigning manually, 175
DHCP and DNS, 177–180
domain names into, 175
routers and cable
modems, 176
SMTP, 187, 191
troubleshooting, 181
IPAddress
class, 175
ir_receiver
, 206
IRemote library, 204–212,
217–223
IRrecv
object, 206
IRsend
object, 209, 217
_isCelsius
variable, 170
isalpha
, 67
J
Java
JVM and Arduino IDE in-
stallation, 13
Processing and, 267
serial programming, 259–
262
Twitter libraries, 168
Java Communications API,
259
Java Virtual Machine, Ar-
duino IDE installation, 13
java-simple-serial-connector
(jSSC), 259–262
JavaScript
Breakout clone game,
111–124
Google Chrome apps,
271, 273
JSON, 269
parking-distance control
project, 92–97
SerialDevice
class, 274–280
Jenkins, 231
jitter, flattening, 103–104,
107
joystick, Nunchuk controller,
147
jQuery library
Breakout clone game,
116–124
remote control project,
214
JSON, 269
jSSC (java-simple-serial-con-
nector), 259–262
jumper wires, parts list, xx
jumpers, PIR sensors, 195
K
KEYWORD1
type, 71
KEYWORD2
type, 71
Kurt, Tod E., 257
L
last_measurement
, 137
lawnmower, remote control,
222
Learn to Program, xiv
LED_PIN
, 17
led_state
variable, 51–53
LedDevice
, 74
LEDs, see also dice project;
infrared LEDs
anode/cathode connec-
tors, 42
blinking Hello, World! ex-
ample, 16, 18–22, 27
brightness, 60
calculating resistance,
240
clock, 60
connecting to bread-
boards, 41–45
controlling status LED
exercise, 29–36
data sheet, 240
flickering during upload-
ing, 20
grounding multiple, 45
LED cube, 59
lights
data structure, 96
Morse code generator
project, 61–73
parts list, xx
voltage, 240
left
attribute, 121
Lego/Arduino controller, 125
LETTERS
array, 65, 67
LG, 209
libraries
compiling, 68
example sketches, 25
folders, 73
locations, 67
publishing, 71–73
syntax coloring, 71
troubleshooting, 68, 73
licenses, 71
lifecycle management, 269
light switch, pushbutton, 50–
53
lights
data structure, 96
Index • 289
www.it-ebooks.info