datasith / Ai_Ardulib_SSD1306

Library for using SSD1306-powered OLED displays in the Arduino IDE.
MIT License
56 stars 22 forks source link

Provide an option to set I2C interface on init. #18

Closed JDuchniewicz closed 2 years ago

JDuchniewicz commented 3 years ago

It is unfortunate that this library does not have an option to provide I2C bus during initialization. This PR aims to change that.

Additionally my formatting tool removed unnecessary tabs and spaces. (I hope this is not a problem 😅 )

datasith commented 2 years ago

Thanks @JDuchniewicz. Sorry this took forever, but as you might imagine, I diverged from DIY electronics. I resolved a small conflict with your previous PR (seems that your displayOff function in this one wasn't called both times), but other than that it's great! Thank you so much!