{ "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-crickit/badge/?version=latest\n :target: https://circuitpython.readthedocs.io/projects/crickit/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_Crickit.svg?branch=master\n :target: https://travis-ci.com/adafruit/Adafruit_CircuitPython_Crickit\n :alt: Build Status\n\nThis convenience library makes coding for the Crickit robotics boards simpler and shorter.\n\nDependencies\n=============\nThis driver depends on:\n\n* `Adafruit seesaw library `_\n* `Adafruit Motor library `_\n\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\nThis examples shows how to control all the devices supported by the library.\nIn most cases you just need a couple of imports.\n\n.. code-block :: python\n\n # This is a mock example showing typical usage of the library for each kind of device.\n\n from adafruit_crickit import crickit\n\n # Add this import if using stepper motors.\n # It will expose constants saying how to step: stepper.FORWARD, stepper.BACKWARD, etc.\n from adafruit_motor import stepper\n\n # Set servo 1 to 90 degrees\n crickit.servo_1.angle = 90\n\n # Change servo settings.\n crickit.servo_1.actuation_range = 135\n crickit.servo_1.set_pulse_width_range(min_pulse=850, max_pulse=2100)\n\n # You can assign a device to a variable to get a shorter name.\n servo_2 = crickit.servo_2\n servo_2.throttle = 0\n\n # Run a continous servo on Servo 2 backwards at half speed.\n crickit.continuous_servo_2.throttle = -0.5\n\n # Run the motor on Motor 1 terminals at half speed.\n crickit.dc_motor_1.throttle = 0.5\n\n # Set Drive 1 terminal to 3/4 strength.\n crickit.drive_1.fraction = 0.75\n\n if crickit.touch_1.value:\n print(\"Touched terminal Touch 1\")\n\n # A single stepper motor uses up all the motor terminals.\n crickit.stepper_motor.onestep(direction=stepper.FORWARD)\n\n # You can also use the Drive terminals for a stepper motor\n crickit.drive_stepper_motor.onestep(direction=stepper.BACKWARD)\n\n # Note: On CPX Crickit, NeoPixel pin is normally connected to A1, not to seesaw,\n # so this part of the demo cannot control the NeoPixel terminal.\n # Strip or ring of 8 NeoPixels\n crickit.init_neopixel(8)\n crickit.neopixel.fill((100, 100, 100))\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\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-crickit --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_Crickit", "keywords": "adafruit crickit robotics hardware micropython circuitpython", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "adafruit-circuitpython-crickit", "package_url": "https://pypi.org/project/adafruit-circuitpython-crickit/", "platform": "", "project_url": "https://pypi.org/project/adafruit-circuitpython-crickit/", "project_urls": { "Homepage": "https://github.com/adafruit/Adafruit_CircuitPython_Crickit" }, "release_url": "https://pypi.org/project/adafruit-circuitpython-crickit/2.1.6/", "requires_dist": null, "requires_python": "", "summary": "CircuitPython library for controlling a Crickit robotics board.", "version": "2.1.6" }, "last_serial": 5647482, "releases": { "1.0.2": [ { "comment_text": "", "digests": { "md5": "d23aa818fd21cdff815083a3ecdabf8f", "sha256": "710cf9375ca273ff309d3f04efcc5535b25463768deb99cbefd4c364678c8512" }, "downloads": -1, "filename": "adafruit-circuitpython-crickit-1.0.2.tar.gz", "has_sig": false, "md5_digest": "d23aa818fd21cdff815083a3ecdabf8f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24504, "upload_time": "2018-06-30T02:06:50", "url": "https://files.pythonhosted.org/packages/fb/7d/4ab540d2bbb5fa13b460a0ecc96db8b68043c1de39241ed16e0f1e776560/adafruit-circuitpython-crickit-1.0.2.tar.gz" } ], "2.0.1": [ { "comment_text": "", "digests": { "md5": "5502c8c93712f694ce2357636a8225c8", "sha256": "8cba7170723f21aeb2e27251a0a21ced63bcca43491c45e04d6db4d4cbb152da" }, "downloads": -1, "filename": "adafruit-circuitpython-crickit-2.0.1.tar.gz", "has_sig": false, "md5_digest": "5502c8c93712f694ce2357636a8225c8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22373, "upload_time": "2018-07-03T18:16:56", "url": "https://files.pythonhosted.org/packages/f7/23/7225a8677a8c442e5c0a8e260f72dcefee96fc395ccdb4c5ec290d4d1f65/adafruit-circuitpython-crickit-2.0.1.tar.gz" } ], "2.0.2": [ { "comment_text": "", "digests": { "md5": "392863de981f010af209ace17f29ea3c", "sha256": "a1e4e64f20a2745a6d881ff4ce9faf91452508feabb474e101824056b37b85b2" }, "downloads": -1, "filename": "adafruit-circuitpython-crickit-2.0.2.tar.gz", "has_sig": false, "md5_digest": "392863de981f010af209ace17f29ea3c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22403, "upload_time": "2018-07-05T21:39:53", "url": "https://files.pythonhosted.org/packages/8a/ad/38b0f3222b50c16065a2ba14a927b840c90cfd517d67cc1b85d1bdb5f0ae/adafruit-circuitpython-crickit-2.0.2.tar.gz" } ], "2.1.0": [ { "comment_text": "", "digests": { "md5": "ba33085ee2197db39f363373b994e610", "sha256": "50241576d5763621492646ac1f370d3459948b83d97d29033339f060aa1970a5" }, "downloads": -1, "filename": "adafruit-circuitpython-crickit-2.1.0.tar.gz", "has_sig": false, "md5_digest": "ba33085ee2197db39f363373b994e610", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22435, "upload_time": "2018-08-03T23:45:16", "url": "https://files.pythonhosted.org/packages/2a/59/1fd1f0c4c67d640f3bd352a7421195540dda96c5c12963a95ca96a531ff4/adafruit-circuitpython-crickit-2.1.0.tar.gz" } ], "2.1.1": [ { "comment_text": "", "digests": { "md5": "34d9b85412e9426d37da6ba6aea8adc8", "sha256": "40491306c4ff21a396f79d878a70d994d4c62cbfb55e7d811ccebd87b533a3f7" }, "downloads": -1, "filename": "adafruit-circuitpython-crickit-2.1.1.tar.gz", "has_sig": false, "md5_digest": "34d9b85412e9426d37da6ba6aea8adc8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22439, "upload_time": "2018-08-03T23:50:12", "url": "https://files.pythonhosted.org/packages/eb/62/f72816ea02ecf81672de837d985e8d35b1c4801df83a7d1cc73f88f92216/adafruit-circuitpython-crickit-2.1.1.tar.gz" } ], "2.1.2": [ { "comment_text": "", "digests": { "md5": "1e5a8115318c04da5624446f3665bc37", "sha256": "3331d15c9ad1dfcd07c5874e19808fe123a5e8c761ee3797fbe3c093c82e6850" }, "downloads": -1, "filename": "adafruit-circuitpython-crickit-2.1.2.tar.gz", "has_sig": false, "md5_digest": "1e5a8115318c04da5624446f3665bc37", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22524, "upload_time": "2018-11-01T21:19:48", "url": "https://files.pythonhosted.org/packages/a0/eb/7261d14c227e758c3d85529403f78a623eed877f4d278b3ec9c8aaef9e66/adafruit-circuitpython-crickit-2.1.2.tar.gz" } ], "2.1.3": [ { "comment_text": "", "digests": { "md5": "1b84ec105d6596e70c590976725200e3", "sha256": "a9d54df1d00a8d96a18bd7dee88ea2376af82530ece81a3ea25df113736e4e00" }, "downloads": -1, "filename": "adafruit-circuitpython-crickit-2.1.3.tar.gz", "has_sig": false, "md5_digest": "1b84ec105d6596e70c590976725200e3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22549, "upload_time": "2018-11-21T19:24:19", "url": "https://files.pythonhosted.org/packages/b6/95/5571489b7405ff8ebe925cc35e8debf649faa6a710e4041711e2eb86c0eb/adafruit-circuitpython-crickit-2.1.3.tar.gz" } ], "2.1.4": [ { "comment_text": "", "digests": { "md5": "83d753aded01e11d1b5130f41522b22b", "sha256": "bb48a20415eb441fc6ecc105560178d5fe9a1707460cadda82fd4da4de881b42" }, "downloads": -1, "filename": "adafruit-circuitpython-crickit-2.1.4.tar.gz", "has_sig": false, "md5_digest": "83d753aded01e11d1b5130f41522b22b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21371, "upload_time": "2019-01-16T02:24:17", "url": "https://files.pythonhosted.org/packages/c3/f9/502d551ebcae33ef27c90be5ed642be7e0f65ea2f598381dae788c858559/adafruit-circuitpython-crickit-2.1.4.tar.gz" } ], "2.1.5": [ { "comment_text": "", "digests": { "md5": "6c8142c3ca2ec1d4452c5d832784bd74", "sha256": "0f804498bba538ff4431eb5662c143f36e21e7bfd38bdc497113ac90bc394408" }, "downloads": -1, "filename": "adafruit-circuitpython-crickit-2.1.5.tar.gz", "has_sig": false, "md5_digest": "6c8142c3ca2ec1d4452c5d832784bd74", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21416, "upload_time": "2019-05-13T05:14:40", "url": "https://files.pythonhosted.org/packages/83/66/77f6a05b38552a969e724aff06f73c3ce43e21fdc94a4dbe3f50033d7fb9/adafruit-circuitpython-crickit-2.1.5.tar.gz" } ], "2.1.6": [ { "comment_text": "", "digests": { "md5": "f7d38fa166006e8213daa91d72460829", "sha256": "87f257615670c25bba7da197448dc3eed93228605fe1fb7c9f12fad874bab224" }, "downloads": -1, "filename": "adafruit-circuitpython-crickit-2.1.6.tar.gz", "has_sig": false, "md5_digest": "f7d38fa166006e8213daa91d72460829", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21405, "upload_time": "2019-08-08T00:02:39", "url": "https://files.pythonhosted.org/packages/91/1c/2c8e9918ad9f2f77616174de24bb6ee60fe29808b30d635aec04a89d987e/adafruit-circuitpython-crickit-2.1.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f7d38fa166006e8213daa91d72460829", "sha256": "87f257615670c25bba7da197448dc3eed93228605fe1fb7c9f12fad874bab224" }, "downloads": -1, "filename": "adafruit-circuitpython-crickit-2.1.6.tar.gz", "has_sig": false, "md5_digest": "f7d38fa166006e8213daa91d72460829", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21405, "upload_time": "2019-08-08T00:02:39", "url": "https://files.pythonhosted.org/packages/91/1c/2c8e9918ad9f2f77616174de24bb6ee60fe29808b30d635aec04a89d987e/adafruit-circuitpython-crickit-2.1.6.tar.gz" } ] }