3
Particle Syntax
The programming language used to program the Photon is called C. In this chapter you will learn and understand some of the basic programming terms using this language. You can use what you will learn here and apply this to most of the firmware you will write throughout the book. To get the best out of using your Photon, you will need to learn these basic programming fundamentals.
What Is Programming?
It may not seem obvious to a beginner what programming actually is and what a programming language is. When you look at the Photon’s firmware you could probably hazard a guess as to what it is actually doing without any programming knowledge, but we need to look a bit further into how the code goes from being lines of text to ...
Get Programming the Photon: Getting Started with the Internet of Things now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.