Compiling error trying to use SSD1306 0.96" display

Hello,
I am trying to run the sample program for the 0.96 I2C display.
I receive the following error:

/home/shlomo/sketchbook/libraries/Adafruit_SSD1306/Adafruit_SSD1306.cpp: In constructor ‘Adafruit_SSD1306::Adafruit_SSD1306(uint8_t, uint8_t, TwoWire*, int8_t, uint32_t, uint32_t)’:
/home/shlomo/sketchbook/libraries/Adafruit_SSD1306/Adafruit_SSD1306.cpp:170:3: error: class ‘Adafruit_SSD1306’ does not have any field named ‘wireClk’
wireClk(clkDuring), restoreClk(clkAfter)

I connected SCL>A5
SDA>A4
I also uncommented define command related to my display.

Any help?

BTW another question is where these pinouts are in the code (i.e. where in the code is written that SCL should be connected to A5 and SDA should be connected to A4. I found this info on web but cannot see nowhere in the code)?

Thanks!

Hi,
Welcome to the forum.

Please read the first post in any forum entitled how to use this forum.
http://forum.arduino.cc/index.php/topic,148850.0.html .
Then look down to item #7 about how to post your code.
It will be formatted in a scrolling window that makes it easier to read.

Can you please post a copy of your circuit, in CAD or a picture of a hand drawn circuit in jpg, png?

Thanks.. Tom.... :slight_smile:

Which Arduino board are you using?

Have you tried examples that come with the library that you have installed?