Arduino Mega 2060 + Display LCD IC2

Hello everybody!

I have na Arduino Mega 2060 board and I have acquired one LCD 1602 + IC2 and I have tryed to upload some download samples STRETCHS but on display is nothing appears any character.

Can anyone help me by submitting a tested test code?



Use the example sketches that are included with the LCD library you’re using.

Here's the thing: different makers of I2C backfacks use different starting addreses. if you aare not addressing the particular I2C backpack your using, it can't respond

find an I2C scanner, scan, verify that the I2C address in your example matches the I2C address iin your module

if it does, adjust the bluer pot on the back of your module.

99% probability it's one of those holding you up.

For an I2C LCD display to work, the I2C address and the I2C backpack to LCD pin mapping must be correct. If the library default settings for either or both are not correct the LCD will not work. You can try to figure out the right pin mapping and use an I2C scanner to find the address, but if you install and use the hd44780 library that is done automatically by the library.

Install the hd44780 library. The hd44780 library is the best available for I2C LCDs. The library is available in the Library Manager. Go to Library Manager (in the IDE, Sketch, Include Libraries, Manage Libraries) and in the Topics dropdown choose Display and in the Filter your search box enter hd44780. Select and install the hd44780 library by Bill Perry.

The class that you want to use is the hd44780_I2Cexp class. There are examples to show how to use the library. The nice thing about the hd44780 library is that it will autodetect the I2C address and the I2C backpack to LCD pin mapping.

In the examples, there is a diagnostic sketch that will help us to help you if you still have trouble with the display. Run the diagnostic sketch and post the results.

Hi, Welcome to the forum.

Please read the first post in any forum entitled how to use this forum.,148850.0.html . Then look down to item #7 about how to post your code. It will be formatted in a scrolling window that makes it easier to read.

Thanks.. Tom... :)