{ "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-l3gd20/badge/?version=latest\n :target: https://circuitpython.readthedocs.io/projects/l3gd20/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_L3GD20.svg?branch=master\n :target: https://travis-ci.com/adafruit/Adafruit_CircuitPython_L3GD20\n :alt: Build Status\n\nAdafruit 9-DOF Absolute Orientation IMU Fusion Breakout - L3GD20 Driver\n\nDependencies\n=============\nThis driver depends on:\n\n* `Adafruit CircuitPython `_\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\nUsage Example\n=============\n\nOf course, you must import the library to use it:\n\n.. code:: python\n\n import adafruit_l3gd20\n\n\nThis driver takes an instantiated and active I2C object (from the `busio` or\nthe `bitbangio` library) as an argument to its constructor. The way to create\nan I2C object depends on the board you are using. For boards with labeled SCL\nand SDA pins, you can:\n\n.. code:: python\n\n from busio import I2C\n from board import SDA, SCL\n\n i2c = I2C(SCL, SDA)\n\nOnce you have the I2C object, you can create the sensor object:\n\n.. code:: python\n\n sensor = adafruit_l3gd20.L3GD20_I2C(i2c)\n\n\nAnd then you can start reading the measurements:\n\n.. code:: python\n\n print(sensor.gyro)\n\nContributing\n============\n\nContributions are welcome! Please read our `Code of Conduct\n`_\nbefore contributing to help this project stay welcoming.\n\nBuilding locally\n================\n\nZip release files\n-----------------\n\nTo build this library locally you'll need to install the\n`circuitpython-build-tools `_ package.\n\n.. code-block:: shell\n\n python3 -m venv .env\n source .env/bin/activate\n pip install circuitpython-build-tools\n\nOnce installed, make sure you are in the virtual environment:\n\n.. code-block:: shell\n\n source .env/bin/activate\n\nThen run the build:\n\n.. code-block:: shell\n\n circuitpython-build-bundles --filename_prefix adafruit-circuitpython-l3gd20 --library_location .\n\nSphinx documentation\n-----------------------\n\nSphinx is used to build the documentation based on rST files and comments in the code. First,\ninstall dependencies (feel free to reuse the virtual environment from above):\n\n.. code-block:: shell\n\n python3 -m venv .env\n source .env/bin/activate\n pip install Sphinx sphinx-rtd-theme\n\nNow, once you have the virtual environment activated:\n\n.. code-block:: shell\n\n cd docs\n sphinx-build -E -W -b html . _build/html\n\nThis will output the documentation to ``docs/_build/html``. Open the index.html in your browser to\nview them. It will also (due to -W) error out on any warning like Travis will. This is a good way to\nlocally verify it will pass.", "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_L3GD20", "keywords": "adafruit 9dof 9-dof absolute orientation IMU fusion breakout hardwarel3gd20 micropython circuitpython", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "adafruit-circuitpython-l3gd20", "package_url": "https://pypi.org/project/adafruit-circuitpython-l3gd20/", "platform": "", "project_url": "https://pypi.org/project/adafruit-circuitpython-l3gd20/", "project_urls": { "Homepage": "https://github.com/adafruit/Adafruit_CircuitPython_L3GD20" }, "release_url": "https://pypi.org/project/adafruit-circuitpython-l3gd20/2.1.0/", "requires_dist": null, "requires_python": "", "summary": "CircuitPython library for L3GD20 9-DOF absolute orientation IMU fusion breakout.", "version": "2.1.0" }, "last_serial": 5738886, "releases": { "1.1.0": [ { "comment_text": "", "digests": { "md5": "74efae3b320581057624b201887d983f", "sha256": "ed3d849f065d484c982707381bd40a0877d974390669ec6eac1b973ec3b4de1c" }, "downloads": -1, "filename": "adafruit-circuitpython-l3gd20-1.1.0.tar.gz", "has_sig": false, "md5_digest": "74efae3b320581057624b201887d983f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22016, "upload_time": "2018-08-06T20:45:49", "url": "https://files.pythonhosted.org/packages/67/41/10f48d7ebe06751c60d2a12d302013e7dd64dfe9c13536a0f8ba3d7edbd4/adafruit-circuitpython-l3gd20-1.1.0.tar.gz" } ], "2.0.0": [ { "comment_text": "", "digests": { "md5": "6cf6622df331f198d0a26510a73876bc", "sha256": "f44f519f313089121c6438f164957f129a481aaaf67996a62f7d8588931b099c" }, "downloads": -1, "filename": "adafruit-circuitpython-l3gd20-2.0.0.tar.gz", "has_sig": false, "md5_digest": "6cf6622df331f198d0a26510a73876bc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21926, "upload_time": "2018-09-28T16:23:57", "url": "https://files.pythonhosted.org/packages/3f/50/cfd2d6c791c81b737dbe7ab47e4217bb66820a18785bc41aaa9af5fad93a/adafruit-circuitpython-l3gd20-2.0.0.tar.gz" } ], "2.0.1": [ { "comment_text": "", "digests": { "md5": "16457e713e380fb506d3db4d1af7fcbf", "sha256": "c69c1e876e997c9534c8555f3c7a3fa8318c7ee2842deb61ff581eaeca2d14dc" }, "downloads": -1, "filename": "adafruit-circuitpython-l3gd20-2.0.1.tar.gz", "has_sig": false, "md5_digest": "16457e713e380fb506d3db4d1af7fcbf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21941, "upload_time": "2018-09-29T04:01:16", "url": "https://files.pythonhosted.org/packages/a8/e9/1c1ae0e3a18ff7846433f587e9489bfd019989522ca0e72195678e10fe96/adafruit-circuitpython-l3gd20-2.0.1.tar.gz" } ], "2.0.2": [ { "comment_text": "", "digests": { "md5": "f59c2f570d08e249474d5be9f43f560e", "sha256": "34b58b632acb23c46462402edc1572b6f8a3c62fd9a96b79f10a20c1d9166d0c" }, "downloads": -1, "filename": "adafruit-circuitpython-l3gd20-2.0.2.tar.gz", "has_sig": false, "md5_digest": "f59c2f570d08e249474d5be9f43f560e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22478, "upload_time": "2019-01-15T03:22:04", "url": "https://files.pythonhosted.org/packages/ff/1a/5f9f496672d97d0433b82a4b0260823dd8face92f7beb3a7b52f5dd572f2/adafruit-circuitpython-l3gd20-2.0.2.tar.gz" } ], "2.1.0": [ { "comment_text": "", "digests": { "md5": "91bccc1f69a19fd62ed06b6ff1cee97a", "sha256": "676c31689837ae8e70499573a91aa6c795306e65097dbd2773a9c50ea7060bc4" }, "downloads": -1, "filename": "adafruit-circuitpython-l3gd20-2.1.0.tar.gz", "has_sig": false, "md5_digest": "91bccc1f69a19fd62ed06b6ff1cee97a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22482, "upload_time": "2019-08-27T18:36:55", "url": "https://files.pythonhosted.org/packages/e0/ed/8dbed21487b43e7739945e29106b60d2cdd670f13d09f5281b0db4c39911/adafruit-circuitpython-l3gd20-2.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "91bccc1f69a19fd62ed06b6ff1cee97a", "sha256": "676c31689837ae8e70499573a91aa6c795306e65097dbd2773a9c50ea7060bc4" }, "downloads": -1, "filename": "adafruit-circuitpython-l3gd20-2.1.0.tar.gz", "has_sig": false, "md5_digest": "91bccc1f69a19fd62ed06b6ff1cee97a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22482, "upload_time": "2019-08-27T18:36:55", "url": "https://files.pythonhosted.org/packages/e0/ed/8dbed21487b43e7739945e29106b60d2cdd670f13d09f5281b0db4c39911/adafruit-circuitpython-l3gd20-2.1.0.tar.gz" } ] }