-
停车场仿真程序仿真原理:首先有两个定时器自动的随机产生请求入场的卡号和请求出场的卡号,然后剩余的事件都由处理场务事件来处理了。处理场务事件相当于一个车场总指挥。...
停车场仿真程序仿真原理:首先有两个定时器自动的随机产生请求入场的卡号和请求出场的卡号,然后剩余的事件都由处理场务事件来处理了。处理场务事件相当于一个车场总指挥。当他发现有卡号请求入场时他会决定该卡是否符合入场条件,如果不符合,直接丢掉该卡号,准备处理下一个卡号。否则看车库是否已满和车库过道是否空闲,如果车位没有满且过道是空的,则允许该车入场,并在此时将车场的最左面的空车位分给他使用。剩下的事就是让车通过过道和进入车位,并及时关闭车场入口。如果过道是空的而且又没有入场请求,则处理出场请求,首先是将车辆从车位上移到过道上,并向出口行驶,然后在出口出判断卡是否符合出场条件,如果符合则发出抬出场杆命令,允许其出场。否则让该车返回车位。程序运行时会写运行日志,在阅读本文后,相信能理解运行日志的内容-err
- 2022-08-09 16:40:36下载
- 积分:1
-
这程序是实现单片机与PC机的通信程序 可供大家参考或学习!
这程序是实现单片机与PC机的通信程序 可供大家参考或学习!-MCU and PC communication program for reference or study!
- 2022-09-03 23:30:03下载
- 积分:1
-
是一些单片机的串口通信程序,用C语言编写。
是一些单片机的串口通信程序,用C语言编写。-Is the number of single-chip serial communication program, using C language.
- 2022-01-30 22:52:07下载
- 积分:1
-
keilc+ proteus light parallel port design of experiments requirements: master th...
keilc + proteus
并行口设计指示灯实验
要求:掌握80C51单片机输入输出接口使用方法
学会开关量输入输出控制的接口技术及编程方法
实验题目:8个发光二极管D1~D8分别接在单片机P1.0-P1.7端口上,一个开关接在P3.0上。要求输出端口输出 “0”时,发光二极管亮。开关闭合时,开始按P1.0-P1.1-...-P1.7的顺序依次点亮LED,再按 P1.7-P1.6 -...-P1.0的顺序点亮LED,重复循环。开关断开时,立刻停止点亮指示灯。-keilc+ proteus light parallel port design of experiments requirements: master the 80C51 microcontroller input and output interfaces Society of switch to use the amount of input and output control interface technology and programming methods Experimental subjects: eight light-emitting diodes D1 ~ D8, respectively connected to the MCU P1.0-P1 .7 port on a switch connected to the P3.0 on. Requested output port output " 0" , the light-emitting diode light. Is closed, to embark on the P1.0-P1.1-...- P1.7 in the order light LED, and then P1.7-P1.6-...- P1.0 order light LED Repeat cycle. Switch off when the stop light indicator.
- 2022-11-16 18:10:03下载
- 积分:1
-
51 single
51单片机实现电子密码锁 51单片机实现电子密码锁-51 single-chip electronic code lock
- 2022-01-26 08:17:18下载
- 积分:1
-
LPC2368 USBHID例程,加以详细的注释,可以方便有需要的朋友
LPC2368 USBHID例程,加以详细的注释,可以方便有需要的朋友-LPC2368 USBHID routines, to be detailed in the Notes, to facilitate a friend in need
- 2022-02-07 18:38:01下载
- 积分:1
-
多路数据采集系统,
多路数据采集系统, -Multi-channel data acquisition systems, multi-channel data acquisition system,
- 2023-07-05 06:20:03下载
- 积分:1
-
IAR Embedded C source codes for TC6963C based dot matrix LCD interfaced with PIC...
基于PIC16F877单片机的256*64的TC6963C点阵液晶显示屏的IAR Embedded C complier的控制程序。包括多种图形和文字输出。-IAR Embedded C source codes for TC6963C based dot matrix LCD interfaced with PIC16F877 uP. Includes text display and a few graphics as well.
- 2022-04-28 04:04:38下载
- 积分:1
-
ST7920_12864液晶汉字和图片显示
ST7920_12864液晶汉字和图片显示-ST7920_12864 liquid crystal display characters and images
- 2023-02-04 02:15:03下载
- 积分:1
-
LCD12232显示实验源代码,适合51,AVR,ARM单片机使用。
LCD12232显示实验源代码,适合51,AVR,ARM单片机使用。-Experimental LCD12232 show source code, suitable for 51, AVR, ARM Singlechip use.
- 2022-02-27 01:30:33下载
- 积分:1