mjhouse / ag-lcd

A rust port of the C++ LiquidCrystal library for arduino systems
GNU General Public License v3.0
17 stars 8 forks source link

Add I2C example, fix error in doc strings, update README #36

Closed vcrn closed 1 year ago

vcrn commented 1 year ago

My intention for this PR was to just fix some small typos/errors in the docs strings in src/i2c.rs which I found when trying out the code. But since I had a simple working example by that point, I thought I'd might as well add that example to the PR. I also updated some of the READMEs while I was at it. So it expanded a bit from my original intention with the PR.

We might want to add more info in the root README since this crate is starting to feel less like a pure port of the LiquidCrystal lib, and mentioning the need for adding "i2c" as a feature for the ag-lcd dependency in Cargo.toml when using this crate. But that's probably better to take in another PR.