3002|3

69

帖子

0

TA的资源

一粒金砂(初级)

楼主
 

双色LED立体显示效果 [复制链接]


昨晚在做LED点阵无意中拍摄到的,呵呵,实际不是这样。

为了显示上面那几个字,我采用手工绘图方法绘出来。
显示代码如下:
unsigned char code Display_Font[64][16]=
{
//1
  0x03,0x03,0x03,0x01,0x03,0x03,0x03,0x03,  0x03,0x03,0x03,0x03,0x01,0x03,0x03,0x03,/*第一个汉字第一行显示*/
  0x03,0x03,0x03,0x03,0x02,0x03,0x03,0x03,  0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,/*第二个汉字第一行显示*/
  0x03,0x03,0x03,0x01,0x03,0x03,0x03,0x03,  0x01,0x03,0x03,0x03,0x03,0x03,0x03,0x03,/*第三个汉字第一行显示*/
  0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,  0x03,0x03,0x01,0x03,0x03,0x03,0x03,0x03,/*第四个汉字第一行显示*/
//2
  0x03,0x03,0x03,0x03,0x01,0x03,0x01,0x03,  0x03,0x03,0x03,0x01,0x01,0x01,0x03,0x03,
  0x03,0x03,0x03,0x03,0x02,0x03,0x03,0x03,  0x03,0x03,0x03,0x03,0x02,0x03,0x03,0x03,
  0x03,0x03,0x03,0x01,0x03,0x03,0x03,0x03,  0x01,0x03,0x03,0x03,0x03,0x03,0x03,0x03,
  0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,  0x01,0x01,0x01,0x01,0x03,0x03,0x03,0x03,
//3
  0x03,0x01,0x01,0x01,0x01,0x01,0x01,0x01,  0x03,0x01,0x01,0x03,0x03,0x03,0x03,0x03,
  0x03,0x03,0x03,0x02,0x02,0x02,0x02,0x02,  0x02,0x02,0x02,0x02,0x02,0x02,0x03,0x03,
  0x03,0x03,0x03,0x01,0x03,0x03,0x03,0x03,  0x01,0x03,0x03,0x03,0x03,0x03,0x03,0x03,
  0x03,0x03,0x03,0x01,0x01,0x01,0x01,0x01,  0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,
//4
  0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,  0x03,0x01,0x03,0x03,0x03,0x03,0x03,0x03,
  0x03,0x03,0x03,0x02,0x03,0x03,0x03,0x02,  0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,
  0x03,0x01,0x03,0x01,0x01,0x03,0x01,0x01,  0x01,0x03,0x03,0x03,0x01,0x03,0x03,0x03,
  0x03,0x03,0x03,0x01,0x03,0x03,0x03,0x03,  0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,
//5
  0x03,0x03,0x01,0x03,0x03,0x03,0x01,0x03,  0x03,0x01,0x03,0x03,0x03,0x03,0x03,0x03,
  0x03,0x03,0x02,0x03,0x03,0x03,0x03,0x02,  0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,
  0x03,0x01,0x03,0x01,0x03,0x01,0x03,0x03,  0x01,0x01,0x01,0x01,0x01,0x01,0x03,0x03,
  0x03,0x03,0x03,0x01,0x03,0x03,0x03,0x01,  0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,
  //6
  0x03,0x03,0x03,0x01,0x03,0x01,0x03,0x03,  0x03,0x01,0x03,0x03,0x03,0x01,0x03,0x03,
  0x03,0x02,0x03,0x03,0x03,0x03,0x03,0x02,  0x03,0x03,0x03,0x02,0x03,0x03,0x03,0x03,
  0x03,0x01,0x03,0x01,0x03,0x03,0x03,0x03,  0x01,0x03,0x03,0x03,0x01,0x03,0x03,0x03,
  0x03,0x03,0x03,0x01,0x03,0x03,0x03,0x01,  0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,

  //7
  0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,  0x03,0x01,0x01,0x01,0x01,0x01,0x01,0x03,
  0x03,0x03,0x03,0x02,0x02,0x02,0x02,0x02,  0x02,0x02,0x02,0x02,0x02,0x03,0x03,0x03,
  0x01,0x03,0x03,0x01,0x03,0x03,0x03,0x03,  0x01,0x03,0x03,0x03,0x01,0x03,0x03,0x03,
  0x03,0x03,0x03,0x01,0x03,0x03,0x03,0x01,  0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,

  //8
  0x03,0x03,0x03,0x01,0x03,0x01,0x03,0x03,  0x03,0x01,0x03,0x03,0x01,0x03,0x03,0x03,
  0x03,0x03,0x03,0x02,0x03,0x03,0x03,0x02,  0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,
  0x03,0x03,0x03,0x01,0x03,0x03,0x03,0x03,  0x01,0x03,0x03,0x03,0x01,0x03,0x03,0x03,
  0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x01,  0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,
  
  //9
  0x03,0x01,0x01,0x01,0x01,0x01,0x01,0x03,  0x03,0x01,0x03,0x03,0x01,0x03,0x03,0x03,
  0x03,0x03,0x03,0x02,0x03,0x03,0x03,0x02,  0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,
  0x03,0x03,0x03,0x01,0x03,0x03,0x03,0x03,  0x01,0x03,0x03,0x03,0x01,0x03,0x03,0x03,
  0x03,0x03,0x01,0x03,0x03,0x03,0x03,0x01,  0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,

  //10
  0x03,0x03,0x03,0x01,0x03,0x03,0x03,0x03,  0x03,0x01,0x03,0x03,0x01,0x03,0x03,0x03,
  0x03,0x03,0x03,0x02,0x03,0x03,0x03,0x02,  0x03,0x03,0x03,0x03,0x03,0x02,0x03,0x03,
  0x03,0x03,0x03,0x01,0x01,0x01,0x01,0x01,  0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x03,
  0x03,0x01,0x03,0x03,0x03,0x03,0x03,0x01,  0x03,0x03,0x03,0x03,0x03,0x01,0x03,0x03,

  //11
  0x03,0x03,0x03,0x01,0x03,0x03,0x03,0x03,  0x03,0x01,0x03,0x03,0x01,0x03,0x03,0x03,
  0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,  0x02,0x02,0x02,0x02,0x02,0x02,0x03,0x03,
  0x03,0x03,0x03,0x01,0x03,0x03,0x03,0x03,  0x01,0x03,0x03,0x03,0x03,0x03,0x03,0x03,
  0x03,0x01,0x01,0x01,0x01,0x01,0x01,0x01,  0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x03,

  //12
  0x03,0x03,0x01,0x01,0x03,0x01,0x03,0x03,  0x03,0x01,0x03,0x03,0x01,0x03,0x03,0x03,
  0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x02,  0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,
  0x03,0x03,0x03,0x01,0x03,0x03,0x03,0x01,  0x03,0x01,0x03,0x03,0x03,0x03,0x03,0x03,
  0x03,0x03,0x03,0x03,0x01,0x03,0x03,0x01,  0x03,0x03,0x01,0x03,0x03,0x03,0x03,0x03,

  //13
  0x03,0x01,0x03,0x01,0x03,0x03,0x01,0x01,  0x01,0x03,0x03,0x03,0x01,0x03,0x03,0x03,
  0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x02,  0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,
  0x03,0x03,0x03,0x01,0x03,0x03,0x03,0x01,  0x03,0x03,0x01,0x03,0x03,0x03,0x03,0x03,
  0x03,0x03,0x03,0x01,0x03,0x03,0x03,0x01,  0x03,0x03,0x03,0x01,0x03,0x03,0x03,0x03,

  //14
  0x01,0x03,0x03,0x01,0x03,0x03,0x03,0x01,  0x01,0x03,0x03,0x03,0x01,0x03,0x03,0x03,
  0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x02,  0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,
  0x03,0x03,0x03,0x01,0x03,0x03,0x01,0x03,  0x03,0x03,0x03,0x01,0x01,0x01,0x03,0x03,
  0x03,0x03,0x01,0x03,0x03,0x03,0x03,0x01,  0x03,0x03,0x03,0x01,0x01,0x03,0x03,0x03,

  //15
  0x03,0x01,0x03,0x01,0x03,0x03,0x01,0x03,  0x03,0x03,0x03,0x03,0x01,0x03,0x03,0x03,
  0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x02,  0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,
  0x03,0x03,0x03,0x01,0x03,0x01,0x03,0x03,  0x03,0x03,0x03,0x03,0x01,0x03,0x03,0x03,
  0x03,0x01,0x03,0x03,0x03,0x01,0x03,0x01,  0x03,0x03,0x03,0x03,0x01,0x03,0x03,0x03,

  //16
  0x03,0x03,0x01,0x03,0x03,0x03,0x03,0x03,  0x03,0x03,0x03,0x03,0x01,0x03,0x03,0x03,
  0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x02,  0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,
  0x03,0x03,0x03,0x01,0x01,0x03,0x03,0x03,  0x03,0x03,0x03,0x03,0x01,0x03,0x03,0x03,
  0x03,0x03,0x03,0x03,0x03,0x03,0x01,0x03,  0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03/*第四个汉字第16行显示*/

};

