• 大小: 56KB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-05-19
  • 语言: C/C++
  • 标签: 单片机  仿真  

资源简介

有详细的仿真电路图与源代码,用51单片机实现。代码是C语言,方便移植!

资源截图

代码片段和文件信息

/*********************************************************************************/
//单片机执行指令的周期有限,比如每列视觉暂留的时间,灯每列都扫描的时候就会造成屏幕闪烁的现象!
//所以单片机扫描列的时间与单片机执行指令周期有关系,所以左行扫描好只能16行或者列扫描只能有16列
//所以要做高度为16,扩展长度就可以实现!----张鹏辉
/*********************************************************************************/
#include  
#include 
#define uchar unsigned char
#define uint  unsigned int
sbit E1=P3^5;
sbit DS=P2^0;
sbit SRCK=P2^1;
sbit RCK=P2^2;
uchar k;  
uchar speed=20;      
uchar code bless[][128]={
      {0x000x000x000x000x000x000x000x000x000x000x000x000x600xF80x0F0x00
      0x600xF80x0F0x100x600x180x0C0x700x600x180x0C0x300x600x180x0C0x30
      0x600x180x0C0x3E0xE00x1F0xFC0x1F0xE00x1F0xFC0x0F0xE00x1F0x040x00
      0x000x800x010x000x000x800x010x000x000x800x010x000x000x800x010x78
      0xF80xFF0xFF0x7F0xF80xFF0xFF0x3F0x000x800x010x180x000x880x010x1C
      0x000x8C0x010x0E0x000x9E0x1F0x000x000x870x7F0x000xC00x830xF10x01
      0xF00x810x810x030xF00x800x010x0F0x200x800x010x0E0x000x800x010x1C
      0x000x800x010x180x000x000x000x080x000x000x000x000x000x000x000x00}

      {0x000x000x000x000x000x000x000x040x000x000x000x030x000x000xC00x00
      0x400x000x3F0x000x800xFF0x070x000x800x100x810x000x400x100x810x03
      0xC00xFF0xFF0x010x800x010x000x000x000x000xE00x000xC00xFF0x3F0x00
      0x400x100x810x000x400x100x800x010x400x000xE00x030xC00xFF0x7F0x00
      0x000x000x400x000x000x000x400x000x000xFF0x4F0x000x000x7F0x4C0x00
      0xC00x010x4C0x000x740x090x440x000x980x590x440x000x880xC00x450x04
      0x800xFF0x440x080x800x3F0x440x380x000x010x040x1E0x000x000xFE0x0F
      0x000x000xFC0x010x000x000x000x000x000x000x000x000x000x000x000x00}

      {0x000x000x000x010x000x800x800x000x000x800xC00x000x000xC00x600x00
      0x000xC60x300x000x000x4C0x180x000x000x400x0E0x000x180x600x070x00
      0xF00xFF0xC10x000x100x200xFE0x000x000x200x600x000x000x230x300x00
      0x800x310x080x000x000x100x400x000x800x010x600x000xF00x010x630x00
      0x300x880x230x000x200x680x230x000x200x1C0x210x000xA00x2F0x210x00
      0x900xED0xFF0x7F0x100xC40xFF0x1F0x100x040x310x000x100x040x310x00
      0x100x840x310x000x780x840x310x000x300x000x310x000x300x000x100x00
      0x200x000x100x000x000x000x100x000x000x000x000x000x000x000x000x00}

      {0x000x000x000x000x000x000x000x000x000x000x010x000x000x800x010x00
      0x000x800x010x000x000xB00x010x000x000x9C0xFC0x030x800x8F0xF80x03
      0x800x890x080x000x000xC40x080x000x000x440x040x000xF80xFF0xFF0x3F
      0xF80x450x040x000x000x460x040x000x000x460x840x000x000x620x860x

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

     文件        768  2010-06-25 10:26  32点阵屏\32.PWI

     文件     138964  2010-06-24 20:27  32点阵屏\Last Loaded 32.DBK

     文件     138867  2010-06-24 21:56  32点阵屏\32.DSN

     文件       4826  2010-06-25 09:35  32点阵屏\32点阵测试\32点阵测试

     文件       6978  2010-06-25 17:14  32点阵屏\32点阵测试\32点阵测试.c

     文件       3895  2010-06-25 09:35  32点阵屏\32点阵测试\32点阵测试.hex

     文件         52  2010-06-25 09:35  32点阵屏\32点阵测试\32点阵测试.lnp

     文件      10796  2010-06-25 09:35  32点阵屏\32点阵测试\32点阵测试.LST

     文件       5532  2010-06-25 09:35  32点阵屏\32点阵测试\32点阵测试.M51

     文件       5076  2010-06-25 09:35  32点阵屏\32点阵测试\32点阵测试.OBJ

     文件       1201  2010-06-25 17:14  32点阵屏\32点阵测试\32点阵测试.Opt

     文件        384  2010-06-25 17:14  32点阵屏\32点阵测试\32点阵测试.plg

     文件       2123  2010-06-24 23:43  32点阵屏\32点阵测试\32点阵测试.Uv2

     文件       1199  2010-06-24 23:43  32点阵屏\32点阵测试\32点阵测试_Opt.Bak

     文件       2119  2010-06-24 15:46  32点阵屏\32点阵测试\32点阵测试_Uv2.Bak

     目录          0  2010-06-27 19:21  32点阵屏\32点阵测试

     目录          0  2010-06-23 18:53  32点阵屏

----------- ---------  ---------- -----  ----

               322780                    17


评论

共有 条评论