I2C lcd display address


#1

I am new to XOD and I can’t figure out the ADDR port and how to wire up my board.
my screen is 0X20.
thank you to anyone who can help me out.


#2

Hello! XOD currently accepts decimal numbers only. 0x20 is a hexadecimal equal to 32 decimal. Use ADDR = 32 for your LCD


#3

thanks for the tip.
I noticed that the ADDR is the only numeric input into the LCD 16x2 I2C block. Does this number also tell the Arduino what pins I will use to wire up the I2c chip? If so what pins and how do you tell?


#4

Pins used by I2C are hard-coded into the Wire library and vary by Arduino model. You can find a listing here: https://www.arduino.cc/en/Reference/Wire