{"id":16744851,"url":"https://github.com/bogdal/rpi-lcd","last_synced_at":"2025-03-21T22:31:40.067Z","repository":{"id":43467361,"uuid":"67644282","full_name":"bogdal/rpi-lcd","owner":"bogdal","description":"I²C LCD library for RaspberryPi ","archived":false,"fork":false,"pushed_at":"2022-03-01T11:21:56.000Z","size":7,"stargazers_count":24,"open_issues_count":3,"forks_count":6,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-18T05:43:53.809Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/bogdal.png","metadata":{"files":{"readme":"README.rst","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}},"created_at":"2016-09-07T21:15:40.000Z","updated_at":"2025-02-21T00:45:04.000Z","dependencies_parsed_at":"2022-09-05T17:22:01.334Z","dependency_job_id":null,"html_url":"https://github.com/bogdal/rpi-lcd","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bogdal%2Frpi-lcd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bogdal%2Frpi-lcd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bogdal%2Frpi-lcd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bogdal%2Frpi-lcd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bogdal","download_url":"https://codeload.github.com/bogdal/rpi-lcd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244880269,"owners_count":20525505,"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":[],"created_at":"2024-10-13T01:44:16.476Z","updated_at":"2025-03-21T22:31:39.756Z","avatar_url":"https://github.com/bogdal.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"rpi-lcd\n=======\n\nThis library supports LCD text displays (20x4, 16x2 and other) via I²C converter.\n\nIt requires the ``python-smbus`` package installed on your Raspberry Pi and enabled ``ARM I2C`` interface.\n\nInstallation\n------------\n\nGet the package from ``pypi``::\n\n    pip install rpi-lcd\n\nUsage\n-----\n\n.. code-block:: python\n\n    from rpi_lcd import LCD\n    from time import sleep\n\n    lcd = LCD()\n    \n    lcd.text('Hello World!', 1)\n    lcd.text('Raspberry Pi', 2)\n    lcd.text('is really', 3, 'center')\n    lcd.text('awesome', 4, 'right')\n\n    sleep(5)\n    lcd.clear()\n    \n``rpi-lcd`` handles multiline texts::\n\n    from rpi_lcd import LCD\n    \n    lcd = LCD()\n    lcd.text('This is a message that has more than 20 chars and does not fit in one line', 1)\n    \n.. image:: https://github-bogdal.s3.amazonaws.com/rpi-lcd/lcd_text.jpeg\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbogdal%2Frpi-lcd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbogdal%2Frpi-lcd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbogdal%2Frpi-lcd/lists"}