LSM303D example implemented in Python