{ "info": { "author": "Adafruit Industries", "author_email": "circuitpython@adafruit.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Software Development :: Libraries", "Topic :: System :: Hardware" ], "description": "Introduction\n============\n\n.. image:: https://readthedocs.org/projects/adafruit-circuitpython-mpu6050/badge/?version=latest\n :target: https://circuitpython.readthedocs.io/projects/mpu6050/en/latest/\n :alt: Documentation Status\n\n.. image:: https://img.shields.io/discord/327254708534116352.svg\n :target: https://discord.gg/nBQh6qu\n :alt: Discord\n\n.. image:: https://travis-ci.com/adafruit/Adafruit_CircuitPython_MPU6050.svg?branch=master\n :target: https://travis-ci.com/adafruit/Adafruit_CircuitPython_MPU6050\n :alt: Build Status\n\nCircuitPython helper library for the MPU6050 6-axis Accelerometer and Gyroscope\n\n\nDependencies\n=============\nThis driver depends on:\n\n* `Adafruit CircuitPython `_\n* `Bus Device `_\n* `Register `_\n\nPlease ensure all dependencies are available on the CircuitPython filesystem.\nThis is easily achieved by downloading\n`the Adafruit library and driver bundle `_.\n\nInstalling from PyPI\n=====================\nOn supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally `from\nPyPI `_. To install for current user:\n\n.. code-block:: shell\n\n pip3 install adafruit-circuitpython-mpu6050\n\nTo install system-wide (this may be required in some cases):\n\n.. code-block:: shell\n\n sudo pip3 install adafruit-circuitpython-mpu6050\n\nTo install in a virtual environment in your current project:\n\n.. code-block:: shell\n\n mkdir project-name && cd project-name\n python3 -m venv .env\n source .env/bin/activate\n pip3 install adafruit-circuitpython-mpu6050\n\nUsage Example\n=============\n\n.. code-block:: python\n\n import time\n import board\n import busio\n import adafruit_mpu6050\n\n i2c = busio.I2C(board.SCL, board.SDA)\n mpu = adafruit_mpu6050.MPU6050(i2c)\n\n while True:\n print(\"Acceleration: X:%.2f, Y: %.2f, Z: %.2f m/s^2\"%(mpu.acceleration))\n print(\"Gyro X:%.2f, Y: %.2f, Z: %.2f degrees/s\"%(mpu.gyro))\n print(\"Temperature: %.2f C\"%mpu.temperature)\n print(\"\")\n time.sleep(1)\n\nContributing\n============\n\nContributions are welcome! Please read our `Code of Conduct\n`_\nbefore contributing to help this project stay welcoming.\n\nDocumentation\n=============\n\nFor information on building library documentation, please check out `this guide `_.", "description_content_type": "text/x-rst", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/adafruit/Adafruit_CircuitPython_MPU6050", "keywords": "adafruit blinka circuitpython micropython mpu6050", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "adafruit-circuitpython-mpu6050", "package_url": "https://pypi.org/project/adafruit-circuitpython-mpu6050/", "platform": "", "project_url": "https://pypi.org/project/adafruit-circuitpython-mpu6050/", "project_urls": { "Homepage": "https://github.com/adafruit/Adafruit_CircuitPython_MPU6050" }, "release_url": "https://pypi.org/project/adafruit-circuitpython-mpu6050/1.0.1/", "requires_dist": null, "requires_python": "", "summary": "CircuitPython helper library for the MPU6050 6-axis Accelerometer and Gyroscope", "version": "1.0.1" }, "last_serial": 5998162, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "c958186c367ea87b335b6305c2f461ef", "sha256": "6be5c54aebc7ef724684f630d1c5f33914aacc9ba693ea6ed8958e26a611cd57" }, "downloads": -1, "filename": "adafruit-circuitpython-mpu6050-1.0.0.tar.gz", "has_sig": false, "md5_digest": "c958186c367ea87b335b6305c2f461ef", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22344, "upload_time": "2019-10-18T21:42:02", "url": "https://files.pythonhosted.org/packages/2f/df/8f6ce96cdf4cb51bea390a01d7f5915f0930060921e108ded774184c9e54/adafruit-circuitpython-mpu6050-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "427d098f1cf5792568752d2c54eab503", "sha256": "1a8b6340107bd30c2f184f22e01fe38b068496b98a52d03b88a9d9f4cac78669" }, "downloads": -1, "filename": "adafruit-circuitpython-mpu6050-1.0.1.tar.gz", "has_sig": false, "md5_digest": "427d098f1cf5792568752d2c54eab503", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22340, "upload_time": "2019-10-19T00:30:28", "url": "https://files.pythonhosted.org/packages/61/96/f3c8296320c555d8e1132a1548407dd9797743875ff78bd23d3d3136fc2b/adafruit-circuitpython-mpu6050-1.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "427d098f1cf5792568752d2c54eab503", "sha256": "1a8b6340107bd30c2f184f22e01fe38b068496b98a52d03b88a9d9f4cac78669" }, "downloads": -1, "filename": "adafruit-circuitpython-mpu6050-1.0.1.tar.gz", "has_sig": false, "md5_digest": "427d098f1cf5792568752d2c54eab503", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22340, "upload_time": "2019-10-19T00:30:28", "url": "https://files.pythonhosted.org/packages/61/96/f3c8296320c555d8e1132a1548407dd9797743875ff78bd23d3d3136fc2b/adafruit-circuitpython-mpu6050-1.0.1.tar.gz" } ] }