Page 14 - Programming the Photon Getting Started With the Internet of Things
P. 14
Variables
Floats
Boolean
Char
Commands
The if Statement
for Loops
while Loops
Arrays
Strings
Coding Best Practices
Indentation
Commenting Your Code
Whitespaces
Summary
4 Outputs
Digital Outputs
Flashing an LED
LCD Display
Analog Outputs
Summary
5 Inputs
Digital Inputs
digitalRead ()
Analog Inputs
Summary
6 The Internet of Things
Functions
Controlling an LED over the Internet
Reading Values over the Internet