ST7789 LCD without D/C pin

Hi all,

Not sure if this topic was discussed before. Please pardon me if it has already been discussed.

I have a LCD with ST7789VI. It does not have D/C pin. It uses 3-line SPI interface. Here is the write timing diagram.


It looks like the D/C is embedded in the data.

The arduino libraries I know of require D/C pin for data/command control. Is there any library that can handle this type of 3-wire interface? Thank you so much for any support.

I don't have such a display, but LovyanGFX might be able to handle it.

The comment for the D/C pin in the configuration file says:

cfg.pin_dc = CYD_TFT_DC; // Set the SPI D/C pin (-1 = disable)

The original sample configuration file is in Japanese, so please refer to the English version which I made (it is for the board "ESP32 2432S028R" aka CYD).

Thank you, embeddedKiddie. I'll see what I can get out of the library you shared.