⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 data.c

📁 在采样的基础上实现数码管显示和利用TI公司的FFT算法进行运算
💻 C
📖 第 1 页 / 共 2 页
字号:
#include "zimo.h"

unsigned int PSystemSet[8]={0x30,0x87,0x07,0x27,0x42,0x0F0,0x28,0x00};
unsigned int PScroll[10]={0x00,0x00,0x0f0,0x00,0x40,0x0f0,0x00,0x80,0x00,0x00};
unsigned int PCsrBlock[2] = {0x07,0x87};
unsigned int PCsrLine[2] = {0x07,0x07};
//************************************
unsigned int English[26] = {0x48,0x75,0x6e,'a','n','', 0x55,0x6e,0x69,0x76,0x65,
								 0x72,0x73,0x69,0x74,0x79,0x20,0x50,0x6f,0x77,0x65,
								 0x72,0x20,0x4c,0x61,0x62};//Hunan University Power Lab
//static unsigned int KV[] = {								 
//*********************************
unsigned int vramValue[LCD_MAXY][LCD_MAXX/8]={0};
//*******************************
const int char1[32]={0x04,0x24,0x17,0x14,0x04,0x05,0x0f6,0x10,
					0x20,0x24,0x0a8,0x30,0x22,0x0a2,0x5e,0x88,
					0x13,0x12,0x12,0x13,0x16,0x1a,0x13,0x02,
					0x0fc,0x08,0x08,0x0f8,0x08,0x08,0x0f8,0x08};  //"谐"
const int char2[32]={0x00,0x40,0x30,0x17,0x04,0x84,0x44,0x0f,
					0x40,0x40,0x40,0x0fc,0x44,0x48,0x40,0x0f8,
					0x14,0x25,0x0e4,0x24,0x28,0x29,0x32,0x24,
					0x08,0x10,0x0a0,0x40,0x0a0,0x10,0x0e,0x04}; //"波"
const int char3[32]={0x02,0x02,0x0ff,0x04,0x04,0x0f,0x08,0x18,
					0x00,0x04,0x0fe,0x00,0x10,0x0f8,0x10,0x10,
					0x2f,0x48,0x88,0x0f,0x08,0x08,0x08,0x08,
					0x0f0,0x10,0x10,0x0f0,0x10,0x10,0x50,0x20};//"有"
const int char4[32]={0x00,0x47,0x34,0x14,0x84,0x65,0x25,0x0d,
					0x04,0x0fe,0x20,0x20,0x44,0x0fe,0x04,0x0fc,
					0x15,0x25,0x0e4,0x24,0x29,0x2a,0x30,0x20,
					0x04,0x0fc,0x20,0x0a8,0x0a6,0x22,0x0a0,0x40};//"源"
const int char5[32]={0x00,0x40,0x20,0x2f,0x08,0x88,0x5f,0x48,
					0x90,0x0f8,0x80,0x0fe,0x82,0x0f4,0x80,0x88,
					0x18,0x28,0x0c9,0x4b,0x4d,0x51,0x50,0x60,
					0x78,0x00,0x40,0x24,0x2a,0x0a,0x0f8,0x00};//"滤"
const int char6[32]={0x02,0x02,0x02,0x7f,0x42,0x42,0x7f,0x42,
					0x00,0x00,0x10,0x0f8,0x10,0x10,0x0f0,0x10,
					0x42,0x7f,0x42,0x02,0x02,0x02,0x01,0x00,
					0x10,0x0f0,0x10,0x00,0x04,0x04,0x0fc,0x00};//"电"	
const int char7[32]={0x02,0x02,0x02,0x02,0x7f,0x02,0x02,0x02,
					0x00,0x00,0x00,0x08,0x0fc,0x08,0x08,0x08,
					0x02,0x02,0x02,0x04,0x04,0x08,0x08,0x70,
					0x08,0x08,0x08,0x08,0x08,0x88,0x50,0x20};//"力"	
const int char8[32]={0x00,0x00,0x08,0x0fc,0x10,0x17,0x10,0x10,
					0x80,0x80,0x80,0x80,0x84,0x0fe,0x84,0x84,
					0x10,0x10,0x1d,0x0f1,0x41,0x02,0x04,0x08,
					0x84,0x84,0x04,0x04,0x04,0x44,0x28,0x10};//"功"	
const int char9[32]={0x08,0x0f,0x10,0x20,0x5f,0x91,0x11,0x1f,
					0x00,0x0e0,0x40,0x88,0x0fc,0x08,0x08,0x0f8,
					0x11,0x11,0x1f,0x11,0x11,0x21,0x41,0x80,
					0x08,0x08,0x0f8,0x08,0x08,0x08,0x28,0x10};//"角"
