Add LSM303 magnetometer code.
Ignore vim undo files.
Compile magnetometer code.
Poll the magnetometer.
Use correct macro definition.
Specify I2C timeout.
Fix things.