曙海教育集团论坛单片机专区单片机初中级 → 利用51单片机控制点阵显示屏,方便简单,可以任意修改程序


  共有5687人关注过本帖树形打印

主题:利用51单片机控制点阵显示屏,方便简单,可以任意修改程序

美女呀,离线,留言给我吧!
wangxinxin
  1楼 个性首页 | 博客 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:青蜂侠 帖子:1393 积分:14038 威望:0 精华:0 注册:2010-11-12 11:08:23
利用51单片机控制点阵显示屏,方便简单,可以任意修改程序  发帖心情 Post By:2010-12-7 13:26:05

利用51单片机控制点阵显示屏,方便简单,可以任意修改程序/ g1 i% W! r  h( T
#include<AT89X51.H># ]' V5 K4 G2 b1 U6 f+ C
#include<INTRINS.H>
1 a% m! K+ k% P+ ]1 @#define uchar unsigned char
. E. b1 X" y* X8 ~& k#define uint unsigned int
1 m* [5 x+ P) C2 D9 r8 y% L+ V' l6 a: m( T' D6 i0 j/ Y8 j
unsigned char code hzdot1[] ={; ~9 q) G  k/ s, C3 G: t& A
0xF7,0xFB,0x77,0x80,0xD6,0xFB,0xD5,0xC0,0xE5,0xFB,0x40,0x80,0xF3,0xFF,0xE3,0xC0,0xD5,0xDE,0xB5,0xC0,0xF5,0xDE,0xF6,0xC0,0xF7,0xDE,0xF7,0xDE,0xF7,0xD6,0xF7,0xEE,/*"精",0*/
$ X4 P) D0 K' c6 U- m9 q# O0xEF,0xFE,0xCF,0xEE,0xF7,0xC6,0xF3,0xF8,0x35,0xFE,0xF6,0xDE,0xF7,0xDE,0xF7,0xC1,0x77,0xFF,0x7F,0xFF,0x01,0x80,0x7F,0xFF,0x7F,0xFF,0x7F,0xFF,0x7F,0xFF,0x7F,0xFF,/*"华",0*/, `6 ^1 i& K  T# w
0x7F,0xFF,0x7F,0xFF,0x7F,0xFF,0x03,0xE0,0x7B,0xEF,0x7B,0xEF,0x03,0xE0,0x7B,0xEF,0x7B,0xEF,0x7B,0xEF,0x03,0xE0,0x7B,0xEF,0x7F,0xBF,0x7F,0xBF,0xFF,0x80,0xFF,0xFF,/*"电",0*/; \4 p+ T* ^# @1 `
0xFF,0xFF,0x03,0xF0,0xFF,0xFB,0xFF,0xFD,0xFF,0xFE,0x7F,0xFF,0x7F,0xFF,0x7F,0xDF,0x00,0x80,0x7F,0xFF,0x7F,0xFF,0x7F,0xFF,0x7F,0xFF,0x7F,0xFF,0x5F,0xFF,0xBF,0xFF/*"子",0*/9 W" m7 Y1 L+ |- E- O% T- b

' F2 l* A( P$ {# Z( o
, z# O. E, k0 G' [- j: q0 L% j) R/ Z4 V( U% p: r$ e; x
};7 L+ C1 c3 ^" U3 o. s4 m9 h) j6 t" m
code uchar select[]={0xfe,0xfd,0xfb,0xf7,0xef,0xdf,0xbf,0x7f,0x
" l; I) l/ @" {4 |+ z; M6 Z/ b- N
以上是部分程序

支持(0中立(0反对(0单帖管理 | 引用 | 回复 回到顶部

返回版面帖子列表

利用51单片机控制点阵显示屏,方便简单,可以任意修改程序








签名