Hello Arduino Community!
This is my first post here and I hope you can quickly help me out:
I bought myself a 128 x 128 RGB OLED that I want to hook up to my Heltec Lora Esp32 V2.
I want to use Hardware SPI preferably, but getting the display to work at all would be a great start.
The issue at the moment is, that I get random pixels.
They move around, but they don't change color.
Here is my code:
https://pastebin.com/ZZiq70g2
The pinout of the display is:
VCC
GND
DIN (MOSI?)
CLK
CS
DC
RST
I connected it to the Heltec v2 like this
VCC - 5V
GND - GND
DIN - 23 which I think is hardware SPI MOSI?
CLK - 18 which I think is hardware SPI CLK?
CS - Pin 38
RST_Pin is tied to RST Pin on the Heltec, is that okay?
I seem to have something wired bad, because the code worked on my Arduino Uno and Mega with different pinout of course...
Can you please help me quickly?