CircuitPython module for the NXP FXAS21002C gyroscope. Based on the driver from:

See examples/ for a demo of the usage.

  • Author(s): Tony DiCola
class adafruit_fxas21002c.FXAS21002C(i2c, address=<sphinx.ext.autodoc._MockObject object>, gyro_range=250)[source]

Driver for the NXP FXAS21002C gyroscope.


Read the gyroscope value and return its X, Y, Z axis values as a 3-tuple in radians/second.


Read the raw gyroscope readings. Returns a 3-tuple of X, Y, Z axis 16-bit signed values. If you want the gyroscope values in friendly units consider using the gyroscope property!