-
Notifications
You must be signed in to change notification settings - Fork 963
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
Comments
also needs |
The analysis of line 36 is incorrect. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Arduino board: QtPy (M0) (n/a, issue should occur on any applicable board)
Arduino IDE version (found in Arduino -> About Arduino menu): 1.8.13
List the steps to reproduce the problem below
Load and run the example: https://github.com/adafruit/Adafruit_SSD1306/blob/master/examples/ssd1306_128x32_i2c/ssd1306_128x32_i2c.ino
Behavior
Code fails to open ssd1306 device and freezes
Probable cause
Line 36 reads:
Adafruit_SSD1306 display(SCREEN_WIDTH, SCREEN_HEIGHT, &Wire, OLED_RESET);
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);
The text was updated successfully, but these errors were encountered: