fixed autodetect routine; changed behavior of timeoutOccurred() to report whether timeout happened since last call, not just on the most recent read
fixed autodetect routine; changed behavior of timeoutOccurred() to report whether timeout happened since last call, not just on the most recent read

pololu/lsm303-arduino,bmswgnp/lsm303-arduino