Adds option to calibrate the accelerometer via a socket