code/WPILib/Accelerometer.cpp
/**
 * Create a new instance of an accelerometer.
 * 
 * The accelerometer is assumed to be in the first analog module in the given analog channel. The
 * constructor allocates desired analog channel.
 */
Create a new instance of an accelerometer.

The accelerometer is assumed to be in the first analog module in the given analog channel. The
constructor allocates desired analog channel.
Create a new instance of an accelerometer . The accelerometer is assumed to be in the first analog module in the given analog channel . The constructor allocates desired analog channel .
Accelerometer::Accelerometer(UINT32 channel)
{
	m_analogChannel = new AnalogChannel(channel);
	m_allocatedChannel = true;
	InitAccelerometer();
}
Accelerometer :: Accelerometer ( UINT32 channel ) { m_analogChannel = new AnalogChannel ( channel ) ; m_allocatedChannel = true ; InitAccelerometer ( ) ; }
Create a new instance of an accelerometer.
Create a new instance of an accelerometer .