adafruit_fxas21002c

CircuitPython module for the NXP FXAS21002C gyroscope. Based on the driver from: https://github.com/adafruit/Adafruit_FXAS21002C

See examples/simpletest.py for a demo of the usage.

  • Author(s): Tony DiCola

Implementation Notes

Hardware:

Software and Dependencies:

class adafruit_fxas21002c.FXAS21002C(i2c, address=33, gyro_range=250)[source]

Driver for the NXP FXAS21002C gyroscope.

gyroscope

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

read_raw()[source]

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!