Page 219 - Programming the Photon Getting Started With the Internet of Things
P. 219
SeeedStudio:
resistor kits from, 154
SeeedStudio starter kit, 133
suppliers of Photon-compatible components, 153
Semiconductors, 154–155
Sensors:
as input device, 69
IoT (Internet of Things) and, 3–4
measuring distance with HC-SR04 sensor, 105–109
reading analog sensor (potentiometer), 77–79
reading light sensors, 96–101
reading temperature sensors, 101–105
using Internet button for working with, 121
Serial ports:
application settings, 15
powering shield from USB, 112
Servo motor, controlling, 63–67
servo.attach, reference to Particle code, 162
servo.write, reference to Particle code, 162
setCursor() command, working with text on LCDs, 59
Settings, navigating Particle Build, 23
SETUP button:
board features, 7–8
configuring Photon board, 4
troubleshooting Photon board, 13
setup function:
defining variables, 104
in programming example, 32–33
reference to Particle code, 157
Shield Shield, 111–113