Python library for the LSM303d accelerometer and magnetometer
Project description
lsm303d Accelerometer And Compass
Installing
If you've already set up a Python virtual environment, you can also install the stable library manually from PyPi:
pip install lsm303d
Otherwise our install script will set one up for you.
Stable library from GitHub:
git clone https://github.com/pimoroni/lsm303d-python
cd lsm303d-python
./install.sh
Latest/development library from GitHub:
git clone https://github.com/pimoroni/lsm303d-python
cd lsm303d-python
./install.sh --unstable
Note Libraries will be installed in the "pimoroni" virtual environment, you will need to activate it to run examples:
1.0.0
- Port to hatch/pyproject.toml
- Require i2cdevice>=1.0.0
- Fix typo in CLICK register "threshold" option
0.0.5
- Require i2cdevice>=0.0.6
0.0.4
- Port to i2cdevice>=0.0.6 set/get API
0.0.3
- BugFix: Fix for compatibility with i2cdevice>=0.0.6
0.0.2
- Bumped i2cdevice dependency to >=0.0.4
0.0.1
- Initial Release
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
lsm303d-1.0.0.tar.gz
(12.4 kB
view hashes)