chsr
21-01-2010, 21:19
Does anyone have any sample code or any idea in general on how to get the accelerometer working?
My code is basically:
Accelerometer *accel;
accel = new Accelerometer(4);
cout << accel->GetAcceleration() << endl;
however, each time we are getting -2.057095... whether or not the accelerometer is plugged in or not...
Thanks.
My code is basically:
Accelerometer *accel;
accel = new Accelerometer(4);
cout << accel->GetAcceleration() << endl;
however, each time we are getting -2.057095... whether or not the accelerometer is plugged in or not...
Thanks.