I bought one of these inexpensive 16x2 I2C LCDs on Amazon. There's no documentation, but I figured how hard could it be to get up and running, since I've used UART-interfaced ones before? I can get it to respond to my ATMega328P, but I can't get it to display text, or control it in any reliable, comprehensive way. There are endless discussions for using these in an Arduino environment, but I haven't been able to find any discussions about controlling them with bare metal, and the Arduino code is too abstracted for me to follow along. I've found a variety of manuals for the plain LCD (the I2C interface is a tacked on board with just an I2C port expander on it) that are generally consistent, but not sufficiently informative. Has anyone here gotten one of these to work with plain C code? Thanks for any tips.
Joined: Tue. Apr 1, 2003
Posts: 480 View posts