pololu / lsm303-arduino

Arduino library for Pololu LSM303 boards
http://www.pololu.com/catalog/product/2124
MIT License
140 stars 137 forks source link

Add LSM303AGR type, detection #14

Closed deviousasti closed 4 years ago

deviousasti commented 4 years ago

There was no specific detection for the LSM303AGR. Registers are mostly similar to LSM303DHLC.

Added an enum for it, and code for type detection.

kevin-pololu commented 4 years ago

Hi, deviousasti.

Thanks for your contribution. However, this library is primarily intended to support Pololu's carrier boards for LSM303 compasses, and we do not make an LSM303AGR carrier, so it would not be practical for us to maintain support for that chip and we will not merge this. If we do decide to produce an LSM303AGR carrier in the future, we might revisit this decision.

Kevin