Added accelerometer circuit