Luke,

On Tue, Jul 1, 2014 at 4:19 PM, Luke Walsh <[email protected]> wrote:

> So do I just change the below offset and conversion factor? If so how do I
> find those?


Yes. The comments in the code say that when the board is flat on a table
the x and y should be zero. So simply read the values while it is flat and
that is your zero offset. Then you can use the z value for you conversion
factor as it needs to be 1 when it is flat. Just look at the formula:
(x.value-zeroOffset)/Conversion

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to