ESP32高通字库之GT24L24A2Y
将压缩包解压到esp-idfcomponents,即可正常使用该字裤。
接口实现参考:
void r_dat_bat(unsigned long ReadAddr,unsigned int NumByteToRead,unsigned char* pBuffer){
uint16_t t;
GT30XX_PIN_CS_LOW;
SOFT_SPI_RW_MODE3(0x03);
SOFT_SPI_RW_MODE3((uint8_t)(ReadAddr>>16));
SOFT_SPI_RW_MODE3((uint8_t)(ReadAddr>>8));
SOFT_SPI_RW_MODE3((uint8_t)(ReadAddr&0xff));
for(t=0;t
pBuffer[t]=SOFT_SPI_RW_MODE3(0xff);
}
GT30XX_PIN_CS_HIG;
}