Arduino fix Adafruitssd1306 usage error

preview_player
Показать описание
Arduino fix Adafruitssd1306 usage error

In Adafruit_SSD1306.h

1. uncomment #define SSD1306_128_64
2. comment #define SSD1306_128_32
3. comment #define SSD1306_96_16

In the example ssd1306_128x64_i2c

4. add #define SSD1306_LCDHEIGHT 64

on top of

#if (SSD1306_LCDHEIGHT != 64)
#error("Height incorrect, please fix Adafruit_SSD1306.h!");
#endif

When uploaded and OLED display not shown anything
Change OLED address to 0x3C ::::::::::: SUPPORT CHANNEL ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

Don't forget to subscribe!
Рекомендации по теме
Комментарии
Автор

bro, you just saved my midterm project!!!

plinioa.rodriguez
Автор

Sweet thankyou for this solved problem, you the best!

andytren
Автор

sir our code is compiling but not displaying on OLED

thekuchipudidancer
Автор

เปลี่ยน #define OLED_RESET 4 TO #define OLED_RESET LED_BUILTIN

nimdaeng