Besides, I use the function from Ucglib library try to make the display work. Is it possible that the selected library is not applicable and the display is not working properly?
Please post a link to the actual display that you have bought. e.g. Ebay Sale page.
Please post a link to the actual Nodemcu board that you have bought. e.g. Ebay Sale page.
Most displays are 8-bit SPI with a bidirectional Serial Data pin called SDA
If you want to bit-bang SPI on hardware I2C pins, you need to use a SWSPI constructor.
And most importantly, you match the arguments in the constructor with the pins that you have wired to.
I strongly recommend that you try the TFT_eSPI library.
Thanks for your response. I'm sorry for neglect of attaching the purchase link. I have managed to use TFT_eSPI library which have detailed instruction on how to wire and the display can work normally. Thanks again.
You can always edit your Original Post. Add the links. Add a note to say that you have added the links.
Clickable links to your purchases are much better than photos or descriptions.
It saves readers asking supplementary questions.
You should be very impressed with TFT_eSPI library. There are lots of examples. And lots of user projects for ST7735 and ESP8266
When TFT_eSPI is running 100%, write the correct constructor for Ucglib and that library should work 100% too. (At least Oliver's other library: U8g2lib works on most target boards)