"0x03"表示无显示
"0x01"表示显示绿色
"0x02"表示显示红色

但在数组中的每个数据只有最后一位或二位有效,其接口如下

数据只中其中R1或G1输入,其和单片机的的连接如下

不了解LED显示屏原理的同学可以去这里看一下测试过程
[url=http://hxembed.blog.163.com/blog/static/137438148201011384246221/edit/?mode=prev][/url]
我想问大家有没有好的软件可以编辑这种字体,或有没有其它好的办法。手工绘太难了。

最新回复

  详情 回复 发表于 2010-2-17 22:31
点赞 关注

回复
举报

74

帖子

0

TA的资源

一粒金砂(初级)

沙发
 
效果图看不见也,换个相册!
 
 

回复

65

帖子

0

TA的资源

一粒金砂(初级)

板凳
 
做双色点阵了啊,真厉害,LZ加油,我还没研究过呢,学习!呵呵
 
 
 

回复

77

帖子

0

TA的资源

一粒金砂(初级)

4
 
 
 
 

回复
您需要登录后才可以回帖 登录 | 注册

查找数据手册?

EEWorld Datasheet 技术支持

相关文章 更多>>
关闭
站长推荐上一条 1/9 下一条

 
EEWorld订阅号

 
EEWorld服务号

 
汽车开发圈

About Us 关于我们 客户服务 联系方式 器件索引 网站地图 最新更新 手机版

站点相关: 国产芯 安防电子 汽车电子 手机便携 工业控制 家用电子 医疗电子 测试测量 网络通信 物联网

北京市海淀区中关村大街18号B座15层1530室 电话:(010)82350740 邮编:100190

电子工程世界版权所有 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号 Copyright © 2005-2025 EEWORLD.com.cn, Inc. All rights reserved
快速回复 返回顶部 返回列表