What pins to assign on an Arduino for the 4 wire spi 0.96 OLED

I purchased the 0.96 OLED from Robotshop. I checked the examples that came with the library and found that they didn’t indicate which Arduino pins to use for the 4 wire spi. Can some please tell me which pins to use, I am using a Arduino mega.

Thanks, Dan

Hello @DanCot,

You can find the hardware connections in the readme file on the Arduino code ZIP file

  • VCC -> 3.3
  • GND -> GND
  • DIN -> D11 (MOSI)
  • CLK -> D13 (SCK)
  • CS -> D10
  • D/C -> D8
  • RES -> D9

Thank you Geraldine.

I should have thought to look there.

Thanks again, Dan

1 Like