HELTEC OLED & Adafruit lib files

Hello I have a small OLED LCD ehich came with some arduino demo files, but these will not complie, I get a number of errors.

I was wondering has anyone else used a HELTEC display and if so how did you get around the lib files issues.

Or can someone try and complie the attached and see how you get on.

Cheers Sanders

Adafruit_GFX.h (2.72 KB)

glcdfont.c_original (7.95 KB)

Adafruit_SSD1306.h (4.28 KB)

Demo.ino (8.92 KB)

Haltec produces a lot of different OLEDs. I assume some of them will not work with Adafriut lib because of the missing ACK in I2C bus (which is not supported by the Adafruit lib) or the SH1106 controller instead of the SSD1306 controller (which is also not supported by Adafruit lib).

So... you should tell much more about your OLED, how you did connect this OLED to your board (which Board).

And... please read section 11 of this post:
http://forum.arduino.cc/index.php/topic,148850.0.html

Oliver

I had a similar problem with a heltec 128X64 OLED.

I downloaded the u8glib library then In the example code I had to look though a list of constructors to make sure I had the right display, my .96" 128X64 OLED was not included so I had to go to the U8glib website and copy and paste the constructor into my code.

My particular display used an I2C interface, there is a little hex address written on the back of the display and I had to go in an edit one of the files in the library so that it would talk to the display (I am new at this I2C business but I believe that each device has a unique address and the micro must know the address to talk to it. )

I am sure that the others will tell you this but can you post the code you are using and specify exactly what type of display you have?

I will look around for the tutorials that I used to get my display working.