{"id":16711431,"url":"https://github.com/kuabem/lcd-lcm1602-i2c","last_synced_at":"2025-04-10T05:40:29.566Z","repository":{"id":62441894,"uuid":"471670907","full_name":"KuabeM/lcd-lcm1602-i2c","owner":"KuabeM","description":"I2C driver for LM1602 LCD displays.","archived":false,"fork":false,"pushed_at":"2024-10-10T20:33:50.000Z","size":17,"stargazers_count":1,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T06:54:36.271Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/KuabeM.png","metadata":{"files":{"readme":"README.md","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":"2022-03-19T11:08:11.000Z","updated_at":"2024-10-10T20:33:54.000Z","dependencies_parsed_at":"2024-08-20T21:40:04.326Z","dependency_job_id":null,"html_url":"https://github.com/KuabeM/lcd-lcm1602-i2c","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KuabeM%2Flcd-lcm1602-i2c","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KuabeM%2Flcd-lcm1602-i2c/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KuabeM%2Flcd-lcm1602-i2c/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KuabeM%2Flcd-lcm1602-i2c/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KuabeM","download_url":"https://codeload.github.com/KuabeM/lcd-lcm1602-i2c/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248166120,"owners_count":21058474,"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-12T20:12:00.222Z","updated_at":"2025-04-10T05:40:29.544Z","avatar_url":"https://github.com/KuabeM.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LCD LM1602 I2C driver\n\nDriver to write characters to LCD displays with a LM1602 connected via i2c like [this one] with\n16x2 characters. It requires a I2C instance implementing [`embedded_hal::blocking::i2c::Write`]\nand a instance to delay execution with [`embedded_hal::blocking::delay::DelayMs`].\nOther LCD sizes are supported, up to displays with 20x4 characters. Everything that uses a\nHD44780U or comparable controller and is connected via i2c should work.\nLike [this]\n\nUsage:\n```\nconst LCD_ADDRESS: u8 = 0x27; // Address depends on hardware, see link below\n\n// Create a I2C instance, needs to implement embedded_hal::blocking::i2c::Write, this\n// particular uses the arduino_hal crate for avr microcontrollers like the arduinos.\nlet dp = arduino_hal::Peripherals::take().unwrap();\nlet pins = arduino_hal::pins!(dp);\nlet mut i2c = arduino_hal::I2c::new(\n    dp.TWI, //\n    pins.a4.into_pull_up_input(), // use respective pins\n    pins.a5.into_pull_up_input(),\n    50000,\n);\nlet mut delay = arduino_hal::Delay::new();\n\nlet mut lcd = lcd_lcm1602_i2c::LCD16x2::new(\u0026mut i2c, \u0026mut delay)\n    .address(LCD_ADDRESS)\n    .cursor_on(false) // no visible cursor\n    .init().unwrap();\n```\n\nThis [site][lcd address] describes how to find the address of your LCD devices.\n\nThere is a similar crate [lcd_1602_i2c] but that did not work with [this display][this one].\n\n[this one]: https://funduinoshop.com/elektronische-module/displays/lcd/16x02-i2c-lcd-modul-hintergrundbeleuchtung-blau\n[lcd address]: https://www.ardumotive.com/i2clcden.html\n[lcd_1602_i2c]: https://crates.io/crates/lcd_1602_i2c\n[this]: https://www.az-delivery.de/en/products/hd44780-2004-lcd-display-bundle-4x20-zeichen-mit-i2c-schnittstelle\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkuabem%2Flcd-lcm1602-i2c","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkuabem%2Flcd-lcm1602-i2c","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkuabem%2Flcd-lcm1602-i2c/lists"}