Closed monomycelium closed 1 year ago
Being stupid, it had never occurred to me that I could search GitHub for such a library. Apparently, there are billion others, like Patryk27/pwr-hd44780. Sorry for wasting your time if you are reading this.
You may find the awesome-embedded-rust list useful to search for drivers, board support crates and much more.
Thanks for that! However, I gave up on creating the library because there are many existing implementations out there.
introduction
I have a Raspberry Pi and an 16-by-2 I2C LCD lying around. Last year, I found a Python3 library to control the LCD using SMBus. I want to write a similar library for Rust, but as someone who hardly knows how I2C works, I need some help.
goal
Write a Rust library to simplify manipulating an I2C LCD (maybe by rewriting
lcd_1602_i2c
fori2cdev
for Linux).resources
vay3t
i2cdev
crate documentationSo far, I have managed to get the backlight to turn on and off using the
i2cdev
crate (src/main.rs
):help needed
If you'd like to work with me in writing this library, please reach out to me. Or, you could help with what I am stuck on right now: sending "commands" to the LCD. I can write I2C bytes to the LCD just fine, but apparently, "commands" are different.
edit