Using Sensors with the Android
In the last chapter, you made a machine that interacts with itself. A simple response to flipping a switch to turn itself off is a good start, but for more interactive projects, you need to start working with analog sensors that do more than just turn on and off. Sensors allow a machine to monitor the world around it and react accordingly. In this chapter, you will create a project that will be able to react to its surroundings.