cancel
Showing results for 
Search instead for 
Did you mean: 

Hello, i am tring to display some word on my LCD connected by means I2C drive (LCM1602) without result. I have no error and the LCD is always on but no word apper. I think that the issue is the address to put in: #define DEVICE_ADDR (0x4E << 1)

SMusc.1
Associate III

On data scheet of device (PCF8574T mounted on LCM1602) the addres is 0100 1110=4E but the program still doesn't show me any letter on LCD. Where is wrong? I cheked many times the pin and them are right. Same thing on Cube IDE.

1 ACCEPTED SOLUTION

Accepted Solutions
Johi
Senior III

Hello,

  • https://playground.arduino.cc/Main/I2cScanner/ is a link to an I2C scanner.
  • Does your display work on a real Arduino, have you tried this?
  • Have you tried to change the contrast of your display (via a potmeter or other device), if contrast is not setup correctly you not see anything.

Best Regards,

Johi.

View solution in original post

5 REPLIES 5
MM..1
Chief II

remove << 1 or better change >> 1

SMusc.1
Associate III

Hi, i doesn't work

SMusc.1
Associate III

there is a way to check automatcly the adress like in the arduino? In arduino there is some code to scann this

Johi
Senior III

Hello,

  • https://playground.arduino.cc/Main/I2cScanner/ is a link to an I2C scanner.
  • Does your display work on a real Arduino, have you tried this?
  • Have you tried to change the contrast of your display (via a potmeter or other device), if contrast is not setup correctly you not see anything.

Best Regards,

Johi.

SMusc.1
Associate III

YES i tried to do all; with Arduino i can see some word