{ "info": { "author": "Lassi", "author_email": "lassi@heisl.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Topic :: Software Development :: Libraries", "Topic :: System :: Hardware" ], "description": "# tlc59711 12 channel LED PWM driver\n\npython port of the c++ version by adafruit https://github.com/adafruit/Adafruit_TLC59711\n\n## Chip\n\nDatasheet: http://www.ti.com/lit/ds/symlink/tlc59711.pdf\nAdafruit prototyping board: https://www.adafruit.com/product/1455\n\nOne communicates with the chip via the i2c bus by toggling clk (clock) to shift the current state (low/high) of the data pin into the ICs 16bit register.\n\n## Usage\n\nConnect the IC to your pi using any two GPIO pins\n\n| Name | RPi Pin | RPi GPIO | TLC59711 | Adafruit TLC59711 |\n| ------ | ------: | -------- | -------- | ----------------- |\n| Data | 18 | GPIO24 | SDTI | DI |\n| Clock | 16 | GPIO23 | SCKI | CI |\n| 3v3 | 1 | 3v3 | 3v3 | VCC |\n| Ground | 6 | GND | GND | GND |\n\nimport the library and RPi.GPIO\n\n import RPi.GPIO as GPIO\n from tlc59711 import tlc59711\n\n GPIO.setmode(GPIO.BCM)\n tlc = tlc59711(23, 24)\n\nnow you can set each channel like this\n\n tlc.SetPWM(0,0xFFFF)\n\nthis sets channel 0 to maximum brightness. The TLC supports 65536 brightness steps from 0 to 100%:\n\n| Value | Brightness |\n| ------ | ---------: |\n| 0xFFFF | 100% |\n| 0x7FFF | 50% |\n| 0x3FFF | 25% |\n\nthe datasheet has more information on this\n\n## License\n\nthis package is a port of https://github.com/adafruit/Adafruit_TLC59711 their BSD license.txt is included in this repository.\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Liriel/tlc59711", "keywords": "", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "rpi-tlc59711", "package_url": "https://pypi.org/project/rpi-tlc59711/", "platform": "", "project_url": "https://pypi.org/project/rpi-tlc59711/", "project_urls": { "Homepage": "https://github.com/Liriel/tlc59711" }, "release_url": "https://pypi.org/project/rpi-tlc59711/1.0.0/", "requires_dist": null, "requires_python": "", "summary": "Raspberry Pi library to communicate with the TLC59711 12 channel LED driver", "version": "1.0.0" }, "last_serial": 5526941, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "9b01267e51db6df3161b56879edc8e23", "sha256": "9eb26661e84514c6f568f2844eb6e35ec99299016607482da95863b9299cc771" }, "downloads": -1, "filename": "rpi_tlc59711-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "9b01267e51db6df3161b56879edc8e23", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 2902, "upload_time": "2019-07-13T14:05:19", "url": "https://files.pythonhosted.org/packages/4d/3c/d3b8a0e0e2a3022c9c48de444d0b5a78b2d1e453513822926f9164f664f1/rpi_tlc59711-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f275de9804c607974ccfcafbc73d7dac", "sha256": "6b6f3f8095f24c2b66f47091656ec429a7d3f632d0751fc7ceccbfeb3c54e373" }, "downloads": -1, "filename": "rpi-tlc59711-1.0.0.tar.gz", "has_sig": false, "md5_digest": "f275de9804c607974ccfcafbc73d7dac", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2692, "upload_time": "2019-07-13T14:05:22", "url": "https://files.pythonhosted.org/packages/b1/f0/0fbd517c5f07fc095486148dd7e022d6a0dad04006d0f50a654cf74eee3f/rpi-tlc59711-1.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9b01267e51db6df3161b56879edc8e23", "sha256": "9eb26661e84514c6f568f2844eb6e35ec99299016607482da95863b9299cc771" }, "downloads": -1, "filename": "rpi_tlc59711-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "9b01267e51db6df3161b56879edc8e23", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 2902, "upload_time": "2019-07-13T14:05:19", "url": "https://files.pythonhosted.org/packages/4d/3c/d3b8a0e0e2a3022c9c48de444d0b5a78b2d1e453513822926f9164f664f1/rpi_tlc59711-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f275de9804c607974ccfcafbc73d7dac", "sha256": "6b6f3f8095f24c2b66f47091656ec429a7d3f632d0751fc7ceccbfeb3c54e373" }, "downloads": -1, "filename": "rpi-tlc59711-1.0.0.tar.gz", "has_sig": false, "md5_digest": "f275de9804c607974ccfcafbc73d7dac", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2692, "upload_time": "2019-07-13T14:05:22", "url": "https://files.pythonhosted.org/packages/b1/f0/0fbd517c5f07fc095486148dd7e022d6a0dad04006d0f50a654cf74eee3f/rpi-tlc59711-1.0.0.tar.gz" } ] }