B4R Question SSD1306 OLED resolution

positrom2

Active Member
Licensed User
Longtime User
I got an 1306 128x64 OLED (Waveshare).
A line like
B4X:
ssd.GFX.DrawLine(0,0,127,31,ssd.WHITE)
diagonally covers the whole screen, so it appears that the y-axis in B4R is only 32 pixel wide.
The Adafruit library supports 128x64 and 128x32 displays.
https://github.com/adafruit/Adafruit_SSD1306
Is there a choice in B4R for those display types?
 

positrom2

Active Member
Licensed User
Longtime User
Thank you, that worked.
Yesterday night I had tried that with the Arduino IDE, but it did not work. The Nodemcu apparently got more and more petulant and I stopped working.
This morning I had changed the USB cable to a "thicker" one. I hope the reliability becomes (and stays) better.
Though finally not a big project, I will post it when finished (graphing BMP280 data on OLED).
 
Upvote 0
Top