Summary

In this chapter, we looked at adding a new piece of sensor hardware to our Pi Zero; the Adafruit ADXL345. This sensor allowed us to make our project react to it's relative position and movement through the Earth's gravitational fields. You learned how to read the data from this sensor into our Python programs, and then how to connect to and control another piece of hardware called the Blinkt! LED strip. Finally, we installed all of this into a cap and wrote a short Python program to bring it all together.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.15.174.76