Quote:
Originally Posted by eedo369
Thanks for all the info. Just one more question- I understand how to get values from the accelerometer, but I don't understand how to translate them to its movement.
Say, if I want to write a program that starts an engine everytime the cypress is being tilted horizontally, and maybe control its speed according to it, what parameters should I enter?
|
The accelerometer is mostly just useful for measuring gravity. If you are using two axes, you can use the atan to find the angle of the board. That or just use the two axes that are parallel with the ground.
-Joe