下你所需,载你所想!
汇集开发技术源码资料

LCD驱动芯片ST7701SI SPI接口底层驱动配置代码

:1002B :1 :2022-09-19 14:02:27

部分简介

LCD驱动芯片ST7701SI SPI接口底层驱动配置代码如果开发者对于本文件有需要的可以参考。常用LCD驱动芯片ST7701SI SPI接口底层驱动配置代码
void ST7701SI_init(void)
{
// HW_Reset();
delay_ms(120);
SPI_write_reg (0x11);//退出睡眠模式
delay_ms(120);
SPI_write_reg (0xFF);//使能Command2
SPI_write_dat (0x77);
SPI_write_dat (0x01);
SPI_write_dat (0x00);
SPI_write_dat (0x00);
SPI_write_dat (0x13);

SPI_write_reg (0xEF);//???
SPI_write_dat (0x08);

SPI_write_reg (0xFF);
SPI_write_dat (0x77);
SPI_write_dat (0x01);
SPI_write_dat (0x00);
SPI_write_dat (0x00);
SPI_write_dat (0x10);
......

热门推荐

相关文章