changed to read from pots (still intializes LSM303 but does not use the values from it)