运用电位器模仿传感器,进行模数转化,将AD值转化为温度值,实时显现在LCD上。汉字运用48*48字模,字符运用24*48字模。经过软件PCtoLCD2002提取字模。这儿首要用到ADCCON寄存器。首要要使能预分频器,由于太快会没转化完,所以下降频率,设置分频比,然后是挑选模仿输入通道。然后发动AD转化,该位在开端后主动清零,经过ECFLG位查看是否转化完毕。ADCDAT0低10位用来寄存转化来的数据。
#include “2440addr.h”
//笔直同步信号的脉宽、后肩和前肩
#define VSPW 15
#define VBPD 3
#define VFPD 5
//水平同步信号的脉宽、后肩和前肩
#define HSPW 8
#define HBPD 58
#define HFPD 15
#define CLKVAL 10
#define HOZVAL 319
#define LINEVAL 239
#define PWREN 1
#define MMODE 0
#define PNRMODE 3
#define BPPMODE 13
#define INVVCLK 0
#define INVVD 0
#define INVVDEN 0
#define U32 unsigned int
#define M5D(n) ((n) & 0x1fffff)
#define PAGEWIDTH 320
#define OFFSIZE 0
#define LCD_XSIZE 320
#define LCD_YSIZE 240
#define SCR_XSIZE 320
#define SCR_YSIZE 240
#define INVVLINE 1
#define INVVFRAME 1
#define BPP24BL 0
#define BSWP 0
#define HWSWP 0
volatile U32 LCD_BUFFER[240][320];
//48*48
unsigned char wen[] = { //温
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x20,0x00,0x0C,0x00,0x01,0x80,
0x38,0x00,0x1E,0x00,0x01,0xE0,0x3F,0xFF,0xFF,0x00,0x00,0xE0,0x38,0x00,0x0C,0x00,
0x00,0xF0,0x38,0x00,0x0C,0x00,0x00,0x70,0x38,0x00,0x0C,0x00,0x00,0x70,0xB8,0x00,
0x0C,0x00,0x00,0x21,0x38,0x00,0x0C,0x00,0x00,0x01,0x38,0x00,0x0C,0x00,0x00,0x01,
0x3F,0xFF,0xFC,0x00,0x00,0x02,0x38,0x00,0x0C,0x00,0x30,0x02,0x38,0x00,0x0C,0x00,
0x1C,0x06,0x38,0x00,0x0C,0x00,0x0E,0x04,0x38,0x00,0x0C,0x00,0x0F,0x04,0x38,0x00,
0x0C,0x00,0x07,0x08,0x38,0x00,0x0C,0x00,0x07,0x08,0x38,0x00,0x0C,0x00,0x03,0x18,
0x3F,0xFF,0xFC,0x00,0x03,0x10,0x38,0x00,0x0C,0x00,0x00,0x30,0x38,0x00,0x0C,0x00,
0x00,0x30,0x20,0x00,0x00,0x00,0x00,0x20,0x00,0x00,0x00,0x00,0x00,0x61,0x80,0x00,
0x01,0x80,0x00,0x61,0xFF,0xFF,0xFF,0xC0,0x00,0xC1,0xC1,0x81,0x83,0xC0,0x00,0xC1,
0xC1,0x81,0x83,0x80,0x01,0xC1,0xC1,0x81,0x83,0x80,0x43,0x81,0xC1,0x81,0x83,0x80,
0x3F,0x81,0xC1,0x81,0x83,0x80,0x07,0x81,0xC1,0x81,0x83,0x80,0x03,0x01,0xC1,0x81,
0x83,0x80,0x03,0x01,0xC1,0x81,0x83,0x80,0x03,0x01,0xC1,0x81,0x83,0x80,0x03,0x01,
0xC1,0x81,0x83,0x80,0x07,0x01,0xC1,0x81,0x83,0x80,0x07,0x01,0xC1,0x81,0x83,0x80,
0x07,0x01,0xC1,0x81,0x83,0x90,0x07,0x01,0xC1,0x81,0x83,0xB8,0x07,0x81,0xC1,0x81,
0x83,0xBC,0x01,0x7E,0x3E,0x7E,0x7C,0x40,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00};
unsigned char du[] = { //度
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x00,
0x00,0x00,0x00,0x00,0x01,0xC0,0x00,0x00,0x00,0x00,0x00,0xE0,0x00,0x00,0x00,0x00,
0x00,0xF0,0x00,0x00,0x01,0x00,0x00,0x70,0x00,0x40,0x01,0x80,0x00,0x60,0x00,0xE0,
0x01,0xFF,0xFF,0xFF,0xFF,0xF0,0x00,0xC0,0x00,0x00,0x00,0x00,0x00,0xC0,0x10,0x00,
0x80,0x00,0x00,0xC0,0x1C,0x00,0xE0,0x00,0x00,0xC0,0x1E,0x00,0xF0,0x00,0x00,0xC0,
0x1C,0x00,0xE0,0x00,0x00,0xC0,0x1C,0x00,0xE0,0x40,0x00,0xC0,0x1C,0x00,0xE0,0xE0,
0x00,0xDF,0xFF,0xFF,0xFF,0xF0,0x00,0xC8,0x1C,0x00,0xE0,0x00,0x00,0xC0,0x1C,0x00,
0xE0,0x00,0x01,0xC0,0x1C,0x00,0xE0,0x00,0x01,0xC0,0x1C,0x00,0xE0,0x00,0x01,0xC0,
0x1C,0x00,0xE0,0x00,0x01,0xC0,0x1C,0x00,0xE0,0x00,0x01,0xC0,0x1F,0xFF,0xE0,0x00,
0x01,0xC0,0x1C,0x00,0xE0,0x00,0x01,0xC0,0x10,0x00,0x80,0x00,0x01,0xC0,0x00,0x00,
0x10,0x00,0x01,0x80,0x00,0x00,0x38,0x00,0x01,0x81,0xFF,0xFF,0xFC,0x00,0x01,0x80,
0x08,0x00,0x78,0x00,0x01,0x80,0x0C,0x00,0x70,0x00,0x03,0x80,0x06,0x00,0xE0,0x00,
0x03,0x00,0x03,0x01,0xC0,0x00,0x03,0x00,0x03,0x03,0xC0,0x00,0x03,0x00,0x01,0x87,
0x80,0x00,0x03,0x00,0x00,0xCF,0x00,0x00,0x06,0x00,0x00,0x7E,0x00,0x00,0x06,0x00,
0x00,0x3C,0x00,0x00,0x06,0x00,0x00,0x7C,0x00,0x00,0x0C,0x00,0x01,0xFF,0x00,0x00,
0x0C,0x00,0x03,0xC7,0xE0,0x00,0x08,0x00,0x0F,0x01,0xFE,0x00,0x18,0x00,0x78,0x00,
0x7F,0xF8,0x10,0x03,0xE0,0x00,0x1F,0xE0,0x20,0x1E,0x00,0x00,0x03,0xC0,0x20,0xE0,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00};
unsigned char s1[] = { //:
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0xE0,0x00,0x00,0x00,0x00,0x01,0xF0,0x00,0x00,0x00,0x00,0x03,0xF8,0x00,0x00,
0x00,0x00,0x03,0xF8,0x00,0x00,0x00,0x00,0x03,0xF8,0x00,0x00,0x00,0x00,0x01,0xF0,
0x00,0x00,0x00,0x00,0x00,0x40,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0xC0,0x00,0x00,0x00,0x00,0x01,0xF0,0x00,0x00,0x00,0x00,0x03,0xF8,
0x00,0x00,0x00,0x00,0x03,0xF8,0x00,0x00,0x00,0x00,0x03,0xF8,0x00,0x00,0x00,0x00,
0x01,0xF0,0x00,0x00,0x00,0x00,0x00,0xE0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00};
unsigned char s2[] = { //℃
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0xF0,0x00,0x00,0x00,0x00,0x01,0x98,0x00,0xFF,0x80,0x00,
0x03,0x0C,0x03,0xFF,0xE0,0x00,0x02,0x0C,0x0F,0x80,0x38,0x80,0x02,0x0C,0x1E,0x00,
0x0C,0x80,0x03,0x0C,0x3C,0x00,0x06,0x80,0x03,0x18,0x38,0x00,0x03,0x80,0x01,0xF8,
0x70,0x00,0x01,0x80,0x00,0x00,0xF0,0x00,0x01,0x80,0x00,0x00,0xE0,0x00,0x01,0x80,
0x00,0x01,0xE0,0x00,0x00,0x80,0x00,0x01,0xC0,0x00,0x00,0x80,0x00,0x01,0xC0,0x00,
0x00,0x80,0x00,0x01,0xC0,0x00,0x00,0x00,0x00,0x01,0xC0,0x00,0x00,0x00,0x00,0x03,
0xC0,0x00,0x00,0x00,0x00,0x03,0xC0,0x00,0x00,0x00,0x00,0x03,0xC0,0x00,0x00,0x00,
0x00,0x03,0xC0,0x00,0x00,0x00,0x00,0x03,0xC0,0x00,0x00,0x00,0x00,0x01,0xC0,0x00,
0x00,0x00,0x00,0x01,0xC0,0x00,0x00,0x00,0x00,0x01,0xC0,0x00,0x00,0x00,0x00,0x01,
0xC0,0x00,0x00,0x00,0x00,0x01,0xE0,0x00,0x00,0x00,0x00,0x00,0xE0,0x00,0x00,0x00,
0x00,0x00,0xE0,0x00,0x00,0x80,0x00,0x00,0xF0,0x00,0x01,0x80,0x00,0x00,0x78,0x00,
0x01,0x00,0x00,0x00,0x38,0x00,0x02,0x00,0x00,0x00,0x3C,0x00,0x0E,0x00,0x00,0x00,
0x1F,0x00,0x38,0x00,0x00,0x00,0x0F,0xE1,0xF0,0x00,0x00,0x00,0x03,0xFF,0xC0,0x00,
0x00,0x00,0x00,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00};
//24*48
unsigned char num[] = {
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, //0
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x0F,0xFF,0xF8,0x0F,0xFF,0xF8,0x0F,0xFF,0xF0,
0x0E,0x00,0x30,0x08,0x00,0x60,0x18,0x00,0x40,0x10,0x00,
0xC0,0x10,0x00,0x80,0x00,0x01,0x80,0x00,0x01,0x00,0x00,
0x03,0x00,0x00,0x02,0x00,0x00,0x06,0x00,0x00,0x04,0x00,
0x00,0x0C,0x00,0x00,0x0C,0x00,0x00,0x18,0x00,0x00,0x18,
0x00,0x00,0x38,0x00,0x00,0x30,0x00,0x00,0x30,0x00,0x00,
0x70,0x00,0x00,0x70,0x00,0x00,0x70,0x00,0x00,0x70,0x00,
0x00,0xF0,0x00,0x00,0xF0,0x00,0x00,0xF0,0x00,0x00,0xF0,
0x00,0x00,0xF0,0x00,0x00,0xF0,0x00,0x00,0x70,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, //1
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x04,0x00,0x00,0x0C,0x00,0x00,0x1C,0x00,
0x03,0xFC,0x00,0x00,0x1C,0x00,0x00,0x1C,0x00,0x00,0x1C,
0x00,0x00,0x1C,0x00,0x00,0x1C,0x00,0x00,0x1C,0x00,0x00,
0x1C,0x00,0x00,0x1C,0x00,0x00,0x1C,0x00,0x00,0x1C,0x00,
0x00,0x1C,0x00,0x00,0x1C,0x00,0x00,0x1C,0x00,0x00,0x1C,
0x00,0x00,0x1C,0x00,0x00,0x1C,0x00,0x00,0x1C,0x00,0x00,
0x1C,0x00,0x00,0x1C,0x00,0x00,0x1C,0x00,0x00,0x1C,0x00,
0x00,0x1C,0x00,0x00,0x1C,0x00,0x00,0x1C,0x00,0x00,0x1C,
0x00,0x00,0x1C,0x00,0x00,0x3E,0x00,0x03,0xFF,0xE0,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, //2
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x7E,0x00,0x01,0x83,0x80,0x06,0x01,0xC0,
0x0C,0x00,0xE0,0x0C,0x00,0xE0,0x1C,0x00,0x70,0x1C,0x00,
0x70,0x1C,0x00,0x70,0x1E,0x00,0x70,0x1E,0x00,0x70,0x0E,
0x00,0x70,0x00,0x00,0xE0,0x00,0x00,0xE0,0x00,0x01,0xC0,
0x00,0x01,0xC0,0x00,0x03,0x80,0x00,0x07,0x00,0x00,0x0E,
0x00,0x00,0x1C,0x00,0x00,0x38,0x00,0x00,0x70,0x00,0x00,
0xE0,0x00,0x01,0xC0,0x00,0x01,0x80,0x00,0x03,0x00,0x10,
0x06,0x00,0x10,0x0C,0x00,0x30,0x18,0x00,0x30,0x10,0x00,
0x60,0x3F,0xFF,0xE0,0x3F,0xFF,0xE0,0x3F,0xFF,0xE0,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, //3
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x7E,0x00,0x01,0x83,0x80,0x03,0x01,0xC0,
0x06,0x00,0xE0,0x0E,0x00,0xE0,0x0E,0x00,0x70,0x0F,0x00,
0x70,0x0F,0x00,0x70,0x07,0x00,0x70,0x00,0x00,0x70,0x00,
0x00,0x60,0x00,0x00,0xE0,0x00,0x00,0xC0,0x00,0x01,0x80,
0x00,0x07,0x00,0x00,0x7C,0x00,0x00,0x07,0x80,0x00,0x00,
0xC0,0x00,0x00,0x60,0x00,0x00,0x70,0x00,0x00,0x30,0x00,
0x00,0x38,0x00,0x00,0x38,0x0C,0x00,0x38,0x1E,0x00,0x38,
0x1E,0x00,0x38,0x1E,0x00,0x30,0x1C,0x00,0x70,0x0C,0x00,
0x60,0x06,0x00,0xC0,0x03,0x03,0x80,0x00,0xFE,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, //4
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x01,0x80,0x00,0x03,0x80,0x00,0x03,0x80,
0x00,0x07,0x80,0x00,0x0F,0x80,0x00,0x0B,0x80,0x00,0x1B,
0x80,0x00,0x13,0x80,0x00,0x33,0x80,0x00,0x63,0x80,0x00,
0x43,0x80,0x00,0xC3,0x80,0x01,0x83,0x80,0x01,0x03,0x80,
0x03,0x03,0x80,0x02,0x03,0x80,0x04,0x03,0x80,0x0C,0x03,
0x80,0x08,0x03,0x80,0x18,0x03,0x80,0x30,0x03,0x80,0x3F,
0xFF,0xFC,0x3F,0xFF,0xFC,0x00,0x03,0x80,0x00,0x03,0x80,
0x00,0x03,0x80,0x00,0x03,0x80,0x00,0x03,0x80,0x00,0x03,
0x80,0x00,0x03,0x80,0x00,0x03,0xC0,0x00,0x7F,0xFC,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, //5
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x07,0xFF,0xF0,0x07,0xFF,0xF0,0x07,0xFF,0xF0,
0x04,0x00,0x00,0x04,0x00,0x00,0x04,0x00,0x00,0x04,0x00,
0x00,0x04,0x00,0x00,0x08,0x00,0x00,0x08,0x00,0x00,0x08,
0x00,0x00,0x08,0x7F,0x00,0x09,0xFF,0x80,0x0B,0x81,0xC0,
0x0E,0x00,0xE0,0x0E,0x00,0x70,0x0C,0x00,0x70,0x00,0x00,
0x78,0x00,0x00,0x38,0x00,0x00,0x38,0x00,0x00,0x38,0x00,
0x00,0x38,0x0C,0x00,0x38,0x1E,0x00,0x38,0x1E,0x00,0x38,
0x1E,0x00,0x30,0x1C,0x00,0x70,0x0C,0x00,0x70,0x0C,0x00,
0xE0,0x06,0x00,0xC0,0x03,0x83,0x80,0x00,0xFE,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, //6
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x3F,0x00,0x00,0xC1,0xC0,0x01,0x81,0xC0,
0x03,0x01,0xE0,0x06,0x01,0xE0,0x0C,0x01,0xE0,0x0C,0x00,
0x00,0x0C,0x00,0x00,0x1C,0x00,0x00,0x18,0x00,0x00,0x18,
0x00,0x00,0x38,0x00,0x00,0x38,0x3F,0x00,0x38,0xFF,0xC0,
0x3B,0xC1,0xE0,0x3B,0x00,0xE0,0x3E,0x00,0x70,0x3C,0x00,
0x70,0x38,0x00,0x38,0x38,0x00,0x38,0x38,0x00,0x38,0x38,
0x00,0x38,0x38,0x00,0x38,0x18,0x00,0x38,0x1C,0x00,0x38,
0x1C,0x00,0x38,0x0C,0x00,0x30,0x0E,0x00,0x70,0x06,0x00,
0x60,0x03,0x00,0xC0,0x01,0xC1,0x80,0x00,0x7E,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, //7
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x0F,0xFF,0xF8,0x0F,0xFF,0xF8,0x0F,0xFF,0xF0,
0x0E,0x00,0x30,0x08,0x00,0x60,0x18,0x00,0x40,0x10,0x00,
0xC0,0x10,0x00,0x80,0x00,0x01,0x80,0x00,0x01,0x00,0x00,
0x03,0x00,0x00,0x02,0x00,0x00,0x06,0x00,0x00,0x04,0x00,
0x00,0x0C,0x00,0x00,0x0C,0x00,0x00,0x18,0x00,0x00,0x18,
0x00,0x00,0x38,0x00,0x00,0x30,0x00,0x00,0x30,0x00,0x00,
0x70,0x00,0x00,0x70,0x00,0x00,0x70,0x00,0x00,0x70,0x00,
0x00,0xF0,0x00,0x00,0xF0,0x00,0x00,0xF0,0x00,0x00,0xF0,
0x00,0x00,0xF0,0x00,0x00,0xF0,0x00,0x00,0x70,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, //8
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0xFF,0x00,0x03,0x81,0xC0,0x07,0x00,0xE0,
0x0E,0x00,0x70,0x0C,0x00,0x70,0x1C,0x00,0x38,0x1C,0x00,
0x38,0x1C,0x00,0x38,0x1C,0x00,0x38,0x1E,0x00,0x38,0x0F,
0x00,0x70,0x0F,0x80,0x70,0x07,0xC0,0xE0,0x03,0xF1,0xC0,
0x01,0xFF,0x00,0x01,0xFF,0x00,0x03,0x1F,0x80,0x06,0x07,
0xC0,0x0E,0x03,0xE0,0x1C,0x00,0xF0,0x1C,0x00,0xF0,0x38,
0x00,0x78,0x38,0x00,0x38,0x38,0x00,0x38,0x38,0x00,0x38,
0x38,0x00,0x38,0x38,0x00,0x38,0x1C,0x00,0x70,0x0C,0x00,
0x60,0x06,0x00,0xE0,0x03,0x81,0x80,0x00,0xFE,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, //9
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0xFC,0x00,0x03,0x83,0x00,0x06,0x00,0x80,
0x0E,0x00,0xC0,0x1C,0x00,0x60,0x1C,0x00,0x60,0x18,0x00,
0x30,0x38,0x00,0x30,0x38,0x00,0x30,0x38,0x00,0x38,0x38,
0x00,0x38,0x38,0x00,0x38,0x38,0x00,0x38,0x38,0x00,0x78,
0x1C,0x00,0x78,0x1C,0x00,0xF8,0x1E,0x01,0xB8,0x0F,0x87,
0x38,0x07,0xFE,0x38,0x01,0xF8,0x38,0x00,0x00,0x30,0x00,
0x00,0x70,0x00,0x00,0x70,0x00,0x00,0x70,0x00,0x00,0x60,
0x00,0x00,0xE0,0x06,0x00,0xC0,0x0F,0x01,0xC0,0x0F,0x01,
0x80,0x0F,0x03,0x00,0x07,0x0E,0x00,0x01,0xF8,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00};
void Delay(U32 x){
U32 i, j, k;
for(i = 0; i < x; i++)
for(j = 0; j < 0xff; j++)
for(k = 0; k < 0xff; k++)
;
}
声明:本文内容来自网络转载或用户投稿,文章版权归原作者和原出处所有。文中观点,不代表本站立场。若有侵权请联系本站删除(kf@86ic.com)https://www.86ic.net/ceping/baogao/254703.html