Home | Trees | Indices | Help |
---|
|
|
|||
3 value tuple |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
3 value tuple |
|
||
|
|||
|
|||
|
|
|||
__package__ = None
|
|
This function returns the latest acceleration data from the accelerometer converted into angles.
|
This functions enables the data ready interrupt which fires when new data is avaiable from the accelerometer.
|
This function enables the freefall or motion interrupt on a given interrupt pin.
|
This function sets the debounce counter for the freefall/motion detect interrupt.
|
This function sets the debounce mode and threshold in Gs for freefall and motion detection.
Notes:
|
This function initializes the accelerometer on the i2c bus.
|
This function returns the latest acceleration data from the accelerometer.
|
This function sets the full scale range of the accelerometer, larger values mean more range but less precision.
|
This function controls the sample rate of the accelerometer by setting the sample rate prescaler. The sample rate will be the max sample rate (800hz) divided by the prescaler
|
This function sets the return units of the angles function. |
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Tue Nov 11 23:43:17 2014 | http://epydoc.sourceforge.net |