|
Written in Propeller Assembly uses a 'cordic' routine to convert x and y tilt information into polar coordinates. Output is RAW data, but can easily be resolved into acceleration (ro) and degrees (theta). Upon startup, the demo expects the accelerometer to be in a level position for an initial calibration leveling routine.
Revision History:
Version 1.0 - original release Version 1.1 - modified code to return RAW x and y values
|
Version:
1.1
Attributes:
Author:
Beau Schwabe (Parallax)
bschwabe@parallax.com
Categories:
Human Input
Sensor
Downloads:
1,541
Last Updated:
2008-08-17
|