Got working accelerometer sensor