Document for SSD1306 commands

I am new to using a SSD1306 and am trying to find a document that describes the parameters for various operations. I have been unable to find what I need - probably due to inexperience but ...
For example what are the options for setFont or what are the parameters for drawString or fillRect

I have searched extensively but not found any documentation that I would call a User manual.

thanks for any pointers

Dale Gloer

Download the SSD1306 controller data sheet here

The Arduino SSD1306 library functions probably do not cover all the options available with the controller. Check the library documentation and code for those details.

setFont or what are the parameters for drawString or fillRect

Here you are probably thinking about the Adafruit GFX library.

I suggest that you run the examples from Adafruit_SSD1306 library.

They demonstrate many of the hardware features e.g. rotations, scrolling, ...

But seriously, most applications consist of regular text and graphics. They work the same on any display. They are easy to use e.g. via Adafruit_GFX library.

You do not need to know anything about the display hardware apart from width, height and SPI / I2C pin connections.

You can study the datasheet. Then ask specific questions about the SSD1306 controller.

Oh, you can go down the U8g2lib library route. Different methods for text, graphics, etc. Better suited for exotic fonts (and ability to run on different hardware displays.

David.

I am still learning and your suggestion that given what I asked I should be looking for the documentation for the GFX library.

As others suggest I should run the examples, which I have done, but they do not explain what the parameters mean - I am left to guess at what I should input to get what I want. Nor do the examples demonstrate all the possible functions.

I have followed the links to the github entries for the libraries but am still unable to find clear definitions of the parameters.

So, what I still desire is to find a "users manual" for the GFX library.

Thanks, Dale Gloer

1 Like

Very first result for the search phrase " adafruit gfx user manual", also downloadable as .pdf file:

Thank you for the link. Somehow I missed that.

Dale

there is a newer revision (1.5) of the datasheet:

Rev 1.5 is dated August 2010.

These are not "new" devices.

at least it's 4 revisions newer... but in terms of time... the ssd1306 will be allowed to drive a car in a short time :smiley:

Last time doing display things with a SSD1306 was in 2019 with an 128x64 OLED.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.