Skip to main content

Introduction

Documentation Status micropython latest version on PyPI Total PyPI downloads Code Style: Black

MicroPython Drtiver for the NXP MMA8452Q Accelerometer

Installing with mip

To install using mpremote

mpremote mip install github:jposada202020/MicroPython_MMA8452Q

To install directly using a WIFI capable board

mip install github:jposada202020/MicroPython_MMA8452Q

Installing Library Examples

If you want to install library examples:

mpremote mip install github:jposada202020/MicroPython_MMA8452Q/examples.json

To install directly using a WIFI capable board

mip install github:jposada202020/MicroPython_MMA8452Q/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-mma8452q

To install system-wide (this may be required in some cases):

sudo pip3 install micropython-mma8452q

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-mma8452q

Usage Example

Take a look at the examples directory

Documentation

API documentation for this library can be found on Read the Docs.

Release files for micropython-mma8452q 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for micropython-mma8452q 0.1.0
File Size Uploaded
micropython-mma8452q-0.1.0.tar.gz 19.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for micropython-mma8452q 0.1.0
File Interpreter ABI Platform
micropython_mma8452q-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 26.2 kB

Release files / micropython-mma8452q-0.1.0.tar.gz

Download URL micropython-mma8452q-0.1.0.tar.gz
Size 19.0 kB
Tags Source
SHA-256 checksum
How to use checksums
36dc50ad63ed0054b2de116720f506a47b1073d0af8e11593c6d56d5f19a37ac
BLAKE2b-256 checksum
How to use checksums
ac8754f8e080d6505525e5f1ac659e1c3c5f92e542e34cb5494b3ddeccfecdee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Release files / micropython_mma8452q-0.1.0-py3-none-any.whl

Download URL micropython_mma8452q-0.1.0-py3-none-any.whl
Size 7.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
889c4c6c8112e2a2983345f74864109602fff75c7a4cf49d3781bb9245029925
BLAKE2b-256 checksum
How to use checksums
f3899674cc41d4ceda3bda2853eea798c54e083b84e3d8e9149e613523e40cff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page