Accelerometer class implemented in crown