eldruin/lsm303agr-rs

Implement the manufacturer self-tests

BartMassey opened this issue · 1 comments

It would be nice to have the manufacturer self tests from section 4.1.5 and 4.2.4 of the LSM303AGR datasheet available as methods in this crate. I have a micro:bit v2 with a broken (probably just massively hard-iron miscalibrated) magnetometer, and it took quite a thing to notice it and figure it out. Would prefer to just call a self-test and note failure…

I'll work on this when I get time, but it may be a while. Hopefully someone will beat me to it.

That would be great, thanks!