{ "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-ds2413/badge/?version=latest\n :target: https://circuitpython.readthedocs.io/projects/ds2413/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_DS2413.svg?branch=master\n :target: https://travis-ci.com/adafruit/Adafruit_CircuitPython_DS2413\n :alt: Build Status\n\nCircuitPython driver for the DS2413 one wire 2 channel GPIO breakout.\n\nDependencies\n=============\nThis driver depends on:\n\n* `Adafruit CircuitPython `_\n* `Adafruit OneWire `_\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\n.. code-block:: python\n\n import time\n import board\n from adafruit_onewire.bus import OneWireBus\n import adafruit_ds2413\n\n ow_bus = OneWireBus(board.D2)\n ds = adafruit_ds2413.DS2413(ow_bus, ow_bus.scan()[0])\n\n led = ds.IOA\n button = ds.IOB\n button.direction = adafruit_ds2413.INPUT\n\n while not button.value:\n led.value = True\n time.sleep(0.5)\n led.value = False\n time.sleep(0.5)\n\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\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-ds2413 --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_DRV2605", "keywords": "adafruit haptic motor controller buzzer vibration breakout hardware micropython circuitpython", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "adafruit-circuitpython-drv2605", "package_url": "https://pypi.org/project/adafruit-circuitpython-drv2605/", "platform": "", "project_url": "https://pypi.org/project/adafruit-circuitpython-drv2605/", "project_urls": { "Homepage": "https://github.com/adafruit/Adafruit_CircuitPython_DRV2605" }, "release_url": "https://pypi.org/project/adafruit-circuitpython-drv2605/1.1.3/", "requires_dist": null, "requires_python": "", "summary": "CircuitPython library for DRV2605 haptic motor controller.", "version": "1.1.3" }, "last_serial": 5838251, "releases": { "0.9.0": [ { "comment_text": "", "digests": { "md5": "a7f6b75f55e6ea0459879ee98620ac82", "sha256": "445c9a7bcd795fb5ddf92d2916d1383ef3efe6670fa0990908efe0aaec062df4" }, "downloads": -1, "filename": "adafruit-circuitpython-drv2605-0.9.0.tar.gz", "has_sig": false, "md5_digest": "a7f6b75f55e6ea0459879ee98620ac82", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20237, "upload_time": "2018-08-03T23:58:50", "url": "https://files.pythonhosted.org/packages/4e/12/81ef5573646460ec09ecd772fdbd029f23e8fe639673a5be654aedfd361b/adafruit-circuitpython-drv2605-0.9.0.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "91d3544ea79e4c008be80cdc8f8f32ba", "sha256": "bd7fe627e76a6cde27804353a608892c706b80dfd153b5d25b8847a7cb98f1de" }, "downloads": -1, "filename": "adafruit-circuitpython-drv2605-1.0.0.tar.gz", "has_sig": false, "md5_digest": "91d3544ea79e4c008be80cdc8f8f32ba", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21191, "upload_time": "2018-11-12T21:28:21", "url": "https://files.pythonhosted.org/packages/28/5c/b3e547323f97dfdc24b18a0213f44f900519efacfe87a65edf3332cf56ae/adafruit-circuitpython-drv2605-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "419072a39bd43febdcbffc99ef16ca33", "sha256": "04c61939965e094f9cf0a9555249f6eb55339810444599f4fbecfd9b9d3921a2" }, "downloads": -1, "filename": "adafruit-circuitpython-drv2605-1.0.1.tar.gz", "has_sig": false, "md5_digest": "419072a39bd43febdcbffc99ef16ca33", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21709, "upload_time": "2019-01-16T00:21:13", "url": "https://files.pythonhosted.org/packages/1d/bc/a8283993a713f8d4e4db06b023051652d4f2b335df43f03d089aa27ea575/adafruit-circuitpython-drv2605-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "849e438d64fb183e2f59f8162609aa76", "sha256": "6520af3b8fb63c6e761a1edce67851dd33004a6646c818c79836404d8cfe1496" }, "downloads": -1, "filename": "adafruit-circuitpython-drv2605-1.0.2.tar.gz", "has_sig": false, "md5_digest": "849e438d64fb183e2f59f8162609aa76", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21753, "upload_time": "2019-03-22T23:32:53", "url": "https://files.pythonhosted.org/packages/e8/f9/126ccebb9b643b4b05607d0f287f7805dcdb3aa99f1797f351e690544bd6/adafruit-circuitpython-drv2605-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "0efa6cb545755b7002576b52a51655e9", "sha256": "3018549eaee2ea7c5cb4fb7b9ae63ccdcc8de6b20ec3ee13f72c7cead5a5b4b5" }, "downloads": -1, "filename": "adafruit-circuitpython-drv2605-1.0.3.tar.gz", "has_sig": false, "md5_digest": "0efa6cb545755b7002576b52a51655e9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21759, "upload_time": "2019-08-23T18:40:15", "url": "https://files.pythonhosted.org/packages/2d/cb/4133cf9a456bbe6008a60be04fb97a98ceb7496cc90d9cf2784d1d5e138b/adafruit-circuitpython-drv2605-1.0.3.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "a26848e25e4311d94ba61b48652fbd25", "sha256": "19b6ffa3139454135a54e2e454c309716ca6342ff2d5fd9197870bd3296d5235" }, "downloads": -1, "filename": "adafruit-circuitpython-drv2605-1.1.1.tar.gz", "has_sig": false, "md5_digest": "a26848e25e4311d94ba61b48652fbd25", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20532, "upload_time": "2018-11-12T17:21:20", "url": "https://files.pythonhosted.org/packages/92/94/f07bc1142d28d90cd1e9f1b77f84b4093511dc9d903bf57ecdc75fe85d9e/adafruit-circuitpython-drv2605-1.1.1.tar.gz" } ], "1.1.2": [ { "comment_text": "", "digests": { "md5": "2964a80a1d41c8e2f6e0732da11a0009", "sha256": "b07851776bf982d766f27f2c64ceab32e4468c1f590b0c60ec96af17bb8c4b74" }, "downloads": -1, "filename": "adafruit-circuitpython-drv2605-1.1.2.tar.gz", "has_sig": false, "md5_digest": "2964a80a1d41c8e2f6e0732da11a0009", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19306, "upload_time": "2019-01-15T02:20:28", "url": "https://files.pythonhosted.org/packages/15/d6/f42b07ff1bc8c11067041e9283cfc2fc38743c7cb3f8524a4d220b114bc7/adafruit-circuitpython-drv2605-1.1.2.tar.gz" } ], "1.1.3": [ { "comment_text": "", "digests": { "md5": "2115000739f40549448aba786c1e3b4f", "sha256": "de626c6044cbad26baa18592c1988f93841ac7959e40bc8ce9afe09ecdfc84e9" }, "downloads": -1, "filename": "adafruit-circuitpython-drv2605-1.1.3.tar.gz", "has_sig": false, "md5_digest": "2115000739f40549448aba786c1e3b4f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19303, "upload_time": "2019-09-16T21:02:33", "url": "https://files.pythonhosted.org/packages/92/10/5727846d28b5bd28528b97aa85880ef8909567f64f5073ae4412b1fe0453/adafruit-circuitpython-drv2605-1.1.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "2115000739f40549448aba786c1e3b4f", "sha256": "de626c6044cbad26baa18592c1988f93841ac7959e40bc8ce9afe09ecdfc84e9" }, "downloads": -1, "filename": "adafruit-circuitpython-drv2605-1.1.3.tar.gz", "has_sig": false, "md5_digest": "2115000739f40549448aba786c1e3b4f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19303, "upload_time": "2019-09-16T21:02:33", "url": "https://files.pythonhosted.org/packages/92/10/5727846d28b5bd28528b97aa85880ef8909567f64f5073ae4412b1fe0453/adafruit-circuitpython-drv2605-1.1.3.tar.gz" } ] }