7 Analog Values

In the previous chapter, you learned how to put buttons into a circuit to play notes through a speaker and to turn an LED on and off. This chapter shows you how to attach sensors to a circuit and use the information you gather from them to create more varied experiences. You will also learn how to use the Arduino IDE to look at information coming in from your sensors.

There’s More to Life than On and Off!

You have learned how to attach buttons to your circuit so you can make your projects interactive using digital inputs and outputs with your Arduino sketches. With digital input, you have only two possible values: on or off (a.k.a. HIGH or LOW, 1 or 0). But sometimes you might want to use values that are not as simple as on ...

Get Learn Electronics with Arduino now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.