I am having difficulty finding good explanations for different libraries ( example Adafruit_SSD1306.h) especially if they are not in the Arduino reference. When I work through the code examples, there is often different function/methods that I cannot find good explanations for: example ” Adafruit_SSD1306 display(screen_width, screen_height, &Wire, oled_rst);” Why the “&wire” parameter is needed.
Can someone please point where to start looking for a good reference… haven’t had much luck with Google.
Does Github have a reference section somewhere that I haven’t found.
Talayoko Lake BC Canada
I don’t think there is a reference for what you want.
The &wire parameter is needed because that’s how the Adafruit_SSD1306 constructor works.
You can take a look at the Adafruit_SSD1306.h file and find all the constructors and functions: https://github.com/adafruit/Adafruit_SSD1306/blob/master/Adafruit_SSD1306.h
For that particular case, look at line 127.
I hope this helps.