B4R Library rAdafruitSSD1306 - OLED displays

monki

Active Member
Licensed User
Longtime User
I have update my project with the new library, srolling works perfect
many thanks
monki
 

kolbe

Active Member
Licensed User
Longtime User
I've updated the library and it now supports scrolling. There was a typo in the previous version. The type name was AdafruitSSD1305 instead of AdafruitSSD1306. This was fixed.

You will need to update your existing projects.

Would you care to update these libraries again to support the ESP32. I tried swapping the newer libraries with this wrapper but I got a variety of errors I didn't know how to fix.
 

JMB

Active Member
Licensed User
Longtime User
Hi there,

I am trying to use this code to run on d-duino board with a built in display but without success.

When I program it from Arduino I have no problems with this code:
B4X:
// Initialize the OLED display using Wire library
 SSD1306Wire  display(0x3c, D1, D2);

How does one specify the correct pins for the I2C bus in the provided code?

Thanks.

JMB
 

JMB

Active Member
Licensed User
Longtime User
Hmm. No. Those examples do not work with this board. It would appear that it uses a different include file so the AdaFruit wrapper doesn't work.
 

Peter Simpson

Expert
Licensed User
Longtime User
Cookies are required to use this site. You must accept them to continue using the site. Learn more…