const int char10[32]={0x10,0x13,0x54,0x5e,0x51,0x55,0x0ff,0x11,
					0x04,0x0fe,0x20,0x44,0x0fe,0x04,0x24,0x24,
					0x55,0x55,0x55,0x95,0x08,0x10,0x20,0x43,
					0x24,0x24,0x24,0x24,0x20,0x50,0x8c,0x04};//"频"	
const int char11[32]={0x3e,0x22,0x22,0x22,0x3e,0x01,0x01,0x0ff,
					0x0f8,0x88,0x88,0x88,0x0f8,0x20,0x14,0x0fe,
					0x02,0x0c,0x30,0x0fe,0x22,0x22,0x22,0x3e,	
					0x80,0x60,0x18,0x0fe,0x88,0x88,0x88,0x0f8};//器
const int char12[32]={0x02,0x01,0x7f,0x01,0x42,0x27,0x11,0x22,
					0x00,0x08,0x0fc,0x00,0x44,0x88,0x10,0x48,
					0x4f,0x01,0x01,0x0ff,0x01,0x01,0x01,0x01,
					0x0e4,0x20,0x04,0x0fe,0x00,0x00,0x00,0x00}; //率
const int char13[32]={0x00,0x1f,0x10,0x12,0x11,0x10,0x10,0x0ff,
					0x10,0x0f8,0x10,0x10,0x90,0x90,0x14,0x0fe,
					0x20,0x22,0x21,0x20,0x3f,0x00,0x00,0x00,
					0x10,0x10,0x90,0x90,0x0f8,0x10,0x0a0,0x40};//母
const int char14[32]={0x08,0x08,0x10,0x10,0x22,0x7f,0x08,0x10,
					0x40,0x50,0x48,0x40,0x7c,0x0c0,0x44,0x7e,
					0x23,0x7c,0x00,0x00,0x1c,0x0e0,0x43,0x00,
					0x0c0,0x48,0x50,0x20,0x60,0x92,0x0a0,0x06};//线
const int char15[32]={0x00,0x3f,0x20,0x20,0x20,0x20,0x20,0x2f,
					0x08,0x0fc,0x80,0x80,0x80,0x80,0x88,0x0fc,
					0x20,0x20,0x20,0x20,0x40,0x40,0x9f,0x00,
					0x80,0x0a0,0x98,0x88,0x80,0x84,0x0fe,0x00};//压
const int char16[32]={0x00,0x40,0x37,0x10,0x80,0x61,0x27,0x08,
					0x80,0x48,0x0fc,0x40,0x90,0x08,0x0fc,0x04,
					0x11,0x21,0x0e1,0x21,0x21,0x21,0x22,0x24,
					0x50,0x50,0x50,0x50,0x52,0x52,0x4e,0x40};//流
const int char17[32]={0x00,0x40,0x30,0x11,0x01,0x02,0x08,0x10,
					0x80,0x80,0x80,0x08,0x0fc,0x08,0x50,0x40,
					0x20,0x0e0,0x20,0x20,0x21,0x22,0x24,0x28,
					0x40,0x40,0x0a0,0x0a0,0x10,0x08,0x0e,0x04};//次
const int char18[32]={0x08,0x49,0x2a,0x08,0x0ff,0x19,0x2c,0x4a,
					0x40,0x40,0x40,0x84,0x0fe,0x08,0x88,0x88,
					0x10,0x0fe,0x22,0x22,0x14,0x18,0x25,0x42,
					0x88,0x90,0x50,0x20,0x50,0x88,0x0e,0x04};//数
const int char19[32]={0x10,0x11,0x11,0x11,0x0fd,0x11,0x31,0x39,
					0x04,0x0fe,0x04,0x04,0x04,0x0fc,0x04,0x04,
					0x55,0x51,0x91,0x11,0x11,0x11,0x11,0x11,
					0x04,0x0fc,0x04,0x04,0x04,0x04,0x0fc,0x04};//相
const int char20[32]={0x00,0x04,0x0fe,0x10,0x11,0x23,0x25,0x7d,
					0x40,0x40,0x78,0x90,0x24,0x0fe,0x24,0x24,
					0x0a5,0x25,0x25,0x25,0x25,0x3d,0x22,0x04,
					0x0fc,0x24,0x24,0x0fc,0x24,0x24,0x24,0x0c};//确
const int char21[32]={0x02,0x01,0x7f,0x40,0x80,0x1f,0x01,0x01,
					0x00,0x00,0x0fe,0x02,0x24,0x0f0,0x00,0x00,
					0x11,0x11,0x11,0x11,0x11,0x29,0x47,0x80,
					0x20,0x0f0,0x00,0x00,0x00,0x06,0x0fc,0x00};//定
