Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ssd1306_128x32_i2c.ino #204

Open
shalikashvili opened this issue Feb 12, 2021 · 2 comments
Open

ssd1306_128x32_i2c.ino #204

shalikashvili opened this issue Feb 12, 2021 · 2 comments

Comments

@shalikashvili
Copy link

shalikashvili commented Feb 12, 2021

Note: The above code has no effect, and fails to instantiate an Adafruit_SSD1306 object instance

The line should read:
Adafruit_SSD1306 display = Adafruit_SSD1306(SCREEN_WIDTH, SCREEN_HEIGHT, &Wire, OLED_RESET);

@marc-gist
Copy link

also needs
#include <Adafruit_I2CDevice.h>

@BillyDonahue
Copy link
Contributor

BillyDonahue commented Apr 23, 2021

The analysis of line 36 is incorrect.
Whatever the problem is, it's not the syntax of the variable definition.

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

No branches or pull requests

3 participants