博客
关于我
基于单片机模拟六层电梯控制系统的设计-全套设计资料
阅读量:375 次
发布时间: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/

你可能感兴趣的文章
低代码平台快速开发小程序
查看>>
vue学习笔记
查看>>
低代码后续发展路线图
查看>>
MobX 学习 - 04 TodoList 案例
查看>>
MobX 学习 - 06 异步任务、rootStore、数据监测
查看>>
react: antd 中 table 排序问题
查看>>
FPGA学习网站推荐
查看>>
oracle 翻译ip归属地/经纬度/定位;获取ip归属地/经纬度/定位;获取ip gps定位/lng,lat/坐标
查看>>
LeetCode:面试题46. 把数字翻译成字符串(C语言)
查看>>
LeetCode:面试题 10.01. Sorted Merge LCCI合并排序的数组(C语言)
查看>>
LeetCode:100. Same Tree相同的树(C语言)
查看>>
【个人网站搭建】GitHub pages+hexo框架下为next主题添加分类及标签
查看>>
GDB命令—jump/return/call/disassemble
查看>>
java基础--继承
查看>>
java基础--java内部类
查看>>
fastjson 反序列化源码解析
查看>>
按位与、或、非、异或总结
查看>>
TCP心跳检测包
查看>>
01 背包问题
查看>>
JVM - 参数配置影响线程数
查看>>