U8g2 i2c address where is it in the Library?

Hi everyone.

I did a lot of searching and want to know if the I2C address is read from the Display or must it be changed manually if manually where in the Library.

The latest U8g2 Lib (Installed Yesterday) I found this , looks like the Address is read from the display.

But in the U8g2 manual I found this.(Found on Github)

Thanks.

It can't read anything from the display without the address.

Each controller chip has one or more I2C addresses you can select. As the manual says: the library will default to the lowest address the controller chip supports. If you are not using that address, call .setI2CAddress() before .begin().

Thanks.
Any idea where in the library the default Address for all the different LCD's is.
Maybe I am barking up the wrong tree and the ID is not why the Display does not work.

I looked but that library is HUGE. Good luck.

Thanks , I lost myself in that library .

Thanks I got the OLED to work with Hello World example on a Nano

 u8x8.setI2CAddress(0x7a);//0x3d x 2
 u8x8.begin();
1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.