MicroPython Driver for the Analog Devices ADXL343 Accelerometer
Project description
Introduction
MicroPython Driver for the Analog Devices ADXL343 Accelerometer
Installing with mip
To install using mpremote
mpremote mip install github:jposada202020/MicroPython_ADXL343
To install directly using a WIFI capable board
mip install github:jposada202020/MicroPython_ADXL343
Installing Library Examples
If you want to install library examples:
mpremote mip install github:jposada202020/MicroPython_ADXL343/examples.json
To install directly using a WIFI capable board
mip install github:jposada202020/MicroPython_ADXL343/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-adxl343
To install system-wide (this may be required in some cases):
sudo pip3 install micropython-adxl343
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-adxl343
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
Hashes for micropython-adxl343-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 782e330988630939e4097ac0ebbbeb51b5623900ff511633b1a49a98e0524dbd |
|
MD5 | 638ad3330d011831801b04b97706206c |
|
BLAKE2b-256 | 6ae1b4f70fa9b8226a2f0e05c0c39427888a3adb40adcb3b5920333cc79e6989 |
Hashes for micropython_adxl343-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cfa184f6a723ea67d8cb8f7704f7149108154440a430be06efbee0273581567e |
|
MD5 | ba69481de4abbede4d0da723b6113619 |
|
BLAKE2b-256 | a237623a17f327fbdddee602bb2ecdb022f706058fa1cee128fa764143cdfdc3 |