const int char22[32]={0x01,0x0ff,0x22,0x23,0x3e,0x22,0x22,0x3e,
					0x00,0x80,0x00,0x0fc,0x04,0x84,0x88,0x88,
					0x22,0x22,0x22,0x3e,0x0e2,0x42,0x03,0x02,
					0x48,0x50,0x20,0x50,0x48,0x8e,0x04,0x00};//取
const int char23[32]={0x00,0x04,0x7f,0x54,0x54,0x54,0x7f,0x54,
					0x20,0x28,0x0fc,0x20,0x50,0x88,0x0fe,0x08,
					0x55,0x55,0x7d,0x45,0x01,0x01,0x00,0x00,
					0x0e8,0x28,0x28,0x28,0x0e8,0x08,0x28,0x10};	//畸
const int char24[32]={0x00,0x42,0x31,0x10,0x83,0x62,0x22,0x0b,
					0x40,0x48,0x50,0x48,0x0fc,0x08,0x08,0x0f8,
					0x12,0x22,0x0e3,0x22,0x22,0x22,0x22,0x22,
					0x08,0x08,0x0f8,0x08,0x08,0x08,0x28,0x10};//消
const int char25[32]={0x02,0x01,0x7f,0x04,0x14,0x14,0x24,0x44,
					0x00,0x08,0x0fc,0x40,0x50,0x48,0x4c,0x44,
					0x1f,0x08,0x04,0x02,0x01,0x02,0x0c,0x30,
					0x0f0,0x20,0x40,0x80,0x00,0x0c0,0x3c,0x08};//变
const int char26[32]={0x01,0x01,0x02,0x04,0x0a,0x11,0x20,0x0df,
					0x00,0x00,0x80,0x40,0x20,0x90,0x8e,0x0e4,
					0x00,0x00,0x1f,0x10,0x10,0x10,0x1f,0x10,
					0x40,0x90,0x0f8,0x10,0x10,0x10,0x0f0,0x10};//含
const int char27[32]={0x00,0x1f,0x10,0x1f,0x10,0x0ff,0x00,0x1f,
					0x10,0x0f8,0x10,0x0f0,0x14,0x0fe,0x00,0x0f0,
					0x11,0x1f,0x11,0x1f,0x01,0x1f,0x01,0x7f,
					0x10,0x0f0,0x10,0x0f0,0x00,0x0f0,0x00,0x0fc};//量
const int char28[32]={0x02,0x01,0x0ff,0x00,0x1f,0x10,0x10,0x1f,
					0x00,0x04,0x0fe,0x00,0x0f0,0x10,0x10,0x0f0,
					0x00,0x7f,0x40,0x4f,0x48,0x48,0x4f,0x40,
					0x04,0x0fe,0x04,0x0e4,0x24,0x24,0x0e4,0x0c};//高
const int char29[32]={0x10,0x10,0x24,0x44,0x0fe,0x02,0x7c,0x44,
					0x80,0x88,0x98,0x0a0,0x0c0,0x84,0x84,0x7c,
					0x7c,0x44,0x44,0x7c,0x44,0x44,0x54,0x48,
					0x00,0x88,0x98,0x0a0,0x0c0,0x82,0x82,0x7e};	//能
const int char30[32]={0x00,0x3f,0x20,0x20,0x3f,0x20,0x20,0x2f,
					0x78,0x80,0x80,0x84,0x0fe,0x80,0x88,0x0fc,
					0x28,0x28,0x28,0x28,0x49,0x42,0x8c,0x30,
					0x08,0x88,0x88,0x88,0x08,0x70,0x0c,0x04};//质
const int char31[32]={0x20,0x20,0x28,0x0fd,0x22,0x45,0x50,0x93,
					0x40,0x0a0,0x0a0,0x10,0x0e,0x0f4,0x00,0x0c4,
					0x0fa,0x13,0x3a,0x0d3,0x12,0x12,0x12,0x12,
					0x54,0x0d4,0x54,0x0d4,0x54,0x44,0x44,0x0cc};//输
const int char32[32]={0x02,0x01,0x7f,0x48,0x86,0x02,0x10,0x0c,
					0x00,0x00,0x0fe,0x02,0x84,0x80,0x80,0x80,
					0x04,0x0ff,0x01,0x01,0x02,0x04,0x18,0x60,
					0x84,0x0fe,0x00,0x40,0x20,0x10,0x0c,0x04};	//实
const int char33[32]={0x08,0x0fc,0x08,0x48,0x49,0x4a,0x4d,0x48,
					0x40,0x40,0x0a0,0x0a0,0x10,0x0e,0x0f4,0x00,
					0x7c,0x06,0x05,0x1d,0x0e5,0x44,0x17,0x08,
					0x48,0x48,0x48,0x50,0x10,0x24,0x0fe,0x00};//验
