Samraksh eMote .NOW
Accelerometer Constructor



Sample rate
Callback method. Can be null.
Initialize the i2c and the Kiwi Accelerometer sensor
Syntax
'Declaration
 
Public Function New( _
   ByVal RefreshRate As Integer, _
   ByVal callbackfunction As Accelerometer.AxlCallbackType _
)
'Usage
 
Dim RefreshRate As Integer
Dim callbackfunction As Accelerometer.AxlCallbackType
 
Dim instance As New Accelerometer(RefreshRate, callbackfunction)

Parameters

RefreshRate
Sample rate
callbackfunction
Callback method. Can be null.
Remarks
If the callback method is null, the user is not notified of sensor events. User should poll instead.
Requirements

Target Platforms: eMote .NOW

See Also

Reference

Accelerometer Class
Accelerometer Members

Send Feedback