C# Class WPILib.AnalogAccelerometer

Handle operation of an analog accelerometer
The accelerometer reads acceleration directly through the sensor. Many sensors have multiple axis and can be treated as multiple devices.Each is calibrated by finding the center value over a period of time.
Inheritance: WPILib.SensorBase, IPIDSource, ILiveWindowSendable
Show file Open project: robotdotnet/WPILib

Public Methods

Method Description
AnalogAccelerometer ( WPILib.AnalogInput analogInput ) : UnitsNet
AnalogAccelerometer ( int channel ) : UnitsNet
Dispose ( ) : void

Method Details

AnalogAccelerometer() public method

public AnalogAccelerometer ( WPILib.AnalogInput analogInput ) : UnitsNet
analogInput WPILib.AnalogInput
return UnitsNet

AnalogAccelerometer() public method

public AnalogAccelerometer ( int channel ) : UnitsNet
channel int
return UnitsNet

Dispose() public method

public Dispose ( ) : void
return void