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