MicroPython Driver for the Bosch BMA220 Accelerometer
Project description
Introduction
MicroPython Driver for the Bosch BMA220 Accelerometer
Installing with mip
To install using mpremote
mpremote mip install github:jposada202020/MicroPython_BMA220
To install directly using a WIFI capable board
mip install github:jposada202020/MicroPython_BMA220
Installing Library Examples
If you want to install library examples:
mpremote mip install github:jposada202020/MicroPython_BMA220/examples.json
To install directly using a WIFI capable board
mip install github:jposada202020/MicroPython_BMA220/examples.json
Installing from PyPI
On supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally from PyPI. To install for current user:
pip3 install micropython-bma220
To install system-wide (this may be required in some cases):
sudo pip3 install micropython-bma220
To install in a virtual environment in your current project:
mkdir project-name && cd project-name
python3 -m venv .venv
source .env/bin/activate
pip3 install micropython-bma220
Usage Example
Take a look at the examples directory
Documentation
API documentation for this library can be found on Read the Docs.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file micropython-bma220-0.1.2.tar.gz
.
File metadata
- Download URL: micropython-bma220-0.1.2.tar.gz
- Upload date:
- Size: 25.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0468409fbe061414875b95b6962a307b12376b035b053ea8bf197366276c99e1 |
|
MD5 | 4771f477d0c6a18916b95f8c0a44626f |
|
BLAKE2b-256 | 3d9f9339f1a5aade56bf904a5e4dfd3257a9f7811ddda1931bb6ffaf099a5c22 |
Provenance
File details
Details for the file micropython_bma220-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: micropython_bma220-0.1.2-py3-none-any.whl
- Upload date:
- Size: 18.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 155317fa7a8b6b9bab8f8202df7ee99931b87652fa9872d76162bca33ebe1bd3 |
|
MD5 | a49147ab2bc0943dcc6448155744349f |
|
BLAKE2b-256 | 2ed961b2b37382212d91fbeab4f87ce9fbfb373f52b089e9100e3f9ea2dce00c |