编写16x64LED点阵实现滚动显示汉字,怎么实现循环显示啊?不能用移位寄存器的C51编程 60

#include<reg52.h>#include<intrins.h>#defineucharunsignedchar#defineuintunsignedint#de... #include <reg52.h>
#include <intrins.h>
#define uchar unsigned char
#define uint unsigned int
#define count 16 //级联个数
//定义Max7219端口
sbit Max7219_pinCLK = P2^2;
sbit Max7219_pinCS = P2^1;
sbit Max7219_pinDIN = P2^0;
uchar code disp1[16][8]=
{
{0X20,0X27,0X24,0X24,0X2C,0XB4,0XA7,0XA4},
{0X04,0XFE,0X04,0X44,0X44,0X44,0XFC,0X44},
{0X02,0X02,0X04,0X08,0X10,0X20,0X7F,0X00},
{0X00,0X00,0X00,0X20,0X10,0X08,0XFC,0X04},
{0x01,0x01,0x01,0x01,0x01,0xFF,0x01,0x02},
{0x00,0x00,0x00,0x00,0x04,0xFE,0x00,0x80},
{0x22,0x11,0x11,0x00,0x7F,0x40,0x80,0x1F},
{0x08,0x08,0x10,0x20,0xFE,0x02,0x04,0xE0},
{0x24,0x24,0x24,0x25,0x56,0x4C,0x87,0x04},
{0x44,0xA4,0x94,0x0C,0x0C,0x04,0xFC,0x04},
{0x00,0x1F,0x10,0x10,0x10,0x10,0x1F,0x10},
{0x10,0xF8,0x10,0x10,0x10,0x10,0xF0,0x10},
{0x02,0x02,0x04,0x04,0x08,0x18,0x60,0x00},
{0x80,0x40,0x40,0x20,0x10,0x0E,0x04,0x00},
{0x00,0x01,0xFF,0x01,0x01,0x01,0x05,0x02},
{0x40,0x84,0xFE,0x00,0x00,0x00,0x00,0x00},
};
void Delay_xms(uint x);
void Write_Max7219_byte(uchar DATA);//写入一字节
void Write_Max7219(uchar address1,uchar dat1,uchar address2,uchar dat2);
void Init_MAX7219(void);
// 锁存进相应寄存器

怎么才能实现滚动显示汉字啊?帮忙写写循环程序,谢谢了啊
怎么才能实现滚动显示汉字啊?帮忙写写循环程序,谢谢了啊
展开
 我来答
CHQIC
2014-05-22 · TA获得超过781个赞
知道小有建树答主
回答量:1362
采纳率:50%
帮助的人:446万
展开全部
不知道你的硬件是怎么接的,还有用了什么芯片.全部用7219吗?,我用7219做过数码管的.做点阵也是可以的
追问

我全部用的MAX7219,想让下面的图片文字从右向左滚动显示,怎么来实现啊?帮忙谢谢程序吧

追答
不准备向7219的移位寄存器写命令?
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式