after spending hours on searching hopefully you can help me.
I’ve got a 4pin OLED display with the description GND VDD SCK SDA. This should be then SPI.
I tried several combinations of wiring it with my photon and running it with “Adafruit_SSD1306/Adafruit_SSD1306.h”.
Sadly, without any success. Could anyone give me a hint, how to wire and code it.
I tried the following:
define OLED_DC D3 [wired to SDA]
define OLED_CS D4 [wired to SCK]
define OLED_RESET D5 [not wired]
Adafruit_SSD1306 display(OLED_DC, OLED_RESET, OLED_CS);
GND is wired to GND and VDD to 3,3V.
I switched SDA/SCK but this also didn’t work.
Almost all descriptions are covering the 6pin display.
Thanks for any comment