Using 2inch screen with st7789 chip

Hello,

Does anyone have a graphics test code that works with ST7789? i tried several different codes i could find and my screen was just black and didn't look to be working.

Arduino mega2560
2inch lcd module 240x320
https://www.amazon.com/Waveshare-Resolution-Interface-Examples-Raspberry/dp/B081Q79X2F/ref=sr_1_6?dchild=1&keywords=2+inch+screen&qid=1633989372&sr=8-6

Pin outs for mega nay differ to uno , you need to check that
This any use ?

Here