lsm303d python
Version 1.0.0
如果您已經設置了Python虛擬環境,則還可以手動從PYPI手動安裝穩定的庫:
pip install lsm303d
否則,我們的安裝腳本將為您設置一個。
Github的穩定圖書館:
git clone https://github.com/pimoroni/lsm303d-python
cd lsm303d-python
./install.sh
GitHub的最新/開發庫:
git clone https://github.com/pimoroni/lsm303d-python
cd lsm303d-python
./install.sh --unstable
注意庫將安裝在“ Pimoroni”虛擬環境中,您需要激活它以運行示例: