MicroPython module for the MMA8451 3 axis accelerometer
Project description
Introduction
MicroPython module for the MMA8451 3 axis accelerometer
Installing with mip
To install using mpremote
mpremote mip install github:jposada202020/MicroPython_MMA8451
To install directly using a WIFI capable board
mip install github:jposada202020/MicroPython_MMA8451
Installing Library Examples
If you want to install library examples:
mpremote mip install github:jposada202020/MicroPython_MMA8451/examples.json
To install directly using a WIFI capable board
mip install github:jposada202020/MicroPython_MMA8451/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-mma8451
To install system-wide (this may be required in some cases):
sudo pip3 install micropython-mma8451
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-mma8451
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
micropython-mma8451-0.1.0.tar.gz
(19.1 kB
view hashes)
Built Distribution
Close
Hashes for micropython-mma8451-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb2450fd8deab7455d4b41389ad2955b21f32a7f72374f2fb9b6529bb7c75817 |
|
MD5 | 0425b6e43d1ceed4711fa054f544ea26 |
|
BLAKE2b-256 | 8f3e873cd7f0e50eaa6c5ca7aa3f24a50bdf448588571c34b1fc8a8587126ef2 |
Close
Hashes for micropython_mma8451-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0af6e2814a8ca1adbe1bd832ce72f853b23a6145da2320e5e38b6e6487d80bf8 |
|
MD5 | 4997eeff04e7751f1ade9bf7a03be04d |
|
BLAKE2b-256 | 4822304509ffea995d9ad64f09d14bf9edec5b1dc4acef86ac7478fe893cca24 |