For this week, I decided to use data from the accelerometer that I made in week 9. The accelerometer will act as a tilt sensor for my quadcopter, which will help it right itself if it ever tilts too much. As I used the ADXL accelerometer, I spent my time analyzing Neil's C and Python code.

The main Python library for interfacing with serial ports such as USB ports (which send bits in serial order) is pySerial. Baudrate determines the number of bits that a port is capable of transferring in a second. Setting the DTR (data terminal ready) signal indicates that the port is ready for communication.