After searching I found that:
LED - LED
SCK - CLK
SDA - mosi
AO - DC
RESET - RESET
CS - CS
GND/VCC - 3.3V
As I understand it, the “ST7735 Display” component is outdated. I started studying the page with “ILI9xxx”. Nothing worked for me. After searching for it a bit, I found this post.
But nothing works for me either. The firmware loads, but then it says that the device is not responding, we will try to connect later. The ESP itself blinks the diode about 4 times, at the same time the screen backlight blinks and that’s it.
No difference. Also, when starting the ESP, the diode and backlight blink 4-5 times, and the following is written in the log.
WARNING Can't connect to ESPHome API for fancontrol @ 192.168.1.222: Error connecting to [AddrInfo(family=<AddressFamily.AF_INET: 2>, type=<SocketKind.SOCK_STREAM: 1>, proto=6, sockaddr=IPv4Sockaddr(address='192.168.1.222', port=6053))]: [Errno 111] Connect call failed ('192.168.1.222', 6053) (SocketAPIError)
INFO Trying to connect to fancontrol @ 192.168.1.222 in the background
I don’t know what the problem is, it doesn’t want to work. I even erased all the other code, leaving only the code for the display, but that didn’t help either. In the end, I inserted the old code st7735 and it worked right away, now it looks like I’ll have to wait until the next update removes it and everything breaks.