diff --git a/platypush/plugins/gpio/sensor/accelerometer/__init__.py b/platypush/plugins/gpio/sensor/accelerometer/__init__.py index 0b96e420..6f3c7ee2 100644 --- a/platypush/plugins/gpio/sensor/accelerometer/__init__.py +++ b/platypush/plugins/gpio/sensor/accelerometer/__init__.py @@ -47,10 +47,10 @@ class GpioSensorAccelerometerPlugin(GpioSensorPlugin): """ Extends :func:`.GpioSensorPlugin.get_measurement` - :returns: The sensor's current position as a list with three elements (x,y,z) + :returns: The sensor's current position as a list with the three components (x,y,z) in degrees, each between -90 and 90 """ - return [self.sensor.getX(), self.sensor.getY(), self.sensor.getZ()] + return [self.sensor.getX()*100, self.sensor.getY()*100, self.sensor.getZ()*100] # vim:sw=4:ts=4:et: