InoDrive / IO / get_accelerometer


InoDrive.IO.get_accelerometer()

Get information about the detected Accelerometer readings of the InoDrive Module

Returns: Accelerometer (Object) This object contains information about the X, Y, and Z axis readings of the Accelerometer.

import CkInoDriveAPI

# Instantiate InoDrive Object and Connect by Name
Drive = CkInoDriveAPI.InoDrive(target='Name', autoConnect=True)

// Get Accelerometer Information
Drive.IO.get_accelerometer()