• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

OLED Function call error after Arduino 1.8.10 install

Q&A Forum › Category: Arduino › OLED Function call error after Arduino 1.8.10 install
0 Vote Up Vote Down
vgershman asked 6 years ago

Hi,
I installed new version of Arduino 1.8.10 (going from 1.8.7) and now i get an error message “no matching function for call to ‘Adafruit_SSD1306::Adafruit_SSD1306(int, int, TwoWire*, int)'”.
I copied Adafruit_SSD1306 and  Adafruit GFX directories to C:\Docs\arduino-1.8.10\libraries, but still get an error.
What would be the fix for that?
 
Thanks

Question Tags: Adafruit_SSD1306, display
3 Answers
0 Vote Up Vote Down
vgershman answered 6 years ago

I looked at ESP32 Tutorial “Adafruit_SSD1306 display(SCREEN_WIDTH, SCREEN_HEIGHT, &Wire, -1);” and and removed “-1” from the function call. Now i get a new error: “invalid conversion from ‘TwoWire*’ to ‘int8_t {aka signed char}’ [-fpermissive]”.

0 Vote Up Vote Down
vgershman answered 6 years ago

I got it. I had a copy of old Adafruit_SSD1306.h in my .ino directory. One i removed it , the program compiled.
 
Sorry to bug you 🙂

0 Vote Up Vote Down
Rui Santos Staff answered 6 years ago

No problem! Thanks for posting your solution!

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.