Now we have taken the library TFT_eSPI from the below link
GitHub - Bodmer/TFT_eSPI: Arduino and PlatformIO IDE compatible TFT library optimised for the Raspberry Pi Pico (RP2040), STM32, ESP8266 and ESP32 that supports different driver chips and used all the examples to check with the display,and in "User_Setup.h" we have selected the configurations as:
<#define ST7735_DRIVER
#define TFT_WIDTH 160
#define TFT_HEIGHT 128
#define TFT_CS 15 // Chip select control pin (library pulls permanently low
#define TFT_DC 2 // Data Command control pin - must use a pin in the range 0-31
#define TFT_RST 4 />
In the above image, we have got some raster
For ST7735 ONLY, define the type of display, originally this was based on the
// colour of the tab on the screen protector film but this is not always true, so try
// out the different options below if the screen does not display graphics correctly,
// e.g. colours wrong, mirror images, or stray pixels at the edges.
// Comment out ALL BUT ONE of these options for a ST7735 display driver, save this
// this User_Setup file, then rebuild and upload the sketch to the board again:
<
// #define ST7735_INITB
// #define ST7735_GREENTAB
// #define ST7735_GREENTAB2
//#define ST7735_GREENTAB3
//#define ST7735_GREENTAB128 // For 128 x 128 display
// #define ST7735_GREENTAB160x80 // For 160 x 80 display (BGR, inverted, 26 offset)
// #define ST7735_REDTAB
// #define ST7735_BLACKTAB
// #define ST7735_REDTAB160x80 // For 160 x 80 display with 24 pixel offset
/>
Checked with all these, the raster is cleared but on the display its still not displaying full screen
Please tell us how to display the full screen and display the pictures using SD card
