changes to support LSM303D
templated vector struct and rewrote heading function
minor fixes
Made the output format of the Serial example easier to parse by putting all the numbers in consistent columns and right-aligning them.
converted public defines to enums; rewrote autodetect function; store translated register addresses in init
added writeReg, readReg functions; removed setMagGain; other minor fixes/cleanup
don't drop lowest 4 bits of accelerometer reading
choose default vector for heading based on device
made enableDefault() explicitly select full scales and ODRs that are more consistent across devices
Merge remote-tracking branch 'origin/dev/david/v3'
added comments and header row output to serial example
removed trailing spaces
fixed autodetect routine; changed behavior of timeoutOccurred() to report whether timeout happened since last call, not just on the most recent read
miscellaneous fixes and improvements
fixed readReg/writeReg logic and added note; updated keywords.txt
updated license & readme
added some clarification to readme and updated date