Chapter 3. Programming the Photon

Chapter 2 gave you your first taste of programming the Photon/Core. This chapter will take you deeper into the world of programming and, if you are new to coding, teach you some of the basics of the C language that these devices use.

If you are a seasoned programmer, you can skip big chunks of this chapter.

The Web IDE

In Chapter 2, you touched on using the Web IDE.

Apart from typing in the code and clicking a couple of the buttons, there are large uncharted areas of the Web IDE to explore. Figure 3-1 shows the Web IDE with labels for some of its buttons.

You have already used the Flash button at the top of the button panel. The Verify button will check a program and make sure the code is legal without actually ...

Get Getting Started with the Photon 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.