The LSM303DLHC combines a digital 3-axis accelerometer and 3-axis magnetometer into a single package that is ideal for making a tilt-compensated compass. The six independent readings, whose sensitivities can be set in the ranges of ±2 to ±16 g and ±1.3 to ±8.1 gauss, are available through an I²C interface. The carrier board operates from 2.5 to 5.5 V and has a 0.1″ pin spacing.