Page 203 - Programming the Photon Getting Started With the Internet of Things
P. 203
e-mail alert application of IFTTT, 133–139
Twitter alert application of IFTTT, 133–139
American Standard Code for Information Interchange (ASCII), 37–38
American wire gauge (AWG), 145–146
Analog:
ADC (analog-to-digital converter), 76–77
DAC (digital-to-analog converter), 62–63
vs. digital, 151–152
inputs, 76–77
outputs, 59
PWM (pulse width modulation) and, 59–62
reading analog sensor (potentiometer), 77–79
analogRead():
reading from photocell, 126
reference to Particle code, 158
returning value from, 79–80
analogRead pin, Tinker working with GPIO pins, 17
Analog-to-digital converter (ADC), 76–77
analogWrite():
generating PWM signal, 60–61
reference to Particle code, 158–159
analogWrite pin:
Tinker responding to API requests, 18–19
Tinker working with GPIO pins, 17
Android:
connecting to mobile smart devices, 11
reflashing Photon, 17
Anode leg, polarization of LEDs, 50–51
Antenna, on Photon board, 5
API (application programming interface):