{"id":23531688,"url":"https://github.com/tomplus/dfrgblcdpy","last_synced_at":"2026-02-08T13:31:49.208Z","repository":{"id":269348182,"uuid":"905456916","full_name":"tomplus/DFRGBLCDpy","owner":"tomplus","description":"Python library to control DFRobot Gravity I2C LCD1602 with RGB Backlight Display","archived":false,"fork":false,"pushed_at":"2025-01-01T17:56:58.000Z","size":26,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-01T19:16:42.902Z","etag":null,"topics":["lcd-display","raspberry"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tomplus.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-18T21:39:01.000Z","updated_at":"2025-01-01T17:56:44.000Z","dependencies_parsed_at":"2024-12-22T23:35:58.186Z","dependency_job_id":null,"html_url":"https://github.com/tomplus/DFRGBLCDpy","commit_stats":null,"previous_names":["tomplus/dfrgblcdpy"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomplus%2FDFRGBLCDpy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomplus%2FDFRGBLCDpy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomplus%2FDFRGBLCDpy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomplus%2FDFRGBLCDpy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tomplus","download_url":"https://codeload.github.com/tomplus/DFRGBLCDpy/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239231123,"owners_count":19603994,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["lcd-display","raspberry"],"created_at":"2024-12-25T22:19:14.713Z","updated_at":"2025-10-31T21:30:34.810Z","avatar_url":"https://github.com/tomplus.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DFRGBLCDpy\n\n![Build status](https://github.com/tomplus/DFRGBLCDpy/workflows/Tests/badge.svg)\n![PyPI version](https://img.shields.io/pypi/v/dfrgblcdpy)\n\nPython library to control DFRobot Gravity I2C LCD1602 with RGB Backlight Display or similar.\n\n## About\n\nThis library is based on official library [DFRobot_RGBLCD1602](https://github.com/DFRobot/DFRobot_RGBLCD1602)\nto control [DFRobot Gravity I2C LCD1602](https://www.dfrobot.com/product-1609.html). The offical library uses\ndeprecated _wiringpi_, but this uses _smbus_ and it's released as a standalone library.\n\nFeel free to use and enjoy your LCD.\n\n## Getting Started\n\n### Requirements\n\n1. Connect your LCD to RPi via I2C pinouts, it accepts 5V. \n\n2. Enable I2C on your RPi (using _raspi-config_)\n\n3. Install (_apt-get install i2c-tools_) and use _i2cdetect_ to check addresses.\n   \n   Example:\n   ```\n    $ i2cdetect -y 1\n\n        0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f\n    00:          -- -- -- -- -- -- -- -- -- -- -- -- -- \n    10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- \n    20: -- -- -- -- -- -- -- -- -- -- -- -- -- 2d -- -- \n    30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- 3e -- \n    40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- \n    50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- \n    60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- \n    70: -- -- -- -- -- -- -- --   \n    ```\n    (the module uses 2 addresses)\n    \n    Alternatively you can assume that the LCD has an address **0x3e**\n    and RGB's address depends on the hardware version: **0x2d** (RGB V2.0), \n    0x60 (RGB V1.0), 0x6b (V1.1), 0x30 (V1.0).\n\n## Installation\n\n```\npip install dfrgblcdpy\n```\n\n## Examples\n\n```python\nfrom dfrgblcdpy import DFRRGBLCDPY\n\n# default addresses\nlcd = DFRRGBLCDPY()\n\n# set white backlight\nlcd.set_color_white()\n\n# first line\nlcd.print_out(\"Hello!\")\n\n# second line\nlcd.set_cursor(0, 1)\nlcd.print_out(\"World!\")\n```\n\n## Documentation\n\nSee `docs/dfrgblcdpy.html`\n\n## License\n\nDistributed under the MIT License. See `LICENSE.txt` for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomplus%2Fdfrgblcdpy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftomplus%2Fdfrgblcdpy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomplus%2Fdfrgblcdpy/lists"}