首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > 点阵各种流动方式

点阵各种流动方式

  • 资源大小:3.55 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: 点阵,单片机,上下左右

资 源 简 介

#include #define uchar unsigned char #define uint unsigned int #define LINE P2//定义行线IO口,即74HC154控制端 #define shudu 12//字移动的速度 sbit DATA=P0^0;//74HC595数据端 sbit CLK=P0^1;//74HC595移位脉冲端 sbit CLKR=P3^7;//74HC595数据锁存端 uchar move;//移动几位变量 uchar line;//行变量 uint word;//字节变量 uchar ji,gai;//字节变量 uchar BUF[4];//4组缓存数组以便左移右移等功能动态更改数据 /************************************************************/ /**********上移上拉左移左拉左覆盖数组************************/ /************************************************************/ uchar   code table[]={ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x10,0x3F,0xF8,0x04,0x1

文 件 列 表

新建文件夹
1.c
VIP VIP
0.180991s