Hi Patryk Okruta ,
About the OLED display, normally, you need to find some driver code for it, I search it from google, and find someone share the related code driver:
https://github.com/lorneb/Adafruit_SH1106
So you can check it, whether your related SPI sendout command it correct.
About the SPI chip driver, you need to check it with your OLED driver chip, the clock frequency, the Clock Phase and Clock Polarity is the same as your OLED driver chip.The SPI_CS pin, I suggest you use the GPIO to control it, just make sure the CS wave is corrent.
About the OLED chip app driver, I suggest you refer to the examples in the github, it may useful to you. You also can check it with your OLED chip company, whether they already provide some C code about it.
Wish it helps you!
Have a great day,
Kerry
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------