Problems connecting a OLED SSD1306 128x64 SPI on an ESP-12F
Hi,
I'm scratching my head. I thought it should be easy to create little project with those two component. I not even can run a example from the Ardiuino-SSD1306 library (SSD\_1306\_128x64\_SPI).
I connected the wires as outlined below: Gnd --------- Gnd VDD -------- 3.3v SCK(D0) -- D5 SDA(D1) -- D7 Res --------- D0 DC ---------- D1 CS ---------- D2
In the code I defined the following connections:
#define OLED_MOSI 7 #define OLED_CLK 5 #define OLED_DC 1 #define OLED_CS 2 #define OLED_RESET 0
I have to mention that when I'm running this example e.g. with an Arduino Uno, is working fine. When running other examples for the ESP-12F (w/o OLED display) they are running fine too. I just can imagine that the wire connections between the MCU and the display causing the trouble. Any idea what is causing the trouble and what I can do to rectify the problem? TIA
PS. I'm running the tests in Arduino-IDE v2.3.4 on Linux.