# esp-idf-lib/lsm303 [](https://github.com/esp-idf-lib/lsm303/actions/workflows//build.yml) [](https://github.com/esp-idf-lib/lsm303/actions/workflows//build-docs.yml) [](https://github.com/esp-idf-lib/lsm303/actions/workflows//validate-component.yml) Driver for LSM303 3-axis accelerometer and magnetometer sensor. * [Documentation](https://esp-idf-lib.github.io/lsm303/) * [Repository](https://github.com/esp-idf-lib/lsm303) * [Issues](https://github.com/esp-idf-lib/lsm303/issues) * [Discussions and questions](https://github.com/esp-idf-lib/core/discussions) * [Component page at the ESP Component Registry](https://components.espressif.com/components/esp-idf-lib/lsm303) ## Installation ```sh idf.py add-dependency esp-idf-lib/lsm303 ``` ## Support For questions and discussions about the component, please use [Discussions](https://github.com/esp-idf-lib/core/discussions) at [esp-idf-lib/core](https://github.com/esp-idf-lib/core). ## Contributing Please read [CONTRIBUTING.md](https://github.com/esp-idf-lib/core/blob/main/CONTRIBUTING.md) at [esp-idf-lib/core](https://github.com/esp-idf-lib/core).
56472618f384a1d702c0a727b006bffaf2407b2f
idf.py add-dependency "esp-idf-lib/lsm303^1.0.5"