New 128x32 oled ic2 w/ Uno R3 Simple example errors cant get past/

This is the exact same thing I am running into, except I have the 128x32 oled.

http://forum.arduino.cc/index.php?topic=265600.0

My current errors are as follows and all I want to do is to test this screen. After commenting out the other types.

C:\Users\KD0SGX.Stormtrooper\Desktop\UNOR3\mpide-0023-windows-20140821\mpide-0023-windows-20140821.\libraries\Adafruit_SSD1306\Adafruit_SSD1306.cpp: In member function 'void Adafruit_SSD1306::begin(uint8_t, uint8_t, bool)':
C:\Users\KD0SGX.Stormtrooper\Desktop\UNOR3\mpide-0023-windows-20140821\mpide-0023-windows-20140821.\libraries\Adafruit_SSD1306\Adafruit_SSD1306.cpp:169: error: 'digitalPinToPort' was not declared in this scope
C:\Users\KD0SGX.Stormtrooper\Desktop\UNOR3\mpide-0023-windows-20140821\mpide-0023-windows-20140821.\libraries\Adafruit_SSD1306\Adafruit_SSD1306.cpp:169: error: 'portOutputRegister' was not declared in this scope
C:\Users\KD0SGX.Stormtrooper\Desktop\UNOR3\mpide-0023-windows-20140821\mpide-0023-windows-20140821.\libraries\Adafruit_SSD1306\Adafruit_SSD1306.cpp:170: error: 'digitalPinToBitMask' was not declared in this scope

You have somehow not got the library installed correctly, or possibly it is attempting to use a very obsolete version of the arduino environment.

What is the first error message that you get ?

#if (SSD1306_LCDHEIGHT != 32)
#error("Height incorrect, please fix Adafruit_SSD1306.h!");
#endif

At this time I comment out the OLED's that were not mine. Same exact as this post.

Click here for post , its in this forum.

Thanks for looking into it.

Mike

Except mine is the 128x32 not 64 version.

I am using an UNO R3 board fyi. :slight_smile: :slight_smile:

Solved- used current Lib versions, the are in the Arduino app itself.