📄 idread5.cpp
字号:
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <conio.h>
#include "idread.h"
extern "C" void READEDID(Byte* buffer, Word device);
void main(void)
{
int i;
// Byte LFT_EDID = 0x02;
Byte tempbuffer[512];
READEDID(tempbuffer,LFP_EDID);
printf(" the LCD Vender ID %02X%02Xh\n", tempbuffer[9],tempbuffer[8]);
printf(" the LCD Product ID %02X%02Xh\n", tempbuffer[11],tempbuffer[10]);
printf(" ");
for(i=0x5f;i<=0x64; i++)
printf("%c",tempbuffer[i]);
printf(" ");
for(i=0x71; i<=0x79; i++)
printf("%c",tempbuffer[i]);
printf("\n");
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -