作业帮 > 综合 > 作业

是大神的请进,想要自学LED点阵屏的设计和应用需要掌握哪知识?也必需知道什么知识?

来源:学生作业帮 编辑:神马作文网作业帮 分类:综合作业 时间:2024/11/20 05:01:06
是大神的请进,想要自学LED点阵屏的设计和应用需要掌握哪知识?也必需知道什么知识?
是大神的请进,想要自学LED点阵屏的设计和应用需要掌握哪知识?也必需知道什么知识?
你是电子信息工程专业的是吗,LED点阵屏的设计,需要软件设计跟硬件设计,硬件比较机械,只要实现扫描,软件的话,字符代码知道后,怎么扫描显示这个是固定的我给你弄个事例
#include
#define uint unsigned int
#define uchar unsigned char
sbit sh=P3^6;
sbit ds=P3^7;
sbit st=P3^5;
sbit en=P2^4;
sbit key1=P1^0;
sbit key2=P1^1;
uchar speed=15;
bit leftflag;
bit rightflag;
uchar code hanzi[][32]={
//永
{0x02,0x00,0x01,0x00,0x00,0x80,0x1F,0x00,0x01,0x04,0x01,0x08,0x7D,0x90,0x05,0xA0,
0x05,0x40,0x09,0x40,0x09,0x20,0x11,0x10,0x21,0x08,0xC1,0x06,0x05,0x00,0x02,0x00},
//远
{0x00,0x00,0x23,0xF8,0x10,0x00,0x10,0x00,0x00,0x00,0x07,0xFC,0xF1,0x20,0x11,0x20,
0x11,0x20,0x11,0x20,0x11,0x24,0x12,0x24,0x12,0x24,0x14,0x1C,0x28,0x00,0x47,0xFE},
//爱
{0x00,0x08,0x01,0xFC,0x7E,0x10,0x22,0x10,0x11,0x20,0x7F,0xFE,0x42,0x02,0x82,0x04,
0x7F,0xF8,0x04,0x00,0x07,0xF0,0x0A,0x10,0x11,0x20,0x20,0xC0,0x43,0x30,0x1C,0x0E},
//你
{0x08,0x80,0x08,0x80,0x08,0x80,0x11,0xFE,0x11,0x02,0x32,0x04,0x34,0x20,0x50,0x20,
0x91,0x28,0x11,0x24,0x12,0x24,0x12,0x22,0x14,0x22,0x10,0x20,0x10,0xA0,0x10,0x40,},
//比
{0x00,0x80,0x20,0x80,0x20,0x80,0x20,0x84,0x20,0x88,0x20,0x90,0x3E,0xA0,0x20,0xC0,
0x20,0x80,0x20,0x80,0x20,0x80,0x20,0x82,0x26,0x82,0x38,0x82,0x20,0x7E,0x00,0x00},
//翼
{0x7E,0xFC,0x22,0x44,0x1A,0x34,0x62,0xC4,0x02,0x04,0x3F,0xF8,0x21,0x08,0x3F,0xF8,
0x21,0x08,0x3F,0xF8,0x04,0x40,0x3F,0xF8,0x04,0x40,0xFF,0xFE,0x08,0x20,0x10,0x10},
//双
{0x00,0x00,0x00,0x00,0xFD,0xFC,0x04,0x84,0x44,0x84,0x44,0x84,0x28,0x88,0x28,0x88,
0x10,0x50,0x10,0x50,0x28,0x20,0x28,0x20,0x44,0x50,0x44,0x88,0x81,0x04,0x02,0x02},
//飞
{0x00,0x00,0xFF,0xC0,0x00,0x40,0x00,0x44,0x00,0x48,0x00,0x50,0x00,0x60,0x00,0x50,
0x00,0x48,0x00,0x44,0x00,0x20,0x00,0x20,0x00,0x12,0x00,0x0A,0x00,0x06,0x00,0x02},
{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00},
{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,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(uint x)
{
uchar t;
while(x--) for(t=0;t