当前位置:网站首页>How to take the mold for the picture of 1.54 inch TFT st7789 LCD screen
How to take the mold for the picture of 1.54 inch TFT st7789 LCD screen
2022-07-25 02:40:00 【An acre of land by the river bend】
Software :Image2LCD Rev3.2 ( Be careful : use 4.0 The version cannot be displayed normally )
link :https://pan.baidu.com/s/10zqHjQCT7HO_MqmKwK_tvQ?pwd=mji3
Extraction code :mji3
Hardware : Huadi Chuangxian 1.54 Inch liquid crystal ST7789 chip
Official code :
/******************************************************************************
Function description : display picture
Entry data :x,y Starting point coordinates
length Image width
width Picture height
pic[] Image array
Return value : nothing
explain :Image2LCD 3.2 Version software generates code 4.0 The version doesn't work
Set up : Scanning mode : Horizontal scanning
Output grayscale :16 A true color
Maximum width and height : Image resolution
High in the former √ tick Nothing else √
******************************************************************************/
void LCD_ShowPicture(uint16_t x,uint16_t y,uint16_t length,uint16_t width,const uint8_t pic[])
{
uint16_t i,j;
uint32_t k=0;
LCD_Address_Set(x,y,x+length-1,y+width-1);
for(i=0;i<length;i++)
{
for(j=0;j<width;j++)
{
LCD_WR_DATA8(pic[k*2]);
LCD_WR_DATA8(pic[k*2+1]);
k++;
}
}
}

Generate code according to this setting , copy to pic.h in , Call it .
边栏推荐
- It's still a synchronization problem
- A weird jedisconnectionexception: connection rejected problem
- Query the thread information of MySQL server (detailed explanation)
- ICO objects in classification
- Ogg data extraction delay is large
- Easy to master SSO single sign on, see this article
- Actual combat in ThreadLocal project
- How MySQL 8.0 based on TRX_ Id find the statement of the whole transaction
- English grammar_ Reflexive pronoun
- StrError and PERROR
猜你喜欢

Simulate the implementation of StrCmp function

On Calc optimization of calcite

SQL Server 2022 installation

Talk about what's going on with C # backstage GC?
Failed to create data snapshot: lock file [/siyuan/data/assets/image- 2022070216332-jijwccs.png failed: open /siyuan/data/assets/image- 2022070216332-jijwccs.png: permission denied; unable to lock fil

Object.defineproperty use

Today in history: the kotlin language was published for the first time; The father of the IMAP agreement was born; CT imaging achieves a new breakthrough

TS uses a third-party library, and there is no type declaration file error handling

6.0 cancellation of member registration verification code

R language uses logistic regression, ANOVA, outlier analysis and visual classification iris iris data set
随机推荐
HAC cluster is modified to stand-alone
Consul cluster deployment
Rotating frame target detection mmrotate v0.3.1 training hrsc2016 data set (II)
Query the thread information of MySQL server (detailed explanation)
Study notes of filebeat
Nuscenes data set summary
[TinyML]EfficientFormer:Vision Transformers at MobileNet Speed
Codeforces:d1. choosing carrots (easy version) [max min problem + control one side to make the other side as close as possible + thinking]
Routing policy interferes with routing
Let's customize the loader
Is it necessary to increase the number of milliseconds and save several KB of memory in the program?
Arthas case: dynamic update application logger level
Generator set work arrangement problem code
It's still a synchronization problem
Detailed explanation of MySQL, Oracle and PostgreSQL database index failure scenarios
DLL load failed: the page file is too small to complete the operation
Introduction to web security telent testing and defense
Talk about what's going on with C # backstage GC?
Flume's study notes
ASP. Net core 6 framework unveiling example demonstration [01]: initial programming experience