Problem Arduino IOT 33 communication with waveshare 1.3inch OLED(SH1106) [SOLVED]

Hello to all,
I am new in this community.
I am working on a small project and doing my first steps using arduino IOT 33 .
For a few days i am trying to print just a "Hello world" with waveshare 1.3inch OLED (SH1106) with no luck.
I have tried SPI with no results. After that I tried I2C. Changed the BS1 from 0 to 1 as noted in the wiki (switching the jumper) and tried the example from waveshare , changing the flag in DEV_config.h with no results.
I tried to scan I2C in order to make a list of connected devices and the output was the following:

Scanning...
I2C device found at address 0x60 !
I2C device found at address 0x6A !
done

Any help would be appreciated.

It is embarrassing to say that a few minutes after the post , I used u8g2 library, modified a bit and worked. I used HelloWorld in examples >u8g2 > full_buffer > HelloWorld

I added after #include <U8g2lib.h> :

#define U8X8_HAVE_HW_I2C

Then, due to the fact that i use i2c, I de commented :

U8G2_SH1106_128X64_NONAME_F_HW_I2C u8g2(U8G2_R0, /* reset=*/ U8X8_PIN_NONE);

And that was it.
Hope that someone will find it helpful.

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