Skip to content

Conversation

basuke
Copy link

@basuke basuke commented Feb 3, 2015

I tried to use two MicroOLED breakout boards with one Arduino Pro Mini, but it failed. I checked with the library and found begin() was doing wrong. Actually if I split begin() into two parts and call them in that order, it worked.

Not like this to setup():

  oled1.begin();
  oled2.begin();

but like this:

  oled1.setup();
  oled2.setup();

  oled1.initialize();
  oled2.initialize();

Please check the example ino file.

Basuke Suzuki added 2 commits February 3, 2015 00:08
Split the implementation of begin() into setup() for setting up the
hardware pins and initialize() for sending initialize command to the
device. Also move static screen buffer into private member variable.
@basuke
Copy link
Author

basuke commented Feb 3, 2015

Multiple connection of MicroOLED

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant