Skip to content

611code/HAL_ST7735

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

HAL_ST7735 Driver

Hardware information

Screen board
1736943673237 1736943696683
ST7735 stm32h723

Screen Part Schematic

1736943823364

CubeMX Configuration

1736943950954

1736944070297

Head file

You need to change these parameters to suit your screen

#define ST7735_SPI_INSTANCE hspi4
#define NoRST

#define ST7735_RST_Pin
#define ST7735_RST_GPIO_Port
#define ST7735_DC_Pin 						GPIO_PIN_13
#define ST7735_DC_GPIO_Port 				GPIOE
#define ST7735_CS_Pin 						GPIO_PIN_11
#define ST7735_CS_GPIO_Port 				GPIOE



#define ST7735_XSTART 1
#define ST7735_YSTART 26
#define ST7735_WIDTH  160
#define ST7735_HEIGHT 80

// Display Mode
#define ST7735_ROTATION 1
// Color Mode: RGB or BGR
#define ST7735_MADCTL_RGB 0x00
#define ST7735_MADCTL_BGR 0x08
#define ST7735_MADCTL_MODE ST7735_MADCTL_RGB
// Color Inverse
#define ST7735_INVERSE 1

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages