Hello. This is the code that I am using BUT - there is no display on my LCD. Please bear with me as this is only my second sketch that I have put together and any advice will be most welcome. I am using the NANO and an lcd with a pcf8574 module.
Please follow the advice given in the link below when posting code, in particular the section entitled 'Posting code and common code problems'
Use code tags (the < CODE/ > icon above the compose window) to make it easier to read and copy for examination
https://forum.arduino.cc/t/how-to-get-the-best-out-of-this-forum
Try changing line
LCD_I2C lcd(0x27, 16, 2); // Default address of most PCF8574 modules, change according
to
LCD_I2C lcd(0x3F, 16, 2);
If this doesn't work either, upload the i2c_scanner code that you find in the File/Examples/Wire menu to know the I2C address of your LCD.
Verify your wiring is correct. Post a picture here so we can verify.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.