KMatle Expert Licensed User Longtime User Aug 21, 2019 #1 I have an ESP32 with an onboard OLED Display. @Peter Simpson wrote a nice example which works like a charm. Peter showed some connection parms but it doesn't work with the lib. The I2cScanner shows no devices. Could someone explain the problem? Is it a bug in the lib? Peter Simpson said: Of course I've seen that library @Erel I've previously posted code snippets on here using your SSD1306 library. For starters it's missing some methods like 'display.drawProgressBar', and in any case it does not connected to this particular ESP32 with built in OLED display. Look at the difference yourself. Code: Copy Initialising using C: SSD1306 display(0x3c, 5, 4); 'Built-in OLED display Code: Copy Initialising using B4R: SSD.InitializeHSPI(9, 8, 10) '7 pin OLED display or SSD.InitializeI2C(4, 0x3c) '4 pin OLED display https://www.b4x.com/android/forum/threads/radafruitssd1306-oled-displays.68906/#content https://www.b4x.com/android/forum/t...-in-oled-display-progress-bar-inline-c.81391/ Click to expand...
I have an ESP32 with an onboard OLED Display. @Peter Simpson wrote a nice example which works like a charm. Peter showed some connection parms but it doesn't work with the lib. The I2cScanner shows no devices. Could someone explain the problem? Is it a bug in the lib? Peter Simpson said: Of course I've seen that library @Erel I've previously posted code snippets on here using your SSD1306 library. For starters it's missing some methods like 'display.drawProgressBar', and in any case it does not connected to this particular ESP32 with built in OLED display. Look at the difference yourself. Code: Copy Initialising using C: SSD1306 display(0x3c, 5, 4); 'Built-in OLED display Code: Copy Initialising using B4R: SSD.InitializeHSPI(9, 8, 10) '7 pin OLED display or SSD.InitializeI2C(4, 0x3c) '4 pin OLED display https://www.b4x.com/android/forum/threads/radafruitssd1306-oled-displays.68906/#content https://www.b4x.com/android/forum/t...-in-oled-display-progress-bar-inline-c.81391/ Click to expand...
Erel B4X founder Staff member Licensed User Longtime User Aug 22, 2019 #2 These are two completely different libraries. The B4R library is based on: https://github.com/adafruit/Adafruit_SSD1306 Upvote 0
These are two completely different libraries. The B4R library is based on: https://github.com/adafruit/Adafruit_SSD1306