# Initializing Adafruit\_SSD1306 parent class passes arguments by reference in constructor

**URL:** <https://forum.arduino.cc/t/initializing-adafruit-ssd1306-parent-class-passes-arguments-by-reference-in-constructor/1207511>\
**Category:** Programming\
**Created:** [January 5, 2024, 6:22pm UTC](https://forum.arduino.cc/t/initializing-adafruit-ssd1306-parent-class-passes-arguments-by-reference-in-constructor/1207511 "2024-01-05T18:22:24Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![van\_der\_decken](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/van_der_decken/32/1006976_2.png) [@van\_der\_decken](https://forum.arduino.cc/u/van_der_decken)\
**Post date:** [January 5, 2024, 6:39pm UTC](https://forum.arduino.cc/t/initializing-adafruit-ssd1306-parent-class-passes-arguments-by-reference-in-constructor/1207511/3 "2024-01-05T18:39:24Z")

</div>

Greetings. Please take the time to read [How to get the best out of this forum](https://forum.arduino.cc/t/how-to-get-the-best-out-of-this-forum/679966) and follow the guidelines found there.

Posting snippets is generally frowned upon.

As is posting in the Uncategorized section (see [Uncategorized - Arduino Forum](https://forum.arduino.cc/c/using-arduino/uncategorized/184) as to why you should not post in "Uncategorized" - beginning with the [DO NOT CREATE TOPICS IN THIS CATEGORY](https://forum.arduino.cc/t/do-not-create-topics-in-this-category/1111650) message). I've moved your message to a more appropriate category.

No guarantees without the complete sketch, but I'd start by trying:

```arduino
Adafruit_SSD1306(w, h, twi, rst_pin, clkDuring, clkAfter)

```

---

_[View the full topic](https://forum.arduino.cc/t/initializing-adafruit-ssd1306-parent-class-passes-arguments-by-reference-in-constructor/1207511)._
