{ "info": { "author": "Radomir Dopieralski", "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-bno055/badge/?version=latest\n :target: https://circuitpython.readthedocs.io/projects/bno055/en/latest/\n :alt: Documentation Status\n\n.. image :: https://img.shields.io/discord/327254708534116352.svg\n :target: https://adafru.it/discord\n :alt: Discord\n\n.. image:: https://travis-ci.com/adafruit/Adafruit_CircuitPython_BNO055.svg?branch=master\n :target: https://travis-ci.com/adafruit/Adafruit_CircuitPython_BNO055\n :alt: Build Status\n\n\nDependencies\n=============\n\nThis driver depends on the `Register\n`_ and `Bus Device\n`_ libraries.\nPlease ensure they are also available on the CircuitPython filesystem. This is\neasily achieved by downloading `a library and driver bundle\n`_.\n\nUsage Notes\n===========\n\nOf course, you must import the library to use it:\n\n.. code:: python\n\n import adafruit_bno055\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_bno055.BNO055(i2c)\n\n\nAnd then you can start reading the measurements:\n\n.. code:: python\n\n print(sensor.temperature)\n print(sensor.euler)\n print(sensor.gravity)\n\n\nContributing\n============\n\nContributions are welcome! Please read our `Code of Conduct\n`_\nbefore contributing to help this project stay welcoming.\n\n\nBuilding locally\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-bno055 --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_BNO055", "keywords": "adafruit 9-dof absolute orientation accelerometer velocity temperature gravitymagnetic breakout hardware micropython circuitpython", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "adafruit-circuitpython-bno055", "package_url": "https://pypi.org/project/adafruit-circuitpython-bno055/", "platform": "", "project_url": "https://pypi.org/project/adafruit-circuitpython-bno055/", "project_urls": { "Homepage": "https://github.com/adafruit/Adafruit_CircuitPython_BNO055" }, "release_url": "https://pypi.org/project/adafruit-circuitpython-bno055/4.0.0/", "requires_dist": null, "requires_python": "", "summary": "CircuitPython library for BNO055 9-DOF absolute orientation sensor.", "version": "4.0.0" }, "last_serial": 6001626, "releases": { "3.0.3": [ { "comment_text": "", "digests": { "md5": "329014281ad90c67631f0c4d92c9874c", "sha256": "65ed2b51bbee6c345c1727782a68a4dd577b2cdc8644b0b55454917ee4b2c232" }, "downloads": -1, "filename": "adafruit-circuitpython-bno055-3.0.3.tar.gz", "has_sig": false, "md5_digest": "329014281ad90c67631f0c4d92c9874c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20979, "upload_time": "2018-08-02T21:32:45", "url": "https://files.pythonhosted.org/packages/49/bc/c5ad1c811320e4359399502b7f8ae0eab74be6c4396286286410f1609dcb/adafruit-circuitpython-bno055-3.0.3.tar.gz" } ], "3.0.4": [ { "comment_text": "", "digests": { "md5": "0aa57499a5d55294c08663fa06075a07", "sha256": "3991ff03afd2982344c9c630a56b21d4e336b33fa6795c2a138c25e13083f56e" }, "downloads": -1, "filename": "adafruit-circuitpython-bno055-3.0.4.tar.gz", "has_sig": false, "md5_digest": "0aa57499a5d55294c08663fa06075a07", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21148, "upload_time": "2018-11-10T20:54:35", "url": "https://files.pythonhosted.org/packages/6b/e5/e59ffbe5f17d122c0738f35fdd89edbf8d1bc43ff02b3011cfd99774acdf/adafruit-circuitpython-bno055-3.0.4.tar.gz" } ], "3.0.5": [ { "comment_text": "", "digests": { "md5": "e5d6f665087d5f39839314d2a3472f0c", "sha256": "6d3c16f4f8515bda8b8dc78061e36ff50e7ca5e4e4ec04b58ede4e0ef73c8bbb" }, "downloads": -1, "filename": "adafruit-circuitpython-bno055-3.0.5.tar.gz", "has_sig": false, "md5_digest": "e5d6f665087d5f39839314d2a3472f0c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20963, "upload_time": "2019-01-15T00:22:34", "url": "https://files.pythonhosted.org/packages/41/f6/5e9bae296ba46fddede673b0152c90bb5c733914f413fbb2da733f36b314/adafruit-circuitpython-bno055-3.0.5.tar.gz" } ], "3.0.6": [ { "comment_text": "", "digests": { "md5": "441c1deb902c82d3099b32ee8721330c", "sha256": "49f43f7b1ed6a56e5c7b93762fbd7097516f6c927388afaca665d7faed5424c9" }, "downloads": -1, "filename": "adafruit-circuitpython-bno055-3.0.6.tar.gz", "has_sig": false, "md5_digest": "441c1deb902c82d3099b32ee8721330c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21015, "upload_time": "2019-05-09T23:12:52", "url": "https://files.pythonhosted.org/packages/b5/ef/85c6db5173dcc38d4cc706319cfb04b97416f71017844f2748bac9f1d160/adafruit-circuitpython-bno055-3.0.6.tar.gz" } ], "3.1.0": [ { "comment_text": "", "digests": { "md5": "cb7250ee4ce868b59e47eb28afd45cc5", "sha256": "6e7822b87639f0c22242d282139f2a64d5bf223375e32555ee239e1c3c221a01" }, "downloads": -1, "filename": "adafruit-circuitpython-bno055-3.1.0.tar.gz", "has_sig": false, "md5_digest": "cb7250ee4ce868b59e47eb28afd45cc5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2182832, "upload_time": "2019-05-10T23:39:27", "url": "https://files.pythonhosted.org/packages/9a/74/f599db7bda70a7e5bcfbf9917692b31df950e4612ef4811928cda40eaf06/adafruit-circuitpython-bno055-3.1.0.tar.gz" } ], "3.1.1": [ { "comment_text": "", "digests": { "md5": "7addac660c1df160f9dfc9b70274d3ec", "sha256": "f75d8bb54a9324f73372067ce68534f8b191f31a9f6182794e5e6c2e60871509" }, "downloads": -1, "filename": "adafruit-circuitpython-bno055-3.1.1.tar.gz", "has_sig": false, "md5_digest": "7addac660c1df160f9dfc9b70274d3ec", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2182841, "upload_time": "2019-08-22T23:30:49", "url": "https://files.pythonhosted.org/packages/5c/f5/a1ac7e7e1e78d3514e1747f2b2f8e1e4bfb1e726ef2b5e3e5b9cc2719c6e/adafruit-circuitpython-bno055-3.1.1.tar.gz" } ], "3.1.2": [ { "comment_text": "", "digests": { "md5": "ffee5ceae1bc777e9f43125fdb214b28", "sha256": "ca161cf197ee70df3bd40b4d20ff31e85dfa7d6293b66082e5224c6d28eb4c4a" }, "downloads": -1, "filename": "adafruit-circuitpython-bno055-3.1.2.tar.gz", "has_sig": false, "md5_digest": "ffee5ceae1bc777e9f43125fdb214b28", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2182959, "upload_time": "2019-09-09T21:41:00", "url": "https://files.pythonhosted.org/packages/a9/6a/36a0afff16697f077978b2891bda3763d37ae7214e6b55cf809363e8eaa1/adafruit-circuitpython-bno055-3.1.2.tar.gz" } ], "4.0.0": [ { "comment_text": "", "digests": { "md5": "813e5b898dd06f79a3693c291ff7928b", "sha256": "5d26a4bb05ffe8cca43855533c10a67c5918672a19799d2d554ce77f380bdf57" }, "downloads": -1, "filename": "adafruit-circuitpython-bno055-4.0.0.tar.gz", "has_sig": false, "md5_digest": "813e5b898dd06f79a3693c291ff7928b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2183116, "upload_time": "2019-10-20T02:05:55", "url": "https://files.pythonhosted.org/packages/37/72/e9a5ba081ce61f8b45c7c4c5ac367884bc9f0c60868251c2e17425f508e7/adafruit-circuitpython-bno055-4.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "813e5b898dd06f79a3693c291ff7928b", "sha256": "5d26a4bb05ffe8cca43855533c10a67c5918672a19799d2d554ce77f380bdf57" }, "downloads": -1, "filename": "adafruit-circuitpython-bno055-4.0.0.tar.gz", "has_sig": false, "md5_digest": "813e5b898dd06f79a3693c291ff7928b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2183116, "upload_time": "2019-10-20T02:05:55", "url": "https://files.pythonhosted.org/packages/37/72/e9a5ba081ce61f8b45c7c4c5ac367884bc9f0c60868251c2e17425f508e7/adafruit-circuitpython-bno055-4.0.0.tar.gz" } ] }