Changing "modes"
These modules can be used in SPI or 8-Bit mode. Somewhat annoyingly, the only way to switch modes is to desolder/solder jumpers on the back of the modules.
SPI Mode
This is the mode you likely want to be in. Your module may have come with this setting by default.
On the 1.5" OLED module: Make sure the R12 and R10 resistors are soldered in and the R11 and R9 spots are blank
On the 2.4" OLED module: Make sure the R19 and R21 resistors are soldered in and the R18 and R20 spots are blank
I2C mode
On the 1.5" OLED module: Make sure the R12 and R9 resistors are soldered in and the R11 and R10 spots are blank
On the 2.4" OLED module: Make sure the R18 and R21 resistors are soldered in and the R19 and R20 spots are blank
8-Bit "6800" mode
This mode uses 8 pins + 4 or 5 control pins. We dont have support code for it but you could modify the library if you like to add it. Check the datasheet for more details!
On the 1.5" OLED module: Make sure the R11 and R10 resistors are soldered in and the R12 and R9 spots are blank
On the 2.4" OLED module: Make sure the R19 and R20 resistors are soldered in and the R18 and R21 spots are blank
Modes Reference
For reference, here is the decoder ring for what mode is set by setting 0 or 1 for BS1 and BS2. Use the silk screen label as a reference for which jumpers (Rxx) these are for a given display. This table comes from the SSD1305 datasheet.
NOTE: "Serial interface" is SPI