const int char34[32]={0x02,0x01,0x7f,0x40,0x80,0x3f,0x04,0x08,
					0x00,0x00,0x0fe,0x02,0x14,0x0f8,0x00,0x20,
					0x1f,0x01,0x01,0x1f,0x01,0x01,0x7f,0x00,
					0x0f0,0x10,0x00,0x0f0,0x00,0x08,0x0fc,0x00};//室
const int char35[32]={0x42,0x32,0x12,0x02,0x9f,0x62,0x22,0x0f,
					0x04,0x3e,0x24,0x24,0x0e4,0x3c,0x0a4,0x0e4,
					0x18,0x28,0x0c8,0x48,0x48,0x4f,0x48,0x40,
					0x0a4,0x0bc,0x0a4,0x0a4,0x0a4,0x0a4,0x54,0x88};	//湖
const int char36[32]={0x01,0x01,0x0ff,0x01,0x01,0x7f,0x48,0x44,
					0x00,0x04,0x0fe,0x00,0x04,0x0fe,0x24,0x44,
					0x5f,0x41,0x41,0x5f,0x41,0x41,0x41,0x40,
					0x0f4,0x04,0x04,0x0f4,0x04,0x04,0x14,0x08};	//南
const int char37[32]={0x01,0x01,0x01,0x01,0x01,0x0ff,0x01,0x02,
					0x00,0x00,0x00,0x00,0x04,0x0fe,0x00,0x80,
					0x02,0x02,0x04,0x04,0x08,0x10,0x60,0x00,
					0x80,0x40,0x40,0x20,0x10,0x0e,0x04,0x00};//大
const int char38[32]={0x22,0x11,0x11,0x00,0x7f,0x40,0x80,0x1f,
					0x08,0x08,0x10,0x20,0x0fe,0x02,0x04,0x0e0,
					0x00,0x01,0x0ff,0x01,0x01,0x01,0x05,0x02,
					0x40,0x84,0x0fe,0x00,0x00,0x00,0x00,0x00};//学		
const int char39[32]={0x08,0x08,0x0f,0x10,0x10,0x37,0x50,0x90,
					0x80,0x44,0x0fe,0x00,0x08,0x0fc,0x00,0x08,
					0x17,0x10,0x13,0x12,0x12,0x12,0x13,0x12,
					0x0fc,0x00,0x0f8,0x08,0x08,0x08,0x0f8,0x08};//信
const int char40[32]={0x00,0x1f,0x10,0x10,0x10,0x1f,0x00,0x0ff,
					0x10,0x0f8,0x10,0x10,0x10,0x0f0,0x04,0x0fe,
					0x04,0x08,0x1f,0x00,0x00,0x00,0x00,0x00,
					0x00,0x10,0x0f8,0x10,0x10,0x10,0x0a0,0x40};	//号
const int char41[32]={0x00,0x00,0x7f,0x00,0x11,0x08,0x01,0x01,
					0x08,0x7c,0x80,0x08,0x18,0x0a0,0x00,0x04,
					0x0ff,0x03,0x05,0x09,0x11,0x61,0x01,0x01,
					0x0fe,0x80,0x40,0x30,0x0e,0x04,0x00,0x00};	//采
const int char42[32]={0x09,0x08,0x1f,0x31,0x5f,0x91,0x1f,0x11,
					0x00,0x90,0x0f8,0x00,0x0f0,0x00,0x0f0,0x00,
					0x1f,0x11,0x0ff,0x05,0x09,0x11,0x61,0x01,
					0x0f8,0x00,0x0fe,0x40,0x20,0x1c,0x08,0x00};	//集
const int char43[32]={0x00,0x10,0x10,0x10,0x1e,0x22,0x22,0x22,
					0x40,0x40,0x40,0x40,0x40,0x60,0x50,0x4c,
					0x54,0x94,0x08,0x14,0x14,0x22,0x41,0x80,
					0x44,0x40,0x40,0x40,0x40,0x06,0x0fc,0x00};	//处
const int char44[32]={0x00,0x13,0x1fa,0x22,0x23,0x22,0x0fa,0x23,
					0x08,0x0fc,0x48,0x48,0x0f8,0x48,0x48,0x0f8,
					0x20,0x20,0x23,0x3c,0x0e0,0x40,0x0f,0x00,
					0x40,0x50,0x0f8,0x40,0x40,0x44,0x0fe,0x00};	//理
const int char45[32]={0x10,0x10,0x11,0x12,0x0fc,0x13,0x12,0x1e,
					0x80,0x80,0x0f0,0x20,0x48,0x0fc,0x48,0x48,
					0x32,0x0d2,0x1f,0x10,0x10,0x11,0x52,0x2c,
					0x48,0x48,0x0fe,0x40,0x0a0,0x10,0x0e,0x04};	//换

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -