【驱动程序】3.5寸SPI液晶屏_ILI9488_stm32f103c8t6_CubeMX_HAL库
主控芯片:
stm32f103c8t6
接线:
- LED-3.3v
- 其他管脚按main.h文件接:
#define LCD_CS_Pin GPIO_PIN_1
#define LCD_CS_GPIO_Port GPIOA
#define LCD_RS_Pin GPIO_PIN_2
#define LCD_RS_GPIO_Port GPIOA
#define LCD_RST_Pin GPIO_PIN_3
#define LCD_RST_GPIO_Port GPIOA
#define LCD_BL_Pin GPIO_PIN_4
#define LCD_BL_GPIO_Port GPIOA
#define LCD_SCK_Pin GPIO_PIN_5
#define LCD_SCK_GPIO_Port GPIOA
#define LCD_MISO_Pin GPIO_PIN_6
#define LCD_MISO_GPIO_Port GPIOA
#define LCD_MOSI_Pin GPIO_PIN_7
#define LCD_MOSI_GPIO_Port GPIOA
工程文件:
链接:https://pan.baidu.com/s/16Qjy68YjM2_Ja9HB5zTm_Q
提取码:c8t6
屏幕相关代码文件全在LCD目录下,移植方便
参考资料:
https://github.com/RobertoBenjami/stm32_hal_graphics_display_drivers/