{ "info": { "author": "", "author_email": "", "bugtrack_url": null, "classifiers": [], "description": "Synapse SNAPpy library for HX711 Load Cell Amplifier/ADC\n========================================================\n\n``snappy-hx711`` is a SNAPpy library that reads values from the\nHX711 24-bit ADC with amplifier designed to measure load cells.\n\nInstallation\n------------\n\nFor use in Portal\n~~~~~~~~~~~~~~~~~\n\nDownload and extract the latest release zip file to Portal\u2019s\n``snappyImages`` directory. By default, this is located at\n``...\\Documents\\Portal\\snappyImages`` on Windows.\n\nFor use with SNAPbuild/SNAPtoolbelt\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nThe easiest way to install ``snappy-hx711`` for use with SNAPbuild\nor SNAPtoolbelt is using `pip`_::\n\n pip install snappy-hx711\n\nAlternatively you can download the source, extract it, and install it::\n\n python setup.py install\n\nUsage\n-----\n\nTo use the ``snappy-hx711`` library functions, first import the\nlibrary and call `hx711_begin()` with the pin numbers connected to the\nHX711. Then you can start taking measurements:\n\n.. code:: python\n\n from snappy_hx711 import *\n\n CLOCK_PIN = 6\n DATA_PIN = 7\n\n @setHook(HOOK_INIT)\n def init():\n # Must be called before making measurements:\n hx711_begin(CLOCK_PIN, DATA_PIN)\n\n def take_a_measurement():\n # Returns a 3-byte string:\n return hx711_read()\n\n\n.. _pip: https://pip.pypa.io/en/latest/installing.html\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/tylercrumpton/snappy-hx711", "keywords": "", "license": "", "maintainer": "Tyler Crumpton", "maintainer_email": "tyler.crumpton@gmail.com", "name": "snappy-hx711", "package_url": "https://pypi.org/project/snappy-hx711/", "platform": "", "project_url": "https://pypi.org/project/snappy-hx711/", "project_urls": { "Homepage": "https://github.com/tylercrumpton/snappy-hx711" }, "release_url": "https://pypi.org/project/snappy-hx711/1.0.0/", "requires_dist": null, "requires_python": "", "summary": "Synapse SNAPpy library for HX711 Load Cell Amplifier/ADC", "version": "1.0.0" }, "last_serial": 4324157, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "759de515e8ce7e84345173aeaad26279", "sha256": "c5c3b80767ea15ebb82baf9e9dc18104444ce5f23a6d9a495a28ac7a87114602" }, "downloads": -1, "filename": "snappy_hx711-1.0.0-py2-none-any.whl", "has_sig": false, "md5_digest": "759de515e8ce7e84345173aeaad26279", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 3250, "upload_time": "2018-09-30T04:35:47", "url": "https://files.pythonhosted.org/packages/b5/e2/1c1de8ad156aa026753ccc3f01cd80dd1029821daf1c2eeb212e2234fbf5/snappy_hx711-1.0.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9af34ed4a9cd0770a92f51418e7d5a13", "sha256": "5fe5e82bd6cf1b793c14b287fd93003885fe65c58f6c1f9012e2f3a0353c5279" }, "downloads": -1, "filename": "snappy-hx711-1.0.0.tar.gz", "has_sig": false, "md5_digest": "9af34ed4a9cd0770a92f51418e7d5a13", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2692, "upload_time": "2018-09-30T04:35:49", "url": "https://files.pythonhosted.org/packages/56/70/e7cb25f41820cde4617c99d7eba9d364eb5e661338d6716bf5ed816d24d2/snappy-hx711-1.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "759de515e8ce7e84345173aeaad26279", "sha256": "c5c3b80767ea15ebb82baf9e9dc18104444ce5f23a6d9a495a28ac7a87114602" }, "downloads": -1, "filename": "snappy_hx711-1.0.0-py2-none-any.whl", "has_sig": false, "md5_digest": "759de515e8ce7e84345173aeaad26279", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 3250, "upload_time": "2018-09-30T04:35:47", "url": "https://files.pythonhosted.org/packages/b5/e2/1c1de8ad156aa026753ccc3f01cd80dd1029821daf1c2eeb212e2234fbf5/snappy_hx711-1.0.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9af34ed4a9cd0770a92f51418e7d5a13", "sha256": "5fe5e82bd6cf1b793c14b287fd93003885fe65c58f6c1f9012e2f3a0353c5279" }, "downloads": -1, "filename": "snappy-hx711-1.0.0.tar.gz", "has_sig": false, "md5_digest": "9af34ed4a9cd0770a92f51418e7d5a13", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2692, "upload_time": "2018-09-30T04:35:49", "url": "https://files.pythonhosted.org/packages/56/70/e7cb25f41820cde4617c99d7eba9d364eb5e661338d6716bf5ed816d24d2/snappy-hx711-1.0.0.tar.gz" } ] }