Home » Programming (API) » Programming the MRPi1 with python » acceleroX() – API python acceleroX() Description read the X axis acceleration. Syntax acceleroX() Parameter None Return Value: float (-2 to 2 g)