Log In
Or create an account ->
Imperial Library
Home
About
News
Upload
Forum
Help
Login/SignUp
Index
Halftitle Page
Title Page
Copyright Page
About the Author
Contents at a Glance
Contents
Preface
Acknowledgments
Chapter 1 Introduction to the Photon
Microcontrollers
So, What Is the Photon?
Particle Photon versus Spark Core
The Internet of Things
Particle Cloud
The Photon Board
Summary
Chapter 2 Getting Connected
Board Features
Getting Connected
Connecting to Mobile Smart Device
Connecting over USB
Using Tinker
Tinker API
Running Tinker Alongside Your Scripts
Using the Particle Web IDE
Particle Applications and Libraries
Uploading Your First Application
Account Information
Using Libraries
Photon’s Firmware
Summary
Chapter 3 Particle Syntax
What Is Programming?
Variables
Floats
Boolean
Char
Commands
The if Statement
for Loops
while Loops
Arrays
Strings
Coding Best Practices
Indentation
Commenting Your Code
Whitespaces
Summary
Chapter 4 Outputs
Digital Outputs
Flashing an LED
LCD Display
Analog Outputs
Summary
Chapter 5 Inputs
Digital Inputs
digitalRead ()
Analog Inputs
Summary
Chapter 6 The Internet of Things
Functions
Controlling an LED over the Internet
Reading Values over the Internet
Summary
Chapter 7 Programming Particle Shields
Shield Shield
Relay Shield
Programmer Shield
Power Shield
The Internet Button
Grove Starter Kit for Photon
Adafruit Particle NeoPixel Ring Kit
Summary
Chapter 8 IFTTT
If This Then That
Sunrise E-mail Alert
Create a Twitter Alert Using Grove Modules
Summary
Chapter 9 Troubleshooting Your Device
Device Modes
Troubleshooting Modes
Summary
Appendix A Tools and Tips
Breadboards and Prototyping Boards
Multimeter
Soldering
Analog versus Digital
Suppliers
Components
Resistors
Semiconductors
Hardware and Miscellaneous
Appendix B Particle Code Reference
Setup
Loop
analogRead
analogWrite
digitalRead
digitalWrite
if
else
int
pinMode
servo.attach
servo.write
Index
← Prev
Back
Next →
← Prev
Back
Next →