Accelerometer Calculations

tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
edited November -1 in Working with GS (Mac)
Ok so i'm diving into some accelerometer controls and I am trying to find a way to calculate a value of -180 to 180 based on the accelerometer readings.

Also does anyone know how to "calibrate" the accelerometer so you can set where 0 is? Is it just a matter of setting some attributes and saving the current readings and using those as basically an offset?

Comments

Sign In or Register to comment.