博客
关于我
基于单片机模拟六层电梯控制系统的设计-全套设计资料
阅读量:381 次
发布时间:2019-03-05

本文共 671 字,大约阅读时间需要 2 分钟。

【资源下载】下载地址如下: 点击下载1447

电梯内外按键,按下任一按键,系统将根据当前位置响应用户要求;

可显示电梯当前运行状态,包括楼层数的实时显示、电梯升降状态显示:
电梯无人时,默认停在一楼;

 

sbit F1U=P1^1;sbit F2D=P1^2;sbit F2U=P1^3;sbit F3D=P1^4;sbit F3U=P1^5;sbit F4D=P1^6;sbit F4U=P1^7;sbit F5D=P3^0;sbit F5U=P3^1;sbit F1=P2^0;sbit F2=P2^1;sbit F3=P2^2;sbit F4=P2^3;sbit F5=P2^4;sbit F6=P2^5;sbit ledu=P3^7;sbit ledd=P3^6;sbit ledx=P2^3;sbit a1=P2^4;sbit a2=P2^5;sbit a3=P2^6;sbit a4=P2^7;bit dir=1,stop=0;unsigned char nf=1;unsigned char cf=1;unsigned char df;unsigned char tf;unsigned char flag,count=0,i=0;unsigned int timer1=0,timer2=0;unsigned char call_floor[7]={0,0,0,0,0};unsigned char const sequencea[8]={0x2F,0x6F,0x4F,0xcF,0x8F,0x9F,0x1F,0x3F};

  

 

 

转载地址:http://lziwz.baihongyu.com/

你可能感兴趣的文章
NLP:从头开始的文本矢量化方法
查看>>
NLP:使用 SciKit Learn 的文本矢量化方法
查看>>
NLTK - 停用词下载
查看>>
nmap 使用总结
查看>>
nmap 使用方法详细介绍
查看>>
nmap使用
查看>>
nmap使用实战(附nmap安装包)
查看>>
Nmap哪些想不到的姿势
查看>>
Nmap扫描教程之Nmap基础知识
查看>>
nmap指纹识别要点以及又快又准之方法
查看>>
Nmap渗透测试指南之指纹识别与探测、伺机而动
查看>>
Nmap端口扫描工具Windows安装和命令大全(非常详细)零基础入门到精通,收藏这篇就够了
查看>>
NMAP网络扫描工具的安装与使用
查看>>
NMF(非负矩阵分解)
查看>>
nmon_x86_64_centos7工具如何使用
查看>>
NN&DL4.1 Deep L-layer neural network简介
查看>>
NN&DL4.3 Getting your matrix dimensions right
查看>>
NN&DL4.7 Parameters vs Hyperparameters
查看>>
NN&DL4.8 What does this have to do with the brain?
查看>>
nnU-Net 终极指南
查看>>