ILI9225 TFT显示屏16位并口方式驱动

 所用屏及资料如后图:

        ILI9225,176*220,8位或16位并口屏,IM0接GND,电源及背光接3.3v

主控:CH32V307驱动(库文件和STM32基本一样)

c281035882904959834e30a8f7bcf272.jpg

c21901d90e184cd7872f39d1657b7eb1.jpeg

2acba43771e6452a97e0b1758515f9e9.jpeg

一、源码

ILI9225.c

#include "ILI9225.h"
#include "ch32v30x_gpio.h"
//---汉字的字库头文件---//
#include"charcode.h"/* Global Variable */
unsigned char fch,fcl;  //前景色高位和低位
/*** CS --_____________________________--,低:有效* RD ---------------------------------,高:写* WR  -__--__--__--__--__--__--__-----,低:写* RS _________________________________,低:Index* RS ---------------------------------,高:Data**/
void LCD_Writ_Bus16(unsigned char VH,unsigned char VL)
{u16 val;val=((VH<<8)&0xFF00)+VL;LCD_WR_SET;LCD_RD_SET;GPIO_Write(LCD_PORT,val);LCD_WR_CLR;LCD_WR_SET;}void LCD_Write_COM(unsigned char VL)
{LCD_CS_CLR;LCD_RS_CLR;LCD_Writ_Bus16(0x00,VL);LCD_CS_SET;
}void LCD_Write_DATA(unsigned char VH,unsigned char VL)
{LCD_CS_CLR;LCD_RS_SET;LCD_Writ_Bus16(VH,VL);LCD_CS_SET;
}void LCD_Write_DATA16(unsigned short val)
{LCD_CS_CLR;LCD_RS_SET;LCD_RD_SET;LCD_WR_CLR;GPIO_Write(LCD_PORT,val);LCD_WR_CLR;LCD_WR_SET;LCD_CS_SET;}void LCD_Write_COM_DATA(unsigned char com1,unsigned short dat1)
{LCD_Write_COM(com1);LCD_Write_DATA16(dat1);
}/** @prief InitLCD*/
void InitLCD()
{LCD_Reset();Delay_Ms(150);printf("ili9225 Initial\r\n");Delay_Ms(50);LCD_CS_CLR;LCD_Write_COM_DATA(0x10, 0x0000);LCD_Write_COM_DATA(0x11, 0x0000);LCD_Write_COM_DATA(0x12, 0x0000);LCD_Write_COM_DATA(0x13, 0x0000);LCD_Write_COM_DATA(0x14, 0x0000);Delay_Ms(40);LCD_Write_COM_DATA(0x11, 0x0018);LCD_Write_COM_DATA(0x12, 0x6121);LCD_Write_COM_DATA(0x13, 0x006F);LCD_Write_COM_DATA(0x14, 0x495F);LCD_Write_COM_DATA(0x10, 0x0800);Delay_Ms(10);LCD_Write_COM_DATA(0x11, 0x103B);Delay_Ms(50);LCD_Write_COM_DATA(0x01, 0x011C);LCD_Write_COM_DATA(0x02, 0x0100);LCD_Write_COM_DATA(0x03, 0x1030);LCD_Write_COM_DATA(0x07, 0x0000);LCD_Write_COM_DATA(0x08, 0x0808);LCD_Write_COM_DATA(0x0b, 0x1100);LCD_Write_COM_DATA(0x0c, 0x0000);LCD_Write_COM_DATA(0x0f, 0x0D01);LCD_Write_COM_DATA(0x15, 0x0020);LCD_Write_COM_DATA(0x20, 0x0000);LCD_Write_COM_DATA(0x21, 0x0000);LCD_Write_COM_DATA(0x30, 0x0000);LCD_Write_COM_DATA(0x31, 0x00DB);LCD_Write_COM_DATA(0x32, 0x0000);LCD_Write_COM_DATA(0x33, 0x0000);LCD_Write_COM_DATA(0x34, 0x00DB);LCD_Write_COM_DATA(0x35, 0x0000);LCD_Write_COM_DATA(0x36, 0x00AF);LCD_Write_COM_DATA(0x37, 0x0000);LCD_Write_COM_DATA(0x38, 0x00DB);LCD_Write_COM_DATA(0x39, 0x0000);LCD_Write_COM_DATA(0x50, 0x0000);LCD_Write_COM_DATA(0x51, 0x0808);LCD_Write_COM_DATA(0x52, 0x080A);LCD_Write_COM_DATA(0x53, 0x000A);LCD_Write_COM_DATA(0x54, 0x0A08);LCD_Write_COM_DATA(0x55, 0x0808);LCD_Write_COM_DATA(0x56, 0x0000);LCD_Write_COM_DATA(0x57, 0x0A00);LCD_Write_COM_DATA(0x58, 0x0710);LCD_Write_COM_DATA(0x59, 0x0710);LCD_Write_COM_DATA(0x07, 0x0012);Delay_Ms(50);LCD_Write_COM_DATA(0x07, 0x1017);LCD_Write_COM(0x22);LCD_CS_SET;
}void LCD_Reset(void)
{LCD_RST_CLR;Delay_Ms(50);LCD_RST_SET;Delay_Ms(150);
}/** @prief clrScr 清屏*/
void clrScr(unsigned short color)
{int i;u8 ch,cl;ch=color>>8;cl=color&0xff;clrXY();for (i=0; i<((disp_x_size+1)*(disp_y_size+1)); i++){LCD_Write_DATA(ch,cl);}}void setXY(unsigned char x1, unsigned char y1, unsigned char x2, unsigned char y2)
{LCD_Write_COM_DATA(0x36,x2);LCD_Write_COM_DATA(0x37,x1);LCD_Write_COM_DATA(0x38,y2);LCD_Write_COM_DATA(0x39,y1);LCD_Write_COM_DATA(0x20,x1);LCD_Write_COM_DATA(0x21,y1);LCD_Write_COM(0x22);
}void clrXY()
{setXY(0,0,disp_x_size,disp_y_size);
}
void setPixel(unsigned char color)
{LCD_Write_DATA((color>>8),(color&0xFF));    // rrrrrggggggbbbbb}void drawPixel(unsigned char  x, unsigned char  y)
{setXY(x, y, x, y);setPixel((fch<<8)|fcl);clrXY();
}void setColor(unsigned short color)
{fch=color>>8;fcl=color & 0xFF;
}void drawHLine(unsigned char x, unsigned char y, unsigned char l)
{setXY(x, y, x+l, y);for(int i=0; i<l+1; i++){LCD_Write_DATA(fch, fcl);}clrXY();
}void drawVLine(unsigned char x, unsigned char y, unsigned char l)
{setXY(x, y, x, y+l);for(int i=0; i<l+1; i++){LCD_Write_DATA(fch, fcl);}clrXY();
}void drawLine(unsigned char  x1, unsigned char  y1, unsigned char  x2, unsigned char  y2)
{if (y1==y2)drawHLine(x1, y1, x2-x1);else if (x1==x2)drawVLine(x1, y1, y2-y1);else{unsigned int    dx = (x2 > x1 ? x2 - x1 : x1 - x2);short           xstep =  x2 > x1 ? 1 : -1;unsigned int    dy = (y2 > y1 ? y2 - y1 : y1 - y2);short           ystep =  y2 > y1 ? 1 : -1;int             col = x1, row = y1;if (dx < dy){int t = - (dy >> 1);while (1){setXY (col, row, col, row);LCD_Write_DATA(fch, fcl);if (row == y2)return;row += ystep;t += dx;if (t >= 0){col += xstep;t   -= dy;}}}else{int t = - (dx >> 1);while (1){setXY (col, row, col, row);LCD_Write_DATA(fch, fcl);if (col == x2)return;col += xstep;t += dy;if (t >= 0){row += ystep;t   -= dx;}}}}clrXY();
}void drawRect(int x1, int y1, int x2, int y2)
{drawHLine(x1, y1, x2-x1);drawHLine(x1, y2, x2-x1);drawVLine(x1, y1, y2-y1);drawVLine(x2, y1, y2-y1);
}void drawRect1(unsigned char x, unsigned char y, unsigned char w, unsigned char h, unsigned short c)
{setColor(c);drawRect(x, y,x+w-1 , y+h-1);
}void fillRect(int x1, int y1, int x2, int y2)
{
/*for (int i=0; i<((x2-x1)/2)+1; i++){drawVLine(x1+i, y1, y2-y1);drawVLine(x2-i, y1, y2-y1);}*/setXY(x1, y1, x2, y2);for(int i=0; i<(x2-x1)*(y2-y1)-1; i++){LCD_Write_DATA(fch, fcl);}clrXY();
}
void drawRoundRect(int x1, int y1, int x2, int y2)
{if ((x2-x1)>4 && (y2-y1)>4){drawPixel(x1+1,y1+1);drawPixel(x2-1,y1+1);drawPixel(x1+1,y2-1);drawPixel(x2-1,y2-1);drawHLine(x1+2, y1, x2-x1-4);drawHLine(x1+2, y2, x2-x1-4);drawVLine(x1, y1+2, y2-y1-4);drawVLine(x2, y1+2, y2-y1-4);}
}void fillRoundRect(int x1, int y1, int x2, int y2)
{if ((x2-x1)>4 && (y2-y1)>4){for (int i=0; i<((y2-y1)/2)+1; i++){switch(i){case 0:drawHLine(x1+2, y1+i, x2-x1-4);drawHLine(x1+2, y2-i, x2-x1-4);break;case 1:drawHLine(x1+1, y1+i, x2-x1-2);drawHLine(x1+1, y2-i, x2-x1-2);break;default:drawHLine(x1, y1+i, x2-x1);drawHLine(x1, y2-i, x2-x1);}}}
}void drawCircle(int x, int y, int radius)
{int f = 1 - radius;int ddF_x = 1;int ddF_y = -2 * radius;int x1 = 0;int y1 = radius;setXY(x, y + radius, x, y + radius);LCD_Write_DATA(fch,fcl);setXY(x, y - radius, x, y - radius);LCD_Write_DATA(fch,fcl);setXY(x + radius, y, x + radius, y);LCD_Write_DATA(fch,fcl);setXY(x - radius, y, x - radius, y);LCD_Write_DATA(fch,fcl);while(x1 < y1){if(f >= 0){y1--;ddF_y += 2;f += ddF_y;}x1++;ddF_x += 2;f += ddF_x;setXY(x + x1, y + y1, x + x1, y + y1);LCD_Write_DATA(fch,fcl);setXY(x - x1, y + y1, x - x1, y + y1);LCD_Write_DATA(fch,fcl);setXY(x + x1, y - y1, x + x1, y - y1);LCD_Write_DATA(fch,fcl);setXY(x - x1, y - y1, x - x1, y - y1);LCD_Write_DATA(fch,fcl);setXY(x + y1, y + x1, x + y1, y + x1);LCD_Write_DATA(fch,fcl);setXY(x - y1, y + x1, x - y1, y + x1);LCD_Write_DATA(fch,fcl);setXY(x + y1, y - x1, x + y1, y - x1);LCD_Write_DATA(fch,fcl);setXY(x - y1, y - x1, x - y1, y - x1);LCD_Write_DATA(fch,fcl);}clrXY();
}void fillCircle(int x, int y, int radius)
{for(int y1=-radius; y1<=0; y1++)for(int x1=-radius; x1<=0; x1++)if(x1*x1+y1*y1 <= radius*radius){drawHLine(x+x1, y+y1, 2*(-x1));drawHLine(x+x1, y-y1, 2*(-x1));break;}
}void show_color_bar()
{unsigned long i,j;clrXY();for (i=0; i<disp_y_size; i++){for (j=0; j<disp_x_size; j++){if(i>210){LCD_Write_DATA(0xFA,0x00);}else if(i>180){LCD_Write_DATA(0x04,0x00);}else if(i>150){LCD_Write_DATA(0xC6,0x18);}else if(i>120){LCD_Write_DATA(0x00,0x1F);}else if(i>90){LCD_Write_DATA(0x84,0x10);}else if(i>60){LCD_Write_DATA(0x80,0x00);}else if(i>30){LCD_Write_DATA(0xFF,0xE0);}else {LCD_Write_DATA(0x80,10);}}}
}/****************************************************************************
*函数名:GUI_Dot
*输  入:x:点的X坐标
*      * y:点的Y坐标
*      * color:点的颜色
*输  出:
*功  能:给一块3*3像素涂上颜色。
****************************************************************************/void GUI_Dot(uint x, uint y, uint color)
{u8 i;setXY(x , y , x, y);  //单个像素  XS YS XE YEfor(i=0; i<9; i++){LCD_Write_DATA(color>>8,color&0xFF);}
}void GUI_Write32CnChar(unsigned char x, unsigned char y, unsigned char *cn, unsigned short wordColor, unsigned short backColor)
{u8 i, j, wordNum;uint color;while (*cn != '\0'){setXY(x, y, x+31, y+28);for (wordNum=0; wordNum<20; wordNum++){   //wordNum扫描字库的字数if ((CnChar32x29[wordNum].Index[0]==*cn)&&(CnChar32x29[wordNum].Index[1]==*(cn+1))){for(i=0; i<116; i++){   //MSK的位数color=CnChar32x29[wordNum].Msk[i];for(j=0;j<8;j++){if((color&0x80)==0x80){LCD_Write_DATA(wordColor>>8,wordColor&0xFF);}else{LCD_Write_DATA(backColor>>8,backColor&0xFF);}color<<=1;}//for(j=0;j<8;j++)结束}}} //for (wordNum=0; wordNum<20; wordNum++)结束cn += 2;x += 32;}
}void GUI_WriteASCII(unsigned char  x, unsigned char  y, unsigned char  *p, unsigned short  wordColor, unsigned short  backColor)
{u8 j, wordByte,wordNum;uint color;while(*p != '\0'){wordNum = *p - 32;setXY(x,y,x+15, y+23);for (wordByte=0; wordByte<48; wordByte++){color = ASCII16x24[wordNum][wordByte];for (j=0; j<8; j++){if ((color&0x80) == 0x80){LCD_Write_DATA(wordColor>>8,wordColor&0xFF);}else{LCD_Write_DATA(backColor>>8,backColor&0xFF);}color <<= 1;}}p++;x +=16;}
}

ILI9225.h

#ifndef USER_ILI9225_H_
#define USER_ILI9225_H_#define disp_x_size 176
#define disp_y_size 220//*********************************
// COLORS
//*********************************
// VGA color palette
#define VGA_BLACK       0x0000
#define VGA_WHITE       0xFFFF
#define VGA_RED         0xF800
#define VGA_GREEN       0x0400
#define VGA_BLUE        0x001F
#define VGA_SILVER      0xC618
#define VGA_GRAY        0x8410
#define VGA_MAROON      0x8000
#define VGA_YELLOW      0xFFE0
#define VGA_OLIVE       0x8400
#define VGA_LIME        0x07E0
#define VGA_AQUA        0x07FF
#define VGA_TEAL        0x0410
#define VGA_NAVY        0x0010
#define VGA_FUCHSIA     0xF81F
#define VGA_PURPLE      0x8010
#define VGA_TRANSPARENT 0xFFFFFFFF/**  GND-1;VDD(3V3)-2;  IM0-25 接GND 16bit; LED-:31~33;LED+:34*/
#define LCD_CS GPIO_Pin_1       //4
#define LCD_RS GPIO_Pin_2       //5
#define LCD_WR GPIO_Pin_3       //6
#define LCD_RST GPIO_Pin_4      //24
#define LCD_RD GPIO_Pin_5       //7#define LCD_PORT GPIOD          //8-23#define LCD_CS_SET GPIO_WriteBit(GPIOA, LCD_CS,Bit_SET)
#define LCD_CS_CLR GPIO_WriteBit(GPIOA, LCD_CS,Bit_RESET)#define LCD_RS_SET GPIO_WriteBit(GPIOA, LCD_RS,Bit_SET)
#define LCD_RS_CLR GPIO_WriteBit(GPIOA, LCD_RS,Bit_RESET)#define LCD_WR_SET GPIO_WriteBit(GPIOA, LCD_WR,Bit_SET)
#define LCD_WR_CLR GPIO_WriteBit(GPIOA, LCD_WR,Bit_RESET)#define LCD_RST_SET GPIO_WriteBit(GPIOA, LCD_RST,Bit_SET)
#define LCD_RST_CLR GPIO_WriteBit(GPIOA, LCD_RST,Bit_RESET)#define LCD_RD_SET GPIO_WriteBit(GPIOA, LCD_RD,Bit_SET)
#define LCD_RD_CLR GPIO_WriteBit(GPIOA, LCD_RD,Bit_RESET)void LCD_Writ_Bus16(unsigned char VH,unsigned char VL);
void LCD_Write_COM(unsigned char VL);
void LCD_Write_DATA(unsigned char VH,unsigned char VL);
void LCD_Write_DATA16(unsigned short val);
void LCD_Write_COM_DATA(unsigned char com1,unsigned short dat1);
void InitLCD();
void LCD_Reset(void);
void clrScr(unsigned short color);
void clrXY();
void setPixel(unsigned char color);
void drawPixel(unsigned char  x, unsigned char  y);
void setColor(unsigned short color);
void drawHLine(unsigned char x, unsigned char y, unsigned char l);
void drawVLine(unsigned char x, unsigned char y, unsigned char l);
void drawLine(unsigned char  x1, unsigned char  y1, unsigned char  x2, unsigned char  y2);void fillRoundRect(int x1, int y1, int x2, int y2);
void drawCircle(int x, int y, int radius);
void fillCircle(int x, int y, int radius);
void drawRect(int x1, int y1, int x2, int y2);
void drawRect1(unsigned char x, unsigned char y, unsigned char w, unsigned char h, unsigned short c);
void fillRect(int x1, int y1, int x2, int y2);
void drawRoundRect(int x1, int y1, int x2, int y2);
void show_color_bar();void GUI_Write32CnChar(unsigned char x, unsigned char y, unsigned char *cn, unsigned short wordColor, unsigned short backColor);
void GUI_WriteASCII(unsigned char  x, unsigned char  y, unsigned char  *p, unsigned short  wordColor, unsigned short  backColor);#endif /* USER_ILI9225_H_ */

main.c

#include "debug.h"
#include "ILI9225.h"/* Global typedef *//* Global define */
#define CHAR32_SHOW
/* Global Variable */void LCD_GPIO_Init(void)
{GPIO_InitTypeDef GPIO_InitStructure = {0};RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOA, ENABLE);GPIO_InitStructure.GPIO_Pin = LCD_CS|LCD_RS|LCD_WR|LCD_RST|LCD_RD;GPIO_InitStructure.GPIO_Mode = GPIO_Mode_Out_PP;GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz;GPIO_Init(GPIOA, &GPIO_InitStructure);//16位并口RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOD, ENABLE);GPIO_InitStructure.GPIO_Pin = GPIO_Pin_All;GPIO_Init(LCD_PORT, &GPIO_InitStructure);}/********************************************************************** @fn      main** @brief   Main program.** @return  none*/
int main(void)
{NVIC_PriorityGroupConfig(NVIC_PriorityGroup_2);SystemCoreClockUpdate();Delay_Init();USART_Printf_Init(115200);	printf("SystemClk:%d\r\n",SystemCoreClock);printf( "ChipID:%08x\r\n", DBGMCU_GetCHIPID() );printf("This is printf example\r\n");LCD_GPIO_Init();InitLCD();while(1){show_color_bar();GUI_Write32CnChar(10,10,"科技日期",VGA_WHITE,VGA_BLUE);GUI_WriteASCII(10,60,"abcdefghijkl",VGA_WHITE,VGA_RED);GUI_WriteASCII(10,90,"ABCDEFGHIJKL",VGA_WHITE,VGA_RED);GUI_WriteASCII(10,120,"!@#$%^&*()~;:",VGA_WHITE,VGA_RED);Delay_Ms(3000);setColor(VGA_WHITE);clrScr(VGA_RED);fillRoundRect(50,50,100,100);Delay_Ms(1000);clrScr(VGA_GREEN);fillRoundRect(50,50,100,100);Delay_Ms(1000);clrScr(VGA_BLUE);fillRoundRect(50,50,100,100);Delay_Ms(1000);clrScr(VGA_YELLOW);fillRoundRect(50,50,100,100);setColor(VGA_RED);drawCircle(100,100,50);Delay_Ms(1000);}
}

二、总结

1、不会看屏幕引脚定义.开始找了一款LGDP4525和这个定义是一样的,试了一天不行。又查了一下,相同款还有ILI9225驱动的,引脚定义完全相同。试了一下可以。

ILI9225演示用

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/160074.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

【SpringCloud】认识微服务、服务拆分以及远程调用

SpringCloud 1.认识微服务 1.1单体架构 单体架构&#xff1a;将业务的所有功能集中在一个项目中开发&#xff0c;打成一个包部署 单体架构的优缺点&#xff1a; **优点&#xff1a;**架构简单&#xff0c;部署成本低 **缺点&#xff1a;**耦合度高&#xff08;维护困难&…

笔记59:序列到序列学习Seq2seq

本地笔记地址&#xff1a;D:\work_file\&#xff08;4&#xff09;DeepLearning_Learning\03_个人笔记\3.循环神经网络\第9章&#xff1a;动手学深度学习~现代循环神经网络 a a a a a a a a a a a a a a a

C++ Day04 this指针,友元函数,重载

this指针 概念 谁调用 this 所在的函数 ,this 就存储谁的地址 特点 1, 在当前类的非静态成员函数中调用本类非静态成员时 , 默认有 this 关键字 2, 静态成员函数 , 没有 this 指针。 示例 #include <iostream> #include <cstring> using namespace std; class S…

算法刷题-动态规划2

算法刷题-动态规划2 珠宝的最高价值下降路径最小和 珠宝的最高价值 题目 大佬思路 多开一行使得代码更加的简洁 移动到右侧和下侧 dp[ i ][ j ]有两种情况&#xff1a; 第一种是从上面来的礼物最大价值&#xff1a;dp[ i ][ j ] dp[ i - 1 ][ j ] g[ i ][ j ] 第二种是从左…

握住音乐的法宝 - 简谱

简谱是音乐学习中至关重要的记谱法。除了简谱&#xff0c;还有吉他和钢琴的五线谱&#xff0c;以及我最喜欢的古琴减字谱等其他记谱方式。如果你对音乐感兴趣&#xff0c;一起学习吧&#xff0c;我不允许你是一个文盲。 一、调拍号 “1C 4/4”即为调拍号&#xff0c;调拍号分…

opencv-直方图均衡化

直方图均衡化是一种用于增强图像对比度的图像处理技术。它通过调整图像的灰度级别分布&#xff0c;使得图像中各个灰度级别的像素分布更均匀&#xff0c;从而提高图像的对比度。 在OpenCV中&#xff0c;你可以使用cv2.equalizeHist()函数来进行直方图均衡化。 以下是一个简单…

opencv-2D直方图

cv2.calcHist() 是 OpenCV 中用于计算直方图的函数。它可以计算一维或多维直方图&#xff0c;用于分析图像中像素值的分布。 基本的语法如下&#xff1a; hist cv2.calcHist(images, channels, mask, histSize, ranges[, hist[, accumulate]])参数说明&#xff1a; images:…

[点云分割] 条件欧氏聚类分割

介绍 条件欧氏聚类分割是一种基于欧氏距离和条件限制的点云分割方法。它通过计算点云中点与点之间的欧氏距离&#xff0c;并结合一定的条件限制来将点云分割成不同的区域或聚类。 在条件欧氏聚类分割中&#xff0c;通常会定义以下两个条件来判断两个点是否属于同一个聚类&…

利用Python进行数据分析【送书第六期:文末送书】

&#x1f468;‍&#x1f393;博主简介 &#x1f3c5;云计算领域优质创作者   &#x1f3c5;华为云开发者社区专家博主   &#x1f3c5;阿里云开发者社区专家博主 &#x1f48a;交流社区&#xff1a;运维交流社区 欢迎大家的加入&#xff01; &#x1f40b; 希望大家多多支…

SpringBoot——》配置logback日志文件

推荐链接&#xff1a; 总结——》【Java】 总结——》【Mysql】 总结——》【Redis】 总结——》【Kafka】 总结——》【Spring】 总结——》【SpringBoot】 总结——》【MyBatis、MyBatis-Plus】 总结——》【Linux】 总结——》【MongoD…

目标检测原理

一、什么是目标检测 目标检测的任务是找出图像中所有感兴趣的目标&#xff08;物体&#xff09;&#xff0c;确定他们的类别和位置&#xff0c;是计算机视觉领域的核心问题之一。由于各类物体有不同的外观、形状、姿态&#xff0c;再加上光照、遮挡等因素的干扰&#xff0c;目…

LeetCode207.课程表

看完题我就想&#xff0c;这不就是进程里面的死锁问题嘛&#xff0c;进程1等进程2释放锁&#xff0c;进程2等进程3释放锁&#xff0c;进程3等进程1释放锁&#xff0c;这就造成了死锁。或者是spring中的循环依赖问题&#xff0c;BeanA的初始化需要初始化一个BeanB&#xff0c;Be…

Instant Web API .Net Core Crack

Instant Web API .Net Core 是立即构建即时数据库 Web API&#xff0c;无需编码。在几分钟内生成您的 Web API&#xff0c;以更快地构建应用程序。使用 VS 2022 和 Entity Framework Core 为任何 MS SQL 数据库生成 Web API。 新功能 - 使用 Visual Studio 2022 为 PostgreSQL …

自动化测试学习指南

软件自动化测试的学习步骤 大概步骤如下&#xff1a; 1. 做好手工测试&#xff08;了解各种测试的知识&#xff09;-> 2. 学习编程语言-> 3. 学习Web基础&#xff08;HTML,HTTP,CSS,DOM,Javascript&#xff09;或者 学习Winform -> 4. 学习自动化测试工具 ->5.…

字符串和内存函数(2)

文章目录 2.13 memcpy2.14 memmove2.15 memcmp2.16 memset 2.13 memcpy void* memcpy(void* destination, const void* source, size_t num); 函数memcpy从source的位置开始向后复制num个字节的数据到destination的内存位置。这个函数在遇到 ‘\0’ 的时候并不会停下来。如果so…

AQS和ReentrantLock还能这样理解?

1.公平锁和非公平锁 1.1含义 公平锁:在竞争环境下&#xff0c;先到临界区的线程比后到的线程一定更快地获取得到锁。非公平锁:先到临界区的线程未必比后到的线程更快地获取得到锁。 1.2如何自我实现 公平锁实现&#xff1a;可以把竞争的线程放在一个先进先出的队列上。只要…

你了解Postman 变量吗?

变量是在Postman工具中使用的一种特殊功能&#xff0c;用于存储和管理动态数据。它们可以用于在请求的不同部分、环境或集合之间共享和重复使用值。 Postman变量有以下几种类型&#xff1a; 1、环境变量&#xff08;Environment Variables&#xff09;: 环境变量是在Postman…

2023.11.22 数据仓库2-维度建模

目录 1.数仓建设方案 2.数仓结构图,项目架构图 2.1项目架构图 2.2数仓结构图 3.建模设计 4.维度建模 什么是事实表: 什么是维度表: 数据发展模式y以及对应的模型 5.数仓建设规范 数据库划分规范 表命名规范 表字段类型规范 1.数仓建设方案 ODS: 源数据层(临时存储层) 贴…

防爆智能安全帽、防爆手持终端,防爆智能矿灯守护安全,在煤矿安全生产远程可视化监管中的应用

煤矿安全新守护&#xff1a;如何通过防爆智能装备实现远程可视化监管 煤矿是国民经济的重要支柱产业&#xff0c;但长期以来&#xff0c;安全生产事故的频发一直是困扰煤矿行业发展的严峻问题。安全生产事故不仅危及矿工的生命安全&#xff0c;也对企业和地方经济造成了重大的…