Hello.
I've made a new library for interfacing the Arduino with the Pololu LSM303DLH 3D compass and accelerometer carrier. It makes it simple to read the raw accelerometer and magnetometer data, and it has a function for computing the tilt-compensated heading for those looking to use this sensor as a tilt-compensated compass.
Any feedback about the library would be much appreciated.
Regards,
Ryan Mulligan