• 大小: 1.27MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-09-20
  • 语言: VB
  • 标签: 16x32led  

资源简介

16x32LED点阵屏74hc154和595.内含仿真,原理图,VB上位机

资源截图

代码片段和文件信息

/****************************************
//32*16点阵屏//
//作者:潘果
//日期:2013.04.28
//晶振:12MHZ
****************************************/

/*****************************************************/
//包含头文件
#include 
#include 

/*****************************************************/
//定义引脚
sbit K1 = P1^0;
sbit K2 = P1^1;
sbit K3 = P1^2;
sbit K4 = P1^3;
sbit K5 = P1^4;
sbit K6 = P1^5;
sbit en = P2^4;
sbit st = P3^5;
sbit sh = P3^6;
sbit dat = P3^7;

/*****************************************************/
//宏定义
typedef unsigned char uchar;
typedef unsigned int uint;

/*****************************************************/
//全局变量
uchar speed = 5; //滚动速度控制,值越小速度越大
uchar DisplayMode = 4;  //显示模式选择

/*****************************************************/
//显示内容
uchar code display[][32]={

0x000x000x000x000x000x000x000x000x000x000x000x000x000x000x000x00
0x000x000x000x000x000x000x000x000x000x000x000x000x000x000x000x00

0x000x000x000x000x000x000x000x000x000x000x000x000x000x000x000x00
0x000x000x000x000x000x000x000x000x000x000x000x000x000x000x000x00

/*--  文字:  欢  --*/
/*--  宋体12;  此字体下对应的点阵为:宽x高=16x16   --*/
0x000x800x000x800xFC0x800x040xFC0x050x040x490x080x2A0x400x140x40
0x100x400x280xA00x240xA00x450x100x810x100x020x080x040x040x080x02

/*--  文字:  迎  --*/
/*--  宋体12;  此字体下对应的点阵为:宽x高=16x16   --*/
0x000x000x200x800x130x3C0x120x240x020x240x020x240xF20x240x120x24
0x120x240x120xB40x130x280x120x200x100x200x280x200x470xFE0x000x00

/*--  文字:  验  --*/
/*--  宋体12;  此字体下对应的点阵为:宽x高=16x16   --*/
0x000x200xF80x200x080x500x480x500x480x880x490x040x4A0xFA0x7C0x00
0x040x440x040x240x1D0x240xE40xA80x440x880x040x100x2B0xFE0x100x00

/*--  文字:  收  --*/
/*--  宋体12;  此字体下对应的点阵为:宽x高=16x16   --*/
0x080x400x080x400x480x400x480x800x480xFE0x490x080x4A0x880x480x88
0x480x880x580x500x680x500x480x200x080x500x080x880x090x040x0A0x02

/*--  文字:  潘   -*/
/*--  宋体12;  此字体下对应的点阵为:宽x高=16x16   --*/
0x000x3C0x470xC00x320x480x110x500x8F0xFE0x610x500x220x480x0C0x44
0x170xFE0x240x440xE40x440x270xFC0x240x440x240x440x270xFC0x240x04

/*--  文字:  果   -*/
/*--  宋体12;  此字体下对应的点阵为:宽x高=16x16   --*/
0x000x100x1F0xF80x110x100x110x100x1F0xF00x110x100x110x100x1F0xF0
0x010x040xFF0xFE0x030x800x050x400x090x200x110x1C0x610x080x010x00

/*--  文字:  的  --*/
/*--  宋体12;  此字体下对应的点阵为:宽x高=16x16   --*/
0x100x400x100x400x220x440x7F0x7E0x420x840x430x040x420x040x420x84
0x7E0x640x420x240x420x040x420x040x420x040x7E0x040x420x280x000x10

/*--  文字:  毕  --*/
/*--  宋体12;  此字体下对应的点阵为:宽x高=16x16   --*/
0x200x800x200x880x200xB00x3E0xC00x200x800x200x840x260x840x380x7C
0x210x000x010x000xFF0xFE0x010x000x010x000x010x000x010x000x010x00

/*

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件     267616  2004-03-01 16:59  16x32LED点阵屏74hc154和595\VB\HZK16.dat

     文件      21847  2013-04-28 20:05  16x32LED点阵屏74hc154和595\VB\LED.frm

     文件        150  2013-04-28 20:05  16x32LED点阵屏74hc154和595\VB\LED.frx

     文件         46  2013-04-28 20:04  16x32LED点阵屏74hc154和595\VB\LED.log

     文件        758  2013-04-28 20:05  16x32LED点阵屏74hc154和595\VB\LED.vbp

     文件         52  2013-04-29 11:23  16x32LED点阵屏74hc154和595\VB\LED.vbw

     文件      65536  2011-02-23 17:36  16x32LED点阵屏74hc154和595\VB\LED点阵控制.exe

     文件     103744  2013-03-19 15:06  16x32LED点阵屏74hc154和595\VB\MSCOMM32.OCX

     文件      44846  2013-03-19 18:54  16x32LED点阵屏74hc154和595\VB\MSCOMM32_90465.rar

     文件        188  2011-02-23 17:35  16x32LED点阵屏74hc154和595\VB\MSSCCPRJ.SCC

     文件        132  2013-05-10 10:18  16x32LED点阵屏74hc154和595\仿真\dianzeng.DO

     文件     118308  2013-05-10 10:10  16x32LED点阵屏74hc154和595\仿真\dianzeng.DSN

     文件      19182  2013-05-10 10:18  16x32LED点阵屏74hc154和595\仿真\dianzeng.EDF

     文件      25260  2013-05-10 10:21  16x32LED点阵屏74hc154和595\仿真\dianzeng.LYT

     文件        768  2015-03-12 21:18  16x32LED点阵屏74hc154和595\仿真\dianzeng.PWI

     文件       5032  2013-05-10 10:10  16x32LED点阵屏74hc154和595\仿真\dianzeng.SDF

     文件     118308  2013-05-10 10:05  16x32LED点阵屏74hc154和595\仿真\Last Loaded dianzeng.DBK

     文件      14278  2013-04-28 18:41  16x32LED点阵屏74hc154和595\仿真\代码\32x16\dian.c

     文件      33007  2013-04-28 19:22  16x32LED点阵屏74hc154和595\仿真\代码\32x16\dian.LST

     文件      20823  2013-04-28 19:22  16x32LED点阵屏74hc154和595\仿真\代码\32x16\dian.OBJ

     文件      18031  2013-04-28 19:22  16x32LED点阵屏74hc154和595\仿真\代码\32x16\dianzhen

     文件       8324  2013-04-28 19:22  16x32LED点阵屏74hc154和595\仿真\代码\32x16\dianzhen.hex

     文件         45  2013-04-28 19:22  16x32LED点阵屏74hc154和595\仿真\代码\32x16\dianzhen.lnp

     文件      25322  2013-04-28 19:22  16x32LED点阵屏74hc154和595\仿真\代码\32x16\dianzhen.M51

     文件       1476  2013-04-29 10:30  16x32LED点阵屏74hc154和595\仿真\代码\32x16\dianzhen.Opt

     文件        186  2013-04-29 10:30  16x32LED点阵屏74hc154和595\仿真\代码\32x16\dianzhen.plg

     文件       2205  2013-04-28 18:48  16x32LED点阵屏74hc154和595\仿真\代码\32x16\dianzhen.Uv2

    .......      1470  2013-04-28 20:55  16x32LED点阵屏74hc154和595\仿真\代码\32x16\dianzhen_Opt.Bak

    .......      2206  2013-04-28 17:33  16x32LED点阵屏74hc154和595\仿真\代码\32x16\dianzhen_Uv2.Bak

     文件       6376  2005-03-22 15:22  16x32LED点阵屏74hc154和595\仿真\代码\32x16\STARTUP.A51

............此处省略26个文件信息

评论

共有 条评论

相关资源