A suitable library will control these lines. Unfortunately this display does not have a chip select line. Sometimes there is a solder pad on the back side for the CS (chip select) line. Is there any prefered library you want to use?
It looks like, that the display has no CS line. There was a thread in this forum with a similar (same?) display. If i remember correctly, it was not possible to make this display work without the CS input available.
Wow. There has to be a way. I pruchased this display from Banggood. There are a lot of comments from people that made the display work without any problems... I'll try and look around the forum just in case...
Okay, I'm pretty sure this is the thread you were talking about. He somehow made it work, couldn't really understand what he did. Here is his reply on how he made it work. Could you explain this in detail for me?
"Note: If you decide to buy OLED display, you must confirm that you can make it work by yourself, we'll haven't any technology support. Thanks for your understanding and support."
Nice and cheap at under $5. I spent four times that for my display but mine came with documentation and took minutes to plug in and start using.
Yours probably has CS tied low so it's always selected. That makes it less flexible if you have multiple SPI devices. And most libraries probably expect there to be a CS pin so you might have to waste one of your processor's output pins (or edit the library).
Look here, someone describes how they hooked it up using the Adafruit Library and also u8glib. They said that u8glib was a little harder to figure out.
David1337:
Okay, I'm pretty sure this is the thread you were talking about. He somehow made it work, couldn't really understand what he did.
The display discussed in this thread has the CS line as a solder pad on the back side available. Your display has the C/D line on the front and on the back side.
I tried that... The only thing that is can still do is solder the pins on the display to the external pins I received with the display. But I seriously doubt that this is the problem since the connections seem fine...