In this chapter, you are going to build a Twitter and e-mail interaction application. The Twitter and e-mail project aims to give you hands-on experience with the Photon board, Particle cloud, and writing code using ParticleJS (https://docs.particle.io/reference/javascript/), a library to interact with Particle devices and the Particle cloud. We'll start the chapter with a brief list of the essential features of FreeRTOS (http://www.freertos.org/), the Photon's operating system. This will help you understand the functionalities in this project, and to troubleshoot unexpected behaviors. This is followed by detailed steps for setting up the Photon and the Internet Button to communicate with Twitter and send an e-mail.
The list of topics covered in this chapter are as follows:
Essentials of FreeRTOS and hardware resources
Flow diagram for the Twitter project
Getting the Photon online
Twitter and e-mail interaction project
Troubleshooting
To build the Twitter and e-mail...