4
Outputs
This chapter introduces you to controlling output devices such as light-emitting diodes (LEDs), relays, and buzzers. Output devices are usually used to communicate information, such as the status of a circuit, or to switch something on or off, such as a direct current (DC) motor or servo. The Photon and Core are all about connecting physical devices to the world, and this means connecting electronic components to your Particle board. Outputs on the Photon are digital, which means switching between 0 V and 3.3 V. Outputs can also be analog signals, which allow you to set a varying voltage to a device between 0 and 3.3 V, although in reality it is not as simple as it may seem. This book is primarily about software programming rather ...
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.