{"id":15659079,"url":"https://github.com/xyb/lcd2usb","last_synced_at":"2025-07-01T09:06:42.031Z","repository":{"id":12696631,"uuid":"15368994","full_name":"xyb/lcd2usb","owner":"xyb","description":"LCD2USB's Python Library","archived":false,"fork":false,"pushed_at":"2025-01-07T09:39:12.000Z","size":16,"stargazers_count":24,"open_issues_count":0,"forks_count":16,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-05-05T17:21:23.401Z","etag":null,"topics":["hd44780","lcd","python","usb"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xyb.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2013-12-22T02:16:19.000Z","updated_at":"2025-01-07T09:34:42.000Z","dependencies_parsed_at":"2025-03-09T21:33:12.286Z","dependency_job_id":"e638b4fe-76f2-4c3f-ae74-4dfb03996007","html_url":"https://github.com/xyb/lcd2usb","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/xyb/lcd2usb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xyb%2Flcd2usb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xyb%2Flcd2usb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xyb%2Flcd2usb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xyb%2Flcd2usb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xyb","download_url":"https://codeload.github.com/xyb/lcd2usb/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xyb%2Flcd2usb/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262933322,"owners_count":23386784,"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":["hd44780","lcd","python","usb"],"created_at":"2024-10-03T13:14:50.924Z","updated_at":"2025-07-01T09:06:42.001Z","avatar_url":"https://github.com/xyb.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"LCD2USB's Python Library\n\nhome: http://github.com/xyb/lcd2usb\n\nPyPI: http://pypi.python.org/pypi/lcd2usb\n\nIntroduce\n=========\n\nThe LCD2USB's Python Library is a Pure-python wrapper for LCD2USB_ which\nprovide a simple way to control your LCD2USB display device. LCD2USB_ is a\nopen source/open hardware project to connect HD44780 based text LCD displays\nto various PCs via USB.\n\nUsage\n=====\n\nConnect a lcd2usb device is easy::\n\n    \u003e\u003e\u003e from lcd2usb import LCD\n    \u003e\u003e\u003e lcd = LCD()\n    \u003e\u003e\u003e lcd.info()\n    Found LCD2USB device on bus 004 device 004.\n\nGet lcd2usb firmware version::\n\n    \u003e\u003e\u003e lcd.version\n    (1, 9)\n\nWrite something on the screen::\n\n    \u003e\u003e\u003e lcd.write('Hello, LCD2USB!')\n\nClean screen and wirte some on the 2nd row::\n\n    \u003e\u003e\u003e lcd.clear()\n    \u003e\u003e\u003e lcd.goto(0, 1)\n    \u003e\u003e\u003e lcd.write('Flying with PYTHON')\n\nOr simpler::\n\n    \u003e\u003e\u003e lcd.write('Flying with PYTHON', 0, 1)\n\nDefine a custom smile symbol and display it on the center of first row\n(on a 4x20 display)::\n\n    \u003e\u003e\u003e from lcd2usb import SMILE_SYMBOL\n    \u003e\u003e\u003e lcd.define_char(0, SMILE_SYMBOL)\n    \u003e\u003e\u003e lcd.write('\\0', 9, 0)\n\nThat it!\n\nIf you need a quickly running test for your device, use this::\n\n    python -m lcd2usb\n\nRequirements\n============\n\n- Python_ 3 required\n\n- ctypes_ (included in Python)\n\n- libusb-1.0_\n\n- python-libusb1_\n\nInstallation\n============\n\nInstallation is done just as for any other Python library. Using the ``pip`` or ``easy_install`` command from setuptools is the easiest::\n\n    pip install lcd2usb\n\nOr::\n\n    easy_install install lcd2usb\n\n\n.. _LCD2USB: http://www.harbaum.org/till/lcd2usb\n\n.. _Python: http://www.python.org/\n\n.. _ctypes: http://python.net/crew/theller/ctypes/\n\n.. _libusb-1.0: http://www.libusb.org/wiki/libusb-1.0\n\n.. _python-libusb1: http://github.com/vpelletier/python-libusb1\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxyb%2Flcd2usb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxyb%2Flcd2usb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxyb%2Flcd2usb/lists"}