GY-521 gyroscope/accelerometer breakout board

when the device is not moving, then the accelerometer readings you see represent the direction of the gravitational force ( or the opposite of it ).