CircuitPython Driver for the Bosch BMA423 accelerometer included in the lilygo watch
Project description
Introduction
CircuitPython Driver for the Bosch BMA423 accelerometer included in the lilygo watch
Dependencies
This driver depends on:
Please ensure all dependencies are available on the CircuitPython filesystem. This is easily achieved by downloading the Community Bundle library and driver bundle or individual libraries can be installed using circup.
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 circuitpython-bma423
To install system-wide (this may be required in some cases):
sudo pip3 install circuitpython-bma423
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 circuitpython-bma423
Installing to a Connected CircuitPython Device with Circup
Make sure that you have circup installed in your Python environment. Install it with the following command if necessary:
pip3 install circup
With circup installed and your CircuitPython device connected use the following command to install:
circup install bma423
Or the following command to update an existing version:
circup update
Usage Example
Take a look at the examples directory
Documentation
API documentation for this library can be found on Read the Docs.
Contributing
Contributions are welcome! Please read our Code of Conduct before contributing to help this project stay welcoming.
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 circuitpython-bma423-0.1.0.tar.gz
.
File metadata
- Download URL: circuitpython-bma423-0.1.0.tar.gz
- Upload date:
- Size: 22.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ff11e94b2450ec3f860fdae45de05877901907bf09de2a5ea292b7896c352e8 |
|
MD5 | b625baeb2a15ca47d301ca0afcb74ae0 |
|
BLAKE2b-256 | 0f964e3fc1327a1910b3b88d1173d7288a0b2547c299a2361e9d666714311f7f |
File details
Details for the file circuitpython_bma423-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: circuitpython_bma423-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1810a3caa9d72d2c01b733dedf6506fd710daaa85233c5f5b1da8039b34c14d7 |
|
MD5 | dc0d29e633f2676d9c722f7cebae7035 |
|
BLAKE2b-256 | c4f4a81fb74da2cf83d0f24a810e1b964872246f36098c8e82144b269115b514 |