(08-25-2021, 08:16 AM)adrii Wrote: Hi Jempie
It appears that you have a display that can be configured for both SPI and I2C. SCL is the clock pin, and SDA is the data pin, and these are the usual I2C names, but if your display is configured to use SPI they will correspond to CLK and MOSI
https://forum.arduino.cc/t/is-this-i2c-or-spi/506634
Adrian.
Adrian,
thanks for the responce.
So change the display does that help?
i must buy a other one?
Features:
Diagonal Screen Size: 2.42"
Resolution: 128 * 64
Driver IC: SSD1309
SPI interface definition:
1.GND (power ground)
2.VCC (power supply positive)
3.SCL (clock line)
4.SDA (data line)
5.RES (reset line)
6.DC (data / command)
7.CS (chip select)
Convenience.
Interface Selection: to choose SPI or IIC interface through R3, R4, R5
For IIC communication, it is necessary to move the resistor on R4 to R3, and R5 is soldered with 0 ohm resistor.
SPI communication or I2C communication can be switched by configuring three resistors R3 R4 R5