Skip to main content

MicroPython Driver for the Kionix KX132 Accelerometer

Project description

Introduction

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

MicroPython Driver for the Kionix KX132 Accelerometer

Installing with mip

To install using mpremote

mpremote mip install github:jposada202020/MicroPython_KX132

To install directly using a WIFI capable board

mip install github:jposada202020/MicroPython_KX132

Installing Library Examples

If you want to install library examples:

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

To install directly using a WIFI capable board

mip install github:jposada202020/MicroPython_KX132/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-kx132

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

sudo pip3 install micropython-kx132

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

Usage Example

Take a look at the examples directory

Documentation

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

micropython-kx132-0.1.2.tar.gz (19.5 kB view details)

Uploaded Source

Built Distribution

micropython_kx132-0.1.2-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

Details for the file micropython-kx132-0.1.2.tar.gz.

File metadata

  • Download URL: micropython-kx132-0.1.2.tar.gz
  • Upload date:
  • Size: 19.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for micropython-kx132-0.1.2.tar.gz
Algorithm Hash digest
SHA256 e8c58e518ba3b779dc1ba6fbbf2aa54e08d350db6a7a3b58f14922c7c81fd17e
MD5 2a0a44edfb60f85b2146355122bc8e49
BLAKE2b-256 3f60d3b045b3bd607b06897a664974df9d78f41d226f6123e495627dfe610e2e

See more details on using hashes here.

File details

Details for the file micropython_kx132-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for micropython_kx132-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 18a3f2a82434d651a3d9b5342d857d089f3956c38442d06b8c11781a255fd7b8
MD5 5e7b3f35d39ef5630995788a7b45c8de
BLAKE2b-256 d0ec004ff6c43d26b56aeabe8362db581889a0c019a60828faefd2a14b1ae84c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page