Driver for the LSM303D digital compass. Permits access to all LSM303D registers by name, including multi-byte register sets, and has convenience methods for floating-point accelerometer and magnetometer reads scaled according to the device settings. Written from scratch for Mbed 6.0

Dependents:   UoY-32C-lab8-exercise UoY-32C-lab5-lsm303d

Auto generated API documentation and code listings for lsm303d

Classes

LSM303D LSM303D class
LSM303D::Option< T > Class representing binary (on/off) options
LSM303D::Register< T > Read-only register class
LSM303D::RWRegister< T > Read-write register class

Code

LSM303D.cpp [code]
LSM303D.h [code]