In the past few days, we have received more and more support requests for our I2C display adapter.
Even if you follow the example in the eBook closely, there seem to be modules that don't want to display anything.
We will of course expand the eBook with the suggested solutions shown below.
There can be several reasons for this.
If the display lights up but no characters appear, the contrast may be set too low.
You can set this directly on the adapter board with a small screwdriver.
If this does not help, you have probably received an adapter with the new I²C address.
In our eBook the address 0x27 is used. However, some boards use the address 0x3F.
In the example, it is sufficient to change the address to 0x3F:
LiquidCrystal_I2C lcd(0x3F,2,1,0,4,5,6,7,3,POSITIVE); // Set the LCD I2C address
Now the display should work.
A little hint:
The library i2cdetect by Mike Causer helps to find out the I²C addresses of connected modules. This checks the I²C bus and lists all responding addresses.
can be found at https://github.com/mcauser/i2cdetect or via the library manager.
Nice start to the weekend and see you tomorrow!