Summary
In this chapter, you learned the process required for interfacing with a new device, in this case the ADXL345 accelerometer, including how its I2C protocol works, how to configure and use its built-in tap detection, and how you can write a Python module to abstract away the interface code.
In the next chapter, we'll be looking at using the network connection to create web-based user interfaces for data streaming and remote control.