We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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);
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);
Adafruit_SSD1306 display = Adafruit_SSD1306(SCREEN_WIDTH, SCREEN_HEIGHT, &Wire, OLED_RESET);
The text was updated successfully, but these errors were encountered:
also needs #include <Adafruit_I2CDevice.h>
#include <Adafruit_I2CDevice.h>
Sorry, something went wrong.
The analysis of line 36 is incorrect. Whatever the problem is, it's not the syntax of the variable definition.
No branches or pull requests
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: