GY-521

Please I need to consult with a sensor GY-521
Movement is only in one axis.
The sensor can lean from side to side in the extent permitted if
this rate exceeds the LED.
Thank you very much for your response.
(translate Google from Czech)

check this - Arduino Playground - MPU-